Free AWS Certified Developer - Associate DVA-C02 Exam Braindumps
AWS Certified Developer - Associate DVA-C02 Questions 231–235 (page: 48)

Updated On: 10-Feb-2026

A developer is creating an AWS Lambda function that will connect to an Amazon RDS for MySQL instance. The developer wants to store the database credentials. The database credentials need to be encrypted and the database password needs to be automatically rotated.
Which solution will meet these requirements?

  1. Store the database credentials as environment variables for the Lambda function. Set the environment variables to rotate automatically.
  2. Store the database credentials in AWS Secrets Manager. Set up managed rotation on the database credentials.
  3. Store the database credentials in AWS Systems Manager Parameter Store as secure string parameters. Set up managed rotation on the parameters.
  4. Store the database credentials in the X-Amz-Security-Token parameter. Set up managed rotation on the parameter.

Answer(s): B



A developer wants to reduce risk when deploying a new version of an existing AWS Lambda function. To test the Lambda function, the developer needs to split the traffic between the existing version and the new version of the Lambda function.
Which solution will meet these requirements?

  1. Configure a weighted routing policy in Amazon Route 53. Associate the versions of the Lambda function with the weighted routing policy.
  2. Create a function alias. Configure the alias to split the traffic between the two versions of the Lambda function.
  3. Create an Application Load Balancer (ALB) that uses the Lambda function as a target. Configure the ALB to split the traffic between the two versions of the Lambda function.
  4. Create the new version of the Lambda function as a Lambda layer on the existing version. Configure the function to split the traffic between the two layers.

Answer(s): B



A developer has created a large AWS Lambda function. Deployment of the function is failing because of an InvalidParameterValueException error. The error message indicates that the unzipped size of the function exceeds the maximum supported value.
Which actions can the developer take to resolve this error? (Choose two.)

  1. Submit a quota increase request to AWS Support to increase the function to the required size.
  2. Use a compression algorithm that is more efficient than ZIP.
  3. Break up the function into multiple smaller functions.
  4. Zip the .zip file twice to compress the file more.
  5. Move common libraries, function dependencies, and custom runtimes into Lambda layers.

Answer(s): C,E



A developer is troubleshooting an application in an integration environment. In the application, an Amazon Simple Queue Service (Amazon SQS) queue consumes messages and then an AWS Lambda function processes the messages. The Lambda function transforms the messages and makes an API call to a third-party service.
There has been an increase in application usage. The third-party API frequently returns an HTTP 429 Too Many Requests error message. The error message prevents a significant number of messages from being processed successfully.
How can the developer resolve this issue?

  1. Increase the SQS event source’s batch size setting.
  2. Configure provisioned concurrency for the Lambda function based on the third-party API’s documented rate limits.
  3. Increase the retry attempts and maximum event age in the Lambda function’s asynchronous configuration.
  4. Configure maximum concurrency on the SQS event source based on the third-party service’s documented rate limits.

Answer(s): D



A company has a three-tier application that is deployed in Amazon Elastic Container Service (Amazon ECS). The application is using an Amazon RDS for MySQL DB instance. The application performs more database reads than writes.
During times of peak usage, the application’s performance degrades. When this performance degradation occurs, the DB instance’s ReadLatency metric in Amazon CloudWatch increases suddenly.
How should a developer modify the application to improve performance?

  1. Use Amazon ElastiCache to cache query results.
  2. Scale the ECS cluster to contain more ECS instances.
  3. Add read capacity units (RCUs) to the DB instance.
  4. Modify the ECS task definition to increase the task memory.

Answer(s): A



Viewing page 48 of 113
Viewing questions 236 - 240 out of 610 questions


Post your Comments and Discuss Amazon AWS Certified Developer - Associate DVA-C02 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!