Free AWS Certified Developer Associate Exam Braindumps
AWS Certified Developer - Associate DVA-C02 Questions 191–195 (page: 40)

Updated On: 10-Feb-2026

A developer is testing an application that invokes an AWS Lambda function asynchronously. During the testing phase, the Lambda function fails to process after two retries.
How can the developer troubleshoot the failure?

  1. Configure AWS CloudTrail logging to investigate the invocation failures.
  2. Configure Dead Letter Queues by sending events to Amazon SQS for investigation.
  3. Configure Amazon Simple Workflow Service to process any direct unprocessed events.
  4. Configure AWS Config to process any direct unprocessed events.

Answer(s): B



A company is migrating its PostgreSQL database into the AWS Cloud. The company wants to use a database that will secure and regularly rotate database credentials. The company wants a solution that does not require additional programming overhead.
Which solution will meet these requirements?

  1. Use Amazon Aurora PostgreSQL for the database. Store the database credentials in AWS Systems Manager Parameter Store. Turn on rotation.
  2. Use Amazon Aurora PostgreSQL for the database. Store the database credentials in AWS Secrets Manager. Turn on rotation.
  3. Use Amazon DynamoDB for the database. Store the database credentials in AWS Systems Manager Parameter Store. Turn on rotation.
  4. Use Amazon DynamoDB for the database. Store the database credentials in AWS Secrets Manager. Turn on rotation.

Answer(s): B



A developer is creating a mobile application that will not require users to log in.
What is the MOST efficient method to grant users access to AWS resources?

  1. Use an identity provider to securely authenticate with the application.
  2. Create an AWS Lambda function to create an IAM user when a user accesses the application.
  3. Create credentials using AWS KMS and apply these credentials to users when using the application.
  4. Use Amazon Cognito to associate unauthenticated users with an IAM role that has limited access to resources.

Answer(s): D



A company has developed a new serverless application using AWS Lambda functions that will be deployed using the AWS Serverless Application Model (AWS SAM) CLI.
Which step should the developer complete prior to deploying the application?

  1. Compress the application to a .zip file and upload it into AWS Lambda.
  2. Test the new AWS Lambda function by first tracing it in AWS X-Ray.
  3. Bundle the serverless application using a SAM package.
  4. Create the application environment using the eb create my-env command.

Answer(s): C



A company wants to automate part of its deployment process. A developer needs to automate the process of checking for and deleting unused resources that supported previously deployed stacks but that are no longer used.
The company has a central application that uses the AWS Cloud Development Kit (AWS CDK) to manage all deployment stacks. The stacks are spread out across multiple accounts. The developer’s solution must integrate as seamlessly as possible within the current deployment process.
Which solution will meet these requirements with the LEAST amount of configuration?

  1. In the central AWS CDK application, write a handler function in the code that uses AWS SDK calls to check for and delete unused resources. Create an AWS CloudFormation template from a JSON file. Use the template to attach the function code to an AWS Lambda function and to invoke the Lambda function when the deployment stack runs.
  2. In the central AWS CDK application, write a handler function in the code that uses AWS SDK calls to check for and delete unused resources. Create an AWS CDK custom resource. Use the custom resource to attach the function code to an AWS Lambda function and to invoke the Lambda function when the deployment stack runs.
  3. In the central AWS CDK, write a handler function in the code that uses AWS SDK calls to check for and delete unused resources. Create an API in AWS Amplify. Use the API to attach the function code to an AWS Lambda function and to invoke the Lambda function when the deployment stack runs.
  4. In the AWS Lambda console, write a handler function in the code that uses AWS SDK calls to check for and delete unused resources. Create an AWS CDK custom resource. Use the custom resource to import the Lambda function into the stack and to invoke the Lambda function when the deployment stack runs.

Answer(s): B



Viewing page 40 of 113
Viewing questions 196 - 200 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!