Visit Official SkillCertPro Website :-
For a full set of 1350+ questions. Go to
https://skillcertpro.com/product/aws-certified-developer-associate-practice-exam-questions/
SkillCertPro offers detailed explanations to each question which helps to understand the concepts better.
It is recommended to score above 85% in SkillCertPro exams before attempting a real exam.
SkillCertPro updates exam questions every 2 weeks.
You will get life time access and life time free updates
SkillCertPro assures 100% pass guarantee in first attempt.
Question 1:
You are a developer for a company that has been given the responsibility to debug performance issues for an existing application. The application connects to a MySQL RDS Instance in AWS. There is a suspicion that there are performance issues in the underlying queries. Which of the following can help diagnose these issues?
A. The Cloudtrail logs for the region
B. Get the slow query logs for the RDS service
C. Use the AWS Config service to diagnose the problem areas
D. Use the AWS Inspector service to diagnose the problem areas
Answer: B
Explanation:
The AWS RDS Service contains several logs such as the ones given below
Error log – contains diagnostic messages generated by the database engine, along with startup and shutdown times.
General query log – contains a record of all SQL statements received from clients, and also client connect and disconnect times.
Slow query log – contains a record of SQL statements that took longer to execute than a set amount of time and that examined more than a defined number of rows. Both thresholds are configurable.
Option A is incorrect because this is used to monitor API activity
Option C is incorrect because this is used as a configuration service
Option D is incorrect because this is used to inspect EC2 Instances for vulnerabilities
For more information on monitoring Amazon RDS , please refer to the below URL
Question 2:
Your team has an application deployed using the Elastic Beanstalk service. A Web environment has been configured for the production environment. There is now a requirement to perform a Blue Green deployment for a new version of the application. How can you achieve this?
A. Create a new application and swap the application environments.
B. Create a new application version and upload the new application version
C. Create a new environment in the application with the updated application version and perform a swap
D. Create a new environment in the application and Load the configuration of an existing environment
Answer: C
Explanation:
This is mentioned in the AWS Documentation
Since this is clearly mentioned in the AWS Documentation, all other options are invalid
For more information on Blue Green deployments in Elastic Beanstalk, please refer to the below URL
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.CNAMESwap.html
Question 3:
You are developing an application that consist of the following architecture
· A set of EC2 Instances hosting a web layer
· A database hosting a MySQL instance
You need to add a layer that can be used to ensure that the most frequently accessed data from the database is fetched in a more fast and efficient manner from the database. Which of the following can be used to accomplish this requirement?
A. An SQS queue to store the frequently accessed data
B. An SNS topic to store the frequently accessed data
C. A Cloudfront distribution to store the frequently accessed data
D. A Elasticache instance to store the frequently accessed data
Answer: D
Explanation:
The AWS Documentation mentions the following
Amazon ElastiCache offers fully managed Redis and Memcached. Seamlessly deploy, run, and scale popular open source compatible in-memory data stores. Build data-intensive apps or improve the performance of your existing apps by retrieving data from high throughput and low latency in-memory data stores. Amazon ElastiCache is a popular choice for Gaming, Ad-Tech, Financial Services, Healthcare, and IoT apps.
Option A is incorrect because this is a messaging service
Option B is incorrect because this is a notification service
Option C is incorrect because this is a web distribution service
For more information on Amazon ElastiCache, please refer to the below URL
https://aws.amazon.com/elasticache/
Question 4:
You’ve just started development on an application that will make use of the ElastiCache service. You need to ensure that objects are cached but not kept inadvertently for a long time. Which of the following cache maintenance strategy would you employ for the cache service?
A. TTL
B. Lazy Loading
C. Write Through
D. Read Through
Answer: A
Explanation:
The AWS Documentation mentions the following
Lazy loading allows for stale data but won’t fail with empty nodes. Write through ensures that data is always fresh but may fail with empty nodes and may populate the cache with superfluous data. By adding a time to live (TTL) value to each write, we are able to enjoy the advantages of each strategy and largely avoid cluttering up the cache with superfluous data.
Option B is incorrect because this is a caching strategy that loads data into the cache only when necessary.
Option C is incorrect because this is a caching strategy that adds data or updates data in the cache whenever data is written to the database.
Option D is incorrect because there is no such caching strategy
For more information on Caching strategies, please refer to the below URL
https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Strategies.html
Question 5:
Your team has been tasked with the development of an application. The backend store needs to store data on which ad-hoc queries can run and table joins are required. Which of the following would you use to host the underlying data store?
A. AWS RDS
B. AWS DynamoDB
C. AWS S3
D. AWS Athena
Answer: A
Explanation:
The AWS Documentation gives an example comparison of when to use AWS RDS for SQL data and DynamoDB for NoSQL data
Option B is incorrect because this should not be used when you have table joins to be carried out.
Option C is incorrect because this is used for object level storage
Option D is incorrect because this is used for querying data in S3
For more information on when to use SQL over NoSQL, please refer to the below URL
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/SQLtoNoSQL.html
For a full set of 1350+ questions. Go to
https://skillcertpro.com/product/aws-certified-developer-associate-practice-exam-questions/
SkillCertPro offers detailed explanations to each question which helps to understand the concepts better.
It is recommended to score above 85% in SkillCertPro exams before attempting a real exam.
SkillCertPro updates exam questions every 2 weeks.
You will get life time access and life time free updates
SkillCertPro assures 100% pass guarantee in first attempt.
Question 6:
Your team has an application being served out of AWS S3. There is a surge of increased number of GET requests. After monitoring using Cloudwatch metrics you can see the rate of GET requests going close to 5000 requests per second. Which of the following can be used to ensure better performance?
A. Add an Elasticache in front of the S3 bucket
B. Use DynamoDB instead of using S3
C. Place a Cloudfront distribution in front of the S3 bucket
D. Place an Elastic Load balancer in front of the S3 bucket
Answer: C
Explanation:
The AWS Documentation mentions the following
If your workload is mainly sending GET requests, in addition to the preceding guidelines, you should consider using Amazon CloudFront for performance optimization. By integrating CloudFront with Amazon S3, you can distribute content to your users with low latency and a high data transfer rate. You also send fewer direct requests to Amazon S3, which reduces your costs.
Since the documentation clearly mentions this, all other options are invalid
For more information, please check the below link. https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-dg.pdf (page 523)
Question 7:
Your team is planning on creating a Lambda function which will interact with a DynamoDB stream. Which of the following would need to be in place to ensure the Lambda function can interact with the DynamoDB table.
A. Access Keys for an IAM user embedded in the function
B. IAM Role with required permissions to access DynamoDB
C. The password for an IAM user in the environment variable for the Lambda function
D. A Security group rule to allow egress traffic into DynamoDB
Answer: B
Explanation:
The AWS Documentation mentions the following
Regardless of what invokes a Lambda function, AWS Lambda always executes a Lambda function on your behalf. If your Lambda function needs to access any AWS resources, you need to grant the relevant permissions to access those resources. You also need to grant AWS Lambda permissions to poll your DynamoDB stream. You grant all of these permissions to an IAM role (execution role) that AWS Lambda can assume to poll the stream and execute the Lambda function on your behalf. You create this role first and then enable it at the time you create the Lambda function
For more information on using Lambda with DynamoDB, please refer to the below URL
https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html
Question 8:
You have created a Lambda State Function which is generating error “ServiceException”, Which of the following is a best practice to handle this exception with a Lambda State Function?
A. Use Lambda Catch code with only “ErrorEquals” string.
B. Use Lambda Retry code with only “BackoffRate” string
C. Use Lambda Retry code with only “ErrorEquals” string.
D. Use Lambda Catch code with only “ResultPath” string.
Answer: C
Explanation:
For errors such as “ServiceException”, best practice is to Retry invoking Lambda function. Within a Retry Code “ErrorEquals” field is required string which matches error names & all other fields are optional.
Option A is incorrect as Lambda Catch code is only used after a number of retries are performed by State function.
Option B is incorrect as BackoffRate field is optional in Lambda Retry code & if not specified Default value of 2.0 is considered.
Option D is incorrect as Lambda Catch code is only used after a number of retries are performed by State function. ResultPath is an optional field in a Catch Code, ErrorEquals & Next are required strings.
For more information on troubleshooting Lambda State Function errors, refer to the following URL,
Question 9:
Your team is using the AWS CodeBuild service for an application build. As part of Integration testing during the build phase, the application needs to access an RDS instance in a private subnet. How can you ensure this is possible?
A. Create a VPC Endpoint and ensure the codebuild project configuration is modified with the endpoint information
B. Provide additional VPC-specific configuration information as part of your AWS CodeBuild project
C. Mark the subnet as a public subnet during the time of the Integration tests
D. Use a NAT gateway to relay the requests from AWS CodeBuild to the RDS Instance
Answer: B
Explanation:
This is given in the AWS Documentation
Typically, resources in an VPC are not accessible by AWS CodeBuild. To enable access, you must provide additional VPC-specific configuration information as part of your AWS CodeBuild project configuration. This includes the VPC ID, the VPC subnet IDs, and the VPC security group IDs. VPC-enabled builds are then able to access resources inside your VPC.
VPC connectivity from AWS CodeBuild builds makes it possible to:
Run integration tests from your build against data in an Amazon RDS database that’s isolated on a private subnet.
Query data in an Amazon ElastiCache cluster directly from tests.
Interact with internal web services hosted on Amazon EC2, Amazon ECS, or services that use internal Elastic Load Balancing.
Since the requirements are clearly mentioned in the documentation, all other options are incorrect
For more information on VPC support for AWS CodeBuild, please refer to the below URL
https://docs.aws.amazon.com/codebuild/latest/userguide/vpc-support.html
Question 10:
You have created a web-application which saves all data in Amazon S3 buckets. If you have created 3 prefixes in a S3 bucket, what will be PUT & GET read performance you will get per second?
A. 3,500 PUT and 5,500 GET requests per second.
B. 7,000 PUT and 11,000 GET requests per second.
C. 10,500 GET and 16,500 PUT requests per second.
D. 10,500 PUT and 16,500 GET requests per second.
Answer: D
Explanation:
Amazon S3 provides 3,500 PUT requests per second per prefix in a bucket & 5,500 GET request per second per prefix in a bucket. So, for 3 prefixes, S3 bucket will support 10,500 PUT and 16,500 GET requests per second.
Option A is incorrect as 3,500 PUT and 5,500 GET requests per second are provided for each prefix.
Option B is incorrect as 7,000 PUT and 11,000 GET requests per second will be provided for 2 prefixes & not for 3 prefixes.
Option C is incorrect as for 3 prefixes, performance which you will get is 10,500 PUT and 16,500 GET requests per second & not 10,500 GET and 16,500 PUT requests per second
For more information on PUT & GET performance with Amazon S3 bucket, refer to the following URL,
https://docs.aws.amazon.com/AmazonS3/latest/dev/PerformanceOptimization.html
For a full set of 1350+ questions. Go to
https://skillcertpro.com/product/aws-certified-developer-associate-practice-exam-questions/
SkillCertPro offers detailed explanations to each question which helps to understand the concepts better.
It is recommended to score above 85% in SkillCertPro exams before attempting a real exam.
SkillCertPro updates exam questions every 2 weeks.
You will get life time access and life time free updates
SkillCertPro assures 100% pass guarantee in first attempt.