Free AWS Certified Developer Associate Exam Braindumps
AWS Certified Developer - Associate DVA-C02 Questions 181–185 (page: 38)

Updated On: 10-Feb-2026

A developer is troubleshooting an Amazon API Gateway API. Clients are receiving HTTP 400 response errors when the clients try to access an endpoint of the API.
How can the developer determine the cause of these errors?

  1. Create an Amazon Kinesis Data Firehose delivery stream to receive API call logs from API Gateway. Configure Amazon CloudWatch Logs as the delivery stream’s destination.
  2. Turn on AWS CloudTrail Insights and create a trail. Specify the Amazon Resource Name (ARN) of the trail for the stage of the API.
  3. Turn on AWS X-Ray for the API stage. Create an Amazon CloudWatch Logs log group. Specify the Amazon Resource Name (ARN) of the log group for the API stage.
  4. Turn on execution logging and access logging in Amazon CloudWatch Logs for the API stage. Create a CloudWatch Logs log group. Specify the Amazon Resource Name (ARN) of the log group for the API stage.

Answer(s): D



A company developed an API application on AWS by using Amazon CloudFront, Amazon API Gateway, and AWS Lambda. The API has a minimum of four requests every second. A developer notices that many API users run the same query by using the POST method. The developer wants to cache the POST request to optimize the API resources.
Which solution will meet these requirements?

  1. Configure the CloudFront cache. Update the application to return cached content based upon the default request headers.
  2. Override the cache method in the selected stage of API Gateway. Select the POST method.
  3. Save the latest request response in Lambda /tmp directory. Update the Lambda function to check the /tmp directory.
  4. Save the latest request in AWS Systems Manager Parameter Store. Modify the Lambda function to take the latest request response from Parameter Store.

Answer(s): B



A company is building a microservices application that consists of many AWS Lambda functions. The development team wants to use AWS Serverless Application Model (AWS SAM) templates to automatically test the Lambda functions. The development team plans to test a small percentage of traffic that is directed to new updates before the team commits to a full deployment of the application.
Which combination of steps will meet these requirements in the MOST operationally efficient way? (Choose two.)

  1. Use AWS SAM CLI commands in AWS CodeDeploy to invoke the Lambda functions to test the deployment.
  2. Declare the EventInvokeConfig on the Lambda functions in the AWS SAM templates with OnSuccess and OnFailure configurations.
  3. Enable gradual deployments through AWS SAM templates.
  4. Set the deployment preference type to Canary10Percent30Minutes. Use hooks to test the deployment.
  5. Set the deployment preference type to Linear10PercentEvery10Minutes. Use hooks to test the deployment.

Answer(s): C,D



A company is using AWS CloudFormation to deploy a two-tier application. The application will use Amazon RDS as its backend database. The company wants a solution that will randomly generate the database password during deployment. The solution also must automatically rotate the database password without requiring changes to the application.
What is the MOST operationally efficient solution that meets these requirements?

  1. Use an AWS Lambda function as a CloudFormation custom resource to generate and rotate the password.
  2. Use an AWS Systems Manager Parameter Store resource with the SecureString data type to generate and rotate the password.
  3. Use a cron daemon on the application’s host to generate and rotate the password.
  4. Use an AWS Secrets Manager resource to generate and rotate the password.

Answer(s): D



A developer has been asked to create an AWS Lambda function that is invoked any time updates are made to items in an Amazon DynamoDB table. The function has been created, and appropriate permissions have been added to the Lambda execution role. Amazon DynamoDB streams have been enabled for the table, but the function is still not being invoked.
Which option would enable DynamoDB table updates to invoke the Lambda function?

  1. Change the StreamViewType parameter value to NEW_AND_OLD_IMAGES for the DynamoDB table.
  2. Configure event source mapping for the Lambda function.
  3. Map an Amazon Simple Notification Service (Amazon SNS) topic to the DynamoDB streams.
  4. Increase the maximum runtime (timeout) setting of the Lambda function.

Answer(s): B



Viewing page 38 of 113
Viewing questions 186 - 190 out of 610 questions


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

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