Lead4Pass DVA-C02 dumps: AWS Certified Developer – Associate Best Material

Lead4Pass DVA-C02 dumps: AWS Certified Developer - Associate Best Material

Lead4Pass DVA-C02 dumps are based on knowledge and understanding of core AWS services, usage and basic AWS architecture best practices, and best practice exam preparation materials for developing, deploying, and debugging cloud-based using AWS.

DVA-C02 exam “AWS Certified Developer – Associate” is a good starting point to start the road to AWS certification, which is suitable for experienced professionals who are proficient in at least one high-level programming language and understand local-to-cloud mapping.

Lead4Pass DVA-C02 dumps Based on the requirements of AWS Certified Developer – Associate certification, 131 latest exam questions, and answers were compiled by a senior team with multiple Amazon certification certificates! You can choose PDF or VCE to help you practice before the exam,
Download AWS Certified Developer – Associate Best Material: https://www.leads4pass.com/dva-c02.html (DVA-C02 dumps), and you are guaranteed 100% success in passing the exam.

Experience some of the latest AWS Certified Developer – Associate exam questions online from Lead4Pass DVA-C02 dumps:

FromNumber of exam questionsAssociated certificationArrange exam
Lead4Pass15AWS Certified AssociateDVA-C02
Question 1:

A company\’s new mobile app uses Amazon API Gateway. As the development team completes a new release of its APIs, a developer must safely and transparently roll out the API change. What is the SIMPLEST solution for the developer to use for rolling out the new API version to a limited number of users through API Gateway?

A. Create a new API in API Gateway. Direct a portion of the traffic to the new API using an Amazon Route 53 weighted routing policy.

B. Validate the new API version and promote it to production during the window of lowest expected utilization.

C. Implement an Amazon CloudWatch alarm to trigger a rollback if the observed HTTP 500 status code rate exceeds a predetermined threshold.

D. Use the canary release deployment option in API Gateway. Direct a percentage of the API traffic using the canarySettings setting.

Correct Answer: D

Question 2:

A developer is migrating some features from a legacy monolithic application to use AWS Lambda functions instead. The application currently stores data in an Amazon Aurora DB cluster that runs in private subnets in a VPC. The AWS account has one VPC deployed. The Lambda functions and the DB cluster are deployed in the same AWS Region in the same AWS account.

The developer needs to ensure that the Lambda functions can securely access the DB cluster without crossing the public internet.

Which solution will meet these requirements?

A. Configure the DB cluster\’s public access setting to Yes.

B. Configure an Amazon RDS database proxy for the Lambda functions.

C. Configure a NAT gateway and a security group for the Lambda functions.

D. Configure the VPC, subnets, and a security group for the Lambda functions.

Correct Answer: D

Question 3:

A developer is implementing an AWS Cloud Development Kit (AWS CDK) serverless application. The developer will provision several AWS Lambda functions and Amazon API Gateway APIs during AWS CloudFormation stack creation. The developer\’s workstation has the AWS Serverless Application Model (AWS SAM) and the AWS CDK installed locally.

How can the developer test a specific Lambda function locally?

A. Run the sam package and sam deploy commands. Create a Lambda test event from the AWS Management Console. Test the Lambda function.

B. Run the CDK synth and CDK deploy commands. Create a Lambda test event from the AWS Management Console. Test the Lambda function.

C. Run the CDK synth and sam local invoke commands with the function construct identifier and the path to the synthesized CloudFormation template.

D. Run the CDK synth and sam local start-lambda commands with the function construct identifier and the path to the synthesized CloudFormation template.

Correct Answer: D

Question 4:

A company is building a serverless application that uses AWS Lambda functions. The company needs to create a set of test events to test Lambda functions in a development environment. The test events will be created once and then will be used by all the developers in an IAM developer group. The test events must be editable by any of the IAM users in the IAM developer group.

Which solution will meet these requirements?

A. Create and store the test events in Amazon S3 as JSON objects. Allow S3 bucket access to all IAM users.

B. Create the test events. Configure the event-sharing settings to make the test events shareable.

C. Create and store the test events in Amazon DynamoDB. Allow access to DynamoDB by using IAM roles.

D. Create the test events. Configure the event-sharing settings to make the test events private.

Correct Answer: B

Question 5:

A developer is using AWS Amplify Hosting to build and deploy an application. The developer is receiving an increased number of bug reports from users. The developer wants to add end-to-end testing to the application to eliminate as many bugs as possible before the bugs reach production.

Which solution should the developer implement to meet these requirements?

A. Run the amplify add test command in the Amplify CLI.

B. Create unit tests in the application. Deploy the unit tests by using the amplify push command in the Amplify CLI.

C. Add a test phase to the amplify.yml build settings for the application.

D. Add a test phase to the aws-exports.js file for the application.

Correct Answer: C

Question 6:

A developer has written an application that runs on Amazon EC2 instances. The developer is adding functionality for the application to write objects to an Amazon S3 bucket. Which policy must the developer modify to allow the instances to write these objects?

A. The IAM policy that is attached to the EC2 instance profile role

B. The session policy that is applied to the EC2 instance role session

C. The AWS Key Management Service (AWS KMS) key policy that is attached to the EC2 instance profile role

D. The Amazon VPC endpoint policy

Correct Answer: A

Question 7:

A developer has a legacy application that is hosted on-premises. Other applications hosted on AWS depend on the on-premises application for proper functioning. In case of any application errors, the developer wants to be able to use Amazon CloudWatch to monitor and troubleshoot all applications from one place.

How can the developer accomplish this?

A. Install an AWS SDK on the on-premises server to automatically send logs to CloudWatch.

B. Download the CloudWatch agent to the on-premises server. Configure the agent to use IAM user credentials with permissions for CloudWatch.

C. Upload log files from the on-premises server to Amazon S3 and have CloudWatch read the files.

D. Upload log files from the on-premises server to an Amazon EC2 instance and have the instance forward the logs to CloudWatch.

Correct Answer: B

Question 8:

A company is planning to deploy an application on AWS behind an Elastic Load Balancer. The application uses an HTTP/HTTPS listener and must access the client’s IP addresses.

Which load-balancing solution meets these requirements?

A. Use an Application Load Balancer and the X-Forwarded-For headers.

B. Use a Network Load Balancer (NLB). Enable proxy protocol support on the NLB and the target application.

C. Use an Application Load Balancer. Register the targets by the instance ID.

D. Use a Network Load Balancer and the X-Forwarded-For headers.

Correct Answer: A

Question 9:

A company has installed smart meters in all its customer locations. The smart meters measure power usage at 1-minute intervals and send the usage readings to a remote endpoint for collection. The company needs to create an endpoint that will receive the smart meter readings and store the readings in a database. The company wants to store the location ID and timestamp information.

The company wants to give its customers low-latency access to their current usage and historical usage on demand. The company expects demand to increase significantly. The solution must not impact performance or include downtime while scaling.

Which solution will meet these requirements MOST cost-effectively?

A. Store the smart meter readings in an Amazon RDS database. Create an index on the location ID and timestamp columns. Use the columns to filter on the customers\’ data.

B. Store the smart meter readings in an Amazon DynamoDB table. Create a composite key by using the location ID and timestamp columns. Use the columns to filter on the customers\’ data.

C. Store the smart meter readings in Amazon ElastiCache for Redis. Create a SortedSet key by using the location ID and timestamp columns. Use the columns to filter on the customers\’ data.

D. Store the smart meter readings in Amazon S3. Partition the data by using the location ID and timestamp columns. Use Amazon Athena to filter the customers\’ data.

Correct Answer: B

Question 10:

A developer is updating several AWS Lambda functions and notices that all the Lambda functions share the same custom libraries. The developer wants to centralize all the libraries, update the libraries in a convenient way, and keep the libraries versioned.

Which solution will meet these requirements with the LEAST development effort?

A. Create an AWS CodeArtifact repository that contains all the custom libraries.

B. Create a custom container image for the Lambda functions to save all the custom libraries.

C. Create a Lambda layer that contains all the custom libraries.

D. Create an Amazon Elastic File System (Amazon EFS) file system to store all the custom libraries.

Correct Answer: D

Question 11:

A developer needs to migrate an online retail application to AWS to handle an anticipated increase in traffic. The application currently runs on two servers: one server for the web application and another server for the database. The web server renders webpages and manages the session state in memory. The database server hosts a MySQL database that contains order details. When traffic to the application is heavy, the memory usage for the web server approaches 100% and the application slows down considerably.

The developer has found that most of the memory increases and performance decreases are related to the load of managing additional user sessions. For the web server migration, the developer will use Amazon EC2 instances with an Auto Scaling group behind an Application Load Balancer.

Which additional set of changes should the developer make to the application to improve the application\’s performance?

A. Use an EC2 instance to host the MySQL database. Store the session data and the application data in the MySQL database.

B. Use Amazon ElastiCache for Memcached to store and manage the session data. Use an Amazon RDS for MySQL DB instance to store the application data.

C. Use Amazon ElastiCache for Memcached to store and manage the session data and the application data.

D. Use the EC2 instance store to manage the session data. Use an Amazon RDS for MySQL DB instance to store the application data.

Correct Answer: A

Question 12:

A developer is creating an application. New users of the application must be able to create an account and register by using their own social media accounts. Which AWS service or resource should the developer use to meet these requirements?

A. IAM role

B. Amazon Cognito identity pools

C. Amazon Cognito user pools

D. AWS Directory Service

Correct Answer: C

Question 13:

A developer is building a web application that uses Amazon API Gateway to expose an AWS Lambda function to process requests from clients. During testing, the developer notices that the API Gateway times out even though the Lambda function finishes under the set time limit.

Which of the following API Gateway metrics in Amazon CloudWatch can help the developer troubleshoot the issue? (Choose two.)

A. CacheHitCount

B. IntegrationLatency

C. CacheMissCount

D. Latency

E. Count

Correct Answer: BD

Question 14:

An application uses an Amazon EC2 Auto Scaling group. A developer notices that EC2 instances are taking a long time to become available during scale-out events. The UserData script is taking a long time to run.

The developer must implement a solution to decrease the time that elapses before an EC2 instance becomes available. The solution must make the most recent version of the application available at all times and must apply all available security updates. The solution also must minimize the number of images that are created. The images must be validated. Which combination of steps should the developer take to meet these requirements? (Choose two.)

A. Use EC2 Image Builder to create an Amazon Machine Image (AMI). Install all the patches and agents that are needed to manage and run the application. Update the Auto Scaling group launch configuration to use the AMI.

B. Use EC2 Image Builder to create an Amazon Machine Image (AMI). Install the latest version of the application and all the patches and agents that are needed to manage and run the application. Update the Auto Scaling group launch configuration to use the AMI.

C. Set up AWS CodeDeploy to deploy the most recent version of the application at runtime.

D. Set up AWS CodePipeline to deploy the most recent version of the application at runtime.

E. Remove any commands that perform operating system patching from the UserData script.

Correct Answer: AB

Question 15:

A developer has written code for an application and wants to share it with other developers on the team to receive feedback. The shared application code needs to be stored long-term with multiple versions and batch change tracking. Which AWS service should the developer use?

A. AWS CodeBuild

B. Amazon S3

C. AWS CodeCommit

D. AWS Cloud9

Correct Answer: C


This exercise helps you really understand the DVA-C02 exam “AWS Certified Developer – Associate”!

DVA-C02 exam includes two types of questions: single-choice questions and multiple-choice questions. The exam questions are rich in content, but it will be easier for experienced candidates to learn!
Download the Lead4Pass DVA-C02 dumps: https://www.leads4pass.com/dva-c02.html to help candidates of any level study easily and pass the exam successfully!

AwsExamDumps is the largest community of Amazon free dumps, and it has the latest and most complete Amazon (AWS Certified Associate, AWS Certified Foundational, AWS Certified Professional, AWS Certified Specialty) dump community. You can take online practice tests, and the latest version of the exam dump is recommended. Helping you pass the exam with ease.
Back To Top