AWS-Certified-Developer-Associate-DVA-C01 AWS Certified Developer Associate (DVA-C01)

Loading demo links...

Showing 1–3 of 20 questions

Question 1

A developer at a company writes an AWS CloudFormation template. The template refers to subnets that were created by a separate AWS CloudFormation template that the company’s network team wrote. When the developer attempts to launch the stack for the first time, the launch fails.

Which template coding mistakes could have caused this failure? (Choose two.)

Select all that apply, then click Submit answer.

  • The developer’s template does not use the Ref intrinsic function to refer to the subnets.

  • The developer’s template does not use the ImportValue intrinsic function to refer to the subnets.

  • The Mappings section of the developer’s template does not refer to the subnets.

  • The network team’s template does not export the subnets in the Outputs section.

  • The network team’s template does not export the subnets in the Mappings section.

Question 2

A company has a two-tier application running on an Amazon EC2 server that handles all of its AWS based e-commerce activity During peak times, the backend servers that process orders are overloaded with requests. This results in some orders failing to process. A developer needs to create a solution that will re-factor the application.

Which steps will allow for more flexibility during peak times, while still remaining cost-effective? (Select TWO.)

Select all that apply, then click Submit answer.

  • Increase the backend T2 EC2 instance sees to xl to handle the largest possible load throughout the year

  • implement an Amazon SQS queue to decouple the front-end and backend servers

  • Use an Amazon SNS queue to decouple the front-end and backend servers.

  • Migrate the backend servers to on-premises and pull from an Amazon SNS queue

  • Modify the backend servers to pull from an Amazon SQS queue.

Question 3

The Lambda function below is being called through an API using Amazon API Gateway. The average execution time for the Lambda function is about 1 second. The pseudocode for the Lambda function is as shown in the exhibit.

What two actions can be taken to improve the performance of this Lambda function without increasing the cost of the solution? (Choose two.)

Select all that apply, then click Submit answer.

  • Package only the modules the Lambda function requires

  • Use Amazon DynamoDB instead of Amazon RDS

  • Move the initialization of the variable Amazon RDS connection outside of the handler function

  • Implement custom database connection pooling with the Lambda function

  • Implement local caching of Amazon RDS data so Lambda can re-use the cache