DVA-C02 Exam Details

  • Exam Code
    :DVA-C02
  • Exam Name
    :AWS Certified Developer - Associate (DVA-C02)
  • Certification
    :Amazon Certifications
  • Vendor
    :Amazon
  • Total Questions
    :574 Q&As
  • Last Updated
    :May 27, 2026

Amazon DVA-C02 Online Questions & Answers

  • Question 471:

    A developer is building a backend system for the long-term storage of information from an inventory management system. The information needs to be stored so that other teams can build tools to report and analyze the data.

    How should the developer implement this solution to achieve the FASTEST running time?

    A. Create an AWS Lambda function that writes to Amazon S3 synchronously Increase the function's concurrency to match the highest expected value of concurrent scans and requests.
    B. Create an AWS Lambda function that writes to Amazon S3 asynchronously Configure a dead-letter queue to collect unsuccessful invocations
    C. Create an AWS Lambda function that writes to Amazon S3 synchronously Set the inventory system to retry failed requests.
    D. Create an AWS Lambda function that writes to an Amazon ElastiCache for Redis cluster asynchronously Configure a dead-letter queue to collect unsuccessful invocations.

  • Question 472:

    An application that runs on AWS Lambda requires access to specific highly confidential objects in an Amazon S3 bucket. In accordance with the principle of least privilege, a company grants access to the S3 bucket by using only temporary credentials.

    How can a developer configure access to the S3 bucket in the MOST secure way?

    A. Hardcode the credentials that are required to access the S3 objects in the application code. Use the credentials to access the required S3 objects.
    B. Create a secret access key and access key ID with permission to access the S3 bucket. Store the key and key ID in AWS Secrets Manager. Configure the application to retrieve the Secrets Manager secret and use the credentials to access the S3 objects.
    C. Create a Lambda function execution role. Attach a policy to the role that grants access to specific objects in the S3 bucket.
    D. Create a secret access key and access key ID with permission to access the S3 bucket. Store the key and key ID as environment variables in Lambda. Use the environment variables to access the required S3 objects.

  • Question 473:

    A developer has designed an application to store incoming data as JSON files in Amazon S3 objects. Custom business logic in an AWS Lambda function then transforms the objects, and the Lambda function loads the data into an Amazon DynamoDB table. Recently, the workload has experienced sudden and significant changes in traffic. The flow of data to the DynamoDB table is becoming throttled.

    The developer needs to implement a solution to eliminate the throttling and load the data into the DynamoDB table more consistently. Which solution will meet these requirements?

    A. Refactor the Lambda function into two functions. Configure one function to transform the data and one function to load the data into the DynamoDB table. Create an Amazon Simple Queue Service (Amazon SQS) queue in between the functions to hold the items as messages and to invoke the second function.
    B. Turn on auto scaling for the DynamoDB table. Use Amazon CloudWatch to monitor the table's read and write capacity metrics and to track consumed capacity.
    C. Create an alias for the Lambda function. Configure provisioned concurrency for the application to use.
    D. Refactor the Lambda function into two functions. Configure one function to store the data in the DynamoDB table. Configure the second function to process the data and update the items after the data is stored in DynamoDB. Create a DynamoDB stream to invoke the second function after the data is stored.

  • Question 474:

    A developer is creating a new REST API by using Amazon API Gateway and AWS Lambda. The development team tests the API and validates responses for the known use cases before deploying the API to the production environment.

    The developer wants to make the REST API available for testing by using API Gateway locally.

    Which AWS Serverless Application Model Command Line Interface (AWS SAM CLI) subcommand will meet these requirements?

    A. Sam local invoke
    B. Sam local generate-event
    C. Sam local start-lambda
    D. Sam local start-api

  • Question 475:

    A developer is deploying an application in the AWS Cloud by using AWS CloudFormation. The application will connect to an existing Amazon RDS database. The hostname of the RDS database is stored in AWS Systems Manager Parameter Store as a plaintext value. The developer needs to incorporate the database hostname into the CloudFormation template to initialize the application when the stack is created.

    How should the developer reference the parameter that contains the database hostname?

    A. Use the ssm dynamic reference.
    B. Use the Ref intrinsic function.
    C. Use the Fn::ImportValue intrinsic function.
    D. Use the ssm-secure dynamic reference.

  • Question 476:

    A developer has written an AWS Lambda function. The function is CPU-bound. The developer wants to ensure that the function returns responses quickly. How can the developer improve the function's performance?

    A. Increase the function's CPU core count.
    B. Increase the function's memory.
    C. Increase the function's reserved concurrency.
    D. Increase the function's timeout.

  • Question 477:

    A developer is working on a serverless application. The application uses Amazon API Gateway, AWS Lambda functions that are written in Python, and Amazon DynamoDB.

    Which combination of steps should the developer take so that the Lambda functions can be debugged in the event of application failures? (Choose two.)

    A. Configure an AWS CloudTrail trail to deliver log files to an Amazon S3 bucket.
    B. Ensure that the Lambda functions write log messages to stdout and stderr.
    C. Enable an AWS CloudTrail trail for the Lambda function.
    D. Ensure that the execution role for the Lambda function has access to write to Amazon CloudWatch Logs.
    E. Use the Amazon CloudWatch metric for Lambda errors to create a CloudWatch alarm.

  • Question 478:

    A developer is using an AWS Lambda function to generate avatars for profile pictures that are uploaded to an Amazon S3 bucket. The Lambda function is automatically invoked for profile pictures that are saved under the /original/ S3 prefix. The developer notices that some pictures cause the Lambda function to time out. The developer wants to implement a fallback mechanism by using another Lambda function that resizes the profile picture.

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

    A. Set the image resize Lambda function as a destination of the avatar generator Lambda function for the events that fail processing.
    B. Create an Amazon Simple Queue Service (Amazon SQS) queue. Set the SQS queue as a destination with an on failure condition for the avatar generator Lambda function. Configure the image resize Lambda function to poll from the SQS queue.
    C. Create an AWS Step Functions state machine that invokes the avatar generator Lambda function and uses the image resize Lambda function as a fallback. Create an Amazon EventBridge rule that matches events from the S3 bucket to invoke the state machine.
    D. Create an Amazon Simple Notification Service (Amazon SNS) topic. Set the SNS topic as a destination with an on failure condition for the avatar generator Lambda function. Subscribe the image resize Lambda function to the SNS topic.

  • Question 479:

    A developer is creating a serverless application that uses an AWS Lambda function The developer will use AWS CloudFormation to deploy the application The application will write logs to Amazon CloudWatch Logs The developer has created a log group in a CloudFormation template for the application to use The developer needs to modify the CloudFormation template to make the name of the log group available to the application at runtime

    Which solution will meet this requirement?

    A. Use the AWS:lnclude transform in CloudFormation to provide the log group's name to the application
    B. Pass the log group's name to the application in the user data section of the CloudFormation template.
    C. Use the CloudFormation template's Mappings section to specify the log group's name for the application.
    D. Pass the log group's Amazon Resource Name (ARN) as an environment variable to the Lambda function

  • Question 480:

    A company has an Amazon S3 bucket containing premier content that it intends to make available to only paid subscribers of its website. The S3 bucket currently has default permissions of all objects being private to prevent inadvertent exposure of the premier content to non-paying website visitors.

    How can the company limit the ability to download a premier content file in the S3 bucket to paid subscribers only?

    A. Apply a bucket policy that allows anonymous users to download the content from the S3 bucket.
    B. Generate a pre-signed object URL for the premier content file when a paid subscriber requests a download.
    C. Add a bucket policy that requires multi-factor authentication for requests to access the S3 bucket objects.
    D. Enable server-side encryption on the S3 bucket for data protection against the non-paying website visitors.

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Amazon exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your DVA-C02 exam preparations and Amazon certification application, do not hesitate to visit our Vcedump.com to find your solutions here.