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 481:

    A company has deployed an application on AWS Elastic Beanstalk. The company has configured the Auto Scaling group that is associated with the Elastic Beanstalk environment to have five Amazon EC2 instances. If the capacity is fewer than four EC2 instances during the deployment, application performance degrades. The company is using the all-at-once deployment policy.

    What is the MOST cost-effective way to solve the deployment issue?

    A. Change the Auto Scaling group to six desired instances.
    B. Change the deployment policy to traffic splitting. Specify an evaluation time of 1 hour.
    C. Change the deployment policy to rolling with additional batch. Specify a batch size of 1.
    D. Change the deployment policy to rolling. Specify a batch size of 2.

  • Question 482:

    A developer is creating a Ruby application and needs to automate the deployment, scaling, and management of an environment without requiring knowledge of the underlying infrastructure. Which service would best accomplish this task?

    A. AWS CodeDeploy
    B. AWS CloudFormation
    C. AWS OpsWorks
    D. AWS Elastic Beanstalk

  • Question 483:

    A gaming website gives users the ability to trade game items with each other on the platform. The platform requires both users' records to be updated and persisted in one transaction. If any update fails, the transaction must roll back. Which AWS solutions can provide the transactional capability that is required for this feature? (Choose two.)

    A. Amazon DynamoDB with operations made with the ConsistentRead parameter set to true
    B. Amazon ElastiCache for Memcached with operations made within a transaction block
    C. Amazon DynamoDB with reads and writes made by using Transact* operations
    D. Amazon Aurora MySQL with operations made within a transaction block
    E. Amazon Athena with operations made within a transaction block

  • Question 484:

    A developer is creating a microservices application that runs across multiple compute environments. The application must securely access secrets that are stored in AWS Secrets Manager with minimal network latency. The developer wants a solution that reduces the number of direct calls to Secrets Manager and simplifies secrets management across environments.

    Which solution will meet these requirements with the LEAST operational overhead?

    A. Create a custom script that retrieves secrets directly from Secrets Manager and caches the secrets in a local database for each compute environment.
    B. Install the Secrets Manager Agent in each compute environment. Configure the agent to cache secrets locally. Securely retrieve the secrets from Secrets Manager as needed.
    C. Implement lazy loading logic in the application to fetch secrets directly from Secrets Manager and to cache the secrets in Redis.
    D. Store the secrets in an Amazon S3 bucket. Retrieve and load the secrets as environment variables during application startup for each compute environment.

  • Question 485:

    A developer is leveraging a Border Gateway Protocol (BGP)-based AWS VPN connection to connect from on-premises to Amazon EC2 instances in the developer's account. The developer is able to access an EC2 instance in subnet A, but is unable to access an EC2 instance in subnet B in the same VPC.

    Which logs can the developer use to verify whether the traffic is reaching subnet B?

    A. VPN logs
    B. BGP logs
    C. VPC Flow Logs
    D. AWS CloudTrail logs

  • Question 486:

    A development team maintains a web application by using a single AWS CloudFormation template. The template defines web servers and an Amazon RDS database. The team uses the Cloud Formation template to deploy the Cloud

    Formation stack to different environments.

    During a recent application deployment, a developer caused the primary development database to be dropped and recreated. The result of this incident was a loss of data. The team needs to avoid accidental database deletion in the future.

    Which solutions will meet these requirements? (Choose two.)

    A. Add a CloudFormation Deletion Policy attribute with the Retain value to the database resource.
    B. Update the CloudFormation stack policy to prevent updates to the database.
    C. Modify the database to use a Multi-AZ deployment.
    D. Create a CloudFormation stack set for the web application and database deployments.
    E. Add a Cloud Formation DeletionPolicy attribute with the Retain value to the stack.

  • Question 487:

    An ecommerce website uses an AWS Lambda function and an Amazon RDS for MySQL database for an order fulfillment service. The service needs to return order confirmation immediately.

    During a marketing campaign that caused an increase in the number of orders, the website's operations team noticed errors for "too many connections" from Amazon RDS. However, the RDS DB cluster metrics are healthy. CPU and memory

    capacity are still available.

    What should a developer do to resolve the errors?

    A. Initialize the database connection outside the handler function. Increase the max_user_connections value on the parameter group of the DB cluster. Restart the DB cluster.
    B. Initialize the database connection outside the handler function. Use RDS Proxy instead of connecting directly to the DB cluster.
    C. Use Amazon Simple Queue Service (Amazon SQS) FIFO queues to queue the orders. Ingest the orders into the database. Set the Lambda function's concurrency to a value that equals the number of available database connections.
    D. Use Amazon Simple Queue Service (Amazon SQS) FIFO queues to queue the orders. Ingest the orders into the database. Set the Lambda function's concurrency to a value that is less than the number of available database connections.

  • Question 488:

    A web application is using Amazon Kinesis Data Streams for clickstream data that may not be consumed for up to 12 hours. How can the developer implement encryption at rest for data within the Kinesis Data Streams?

    A. Enable SSL connections to Kinesis.
    B. Use Amazon Kinesis Consumer Library.
    C. Encrypt the data once it is at rest with a Lambda function.
    D. Enable server-side encryption in Kinesis Data Streams.

  • Question 489:

    A developer at a company recently created a serverless application to process and show data from business reports. The application's user interface (UI) allows users to select and start processing the files. The UI displays a message when the result is available to view. The application uses AWS Step Functions with AWS Lambda functions to process the files. The developer used Amazon API Gateway and Lambda functions to create an API to support the UI.

    The company's UI team reports that the request to process a file is often returning timeout errors because of the size or complexity of the files. The UI team wants the API to provide an immediate response so that the UI can display a message while the files are being processed. The backend process that is invoked by the API needs to send an email message when the report processing is complete.

    What should the developer do to configure the API to meet these requirements?

    A. Change the API Gateway route to add an X-Amz-Invocation-Type header with a static value of `Event' in the integration request. Deploy the API Gateway stage to apply the changes.
    B. Change the configuration of the Lambda function that implements the request to process a file. Configure the maximum age of the event so that the Lambda function will run asynchronously.
    C. Change the API Gateway timeout value to match the Lambda function timeout value. Deploy the API Gateway stage to apply the changes.
    D. Change the API Gateway route to add an X-Amz-Target header with a static value of `Async' in the integration request. Deploy the API Gateway stage to apply the changes.

  • Question 490:

    A developer is creating an ecommerce workflow in an AWS Step Functions state machine that includes an HTTP Task state. The task sends shipping information and order details to an external endpoint.

    The developer needs to test the workflow to verify that the HTTP headers and body are correct and that the responses meet expectations.

    Which solution should the developer use?

    A. Use the TestState API to invoke only the HTTP Task. Set the inspection level to TRACE.
    B. Use the TestState API to invoke the state machine. Set the inspection level to DEBUG.
    C. Use the data flow simulator to invoke only the HTTP Task. View the request and response data.
    D. Change the log level of the state machine to ALL. Run the state machine.

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.