Free AWS Certified Developer - Associate DVA-C02 Exam Braindumps
AWS Certified Developer - Associate DVA-C02 Questions 186–190 (page: 39)

Updated On: 10-Feb-2026

A developer needs to deploy an application running on AWS Fargate using Amazon ECS. The application has environment variables that must be passed to a container for the application to initialize.
How should the environment variables be passed to the container?

  1. Define an array that includes the environment variables under the environment parameter within the service definition.
  2. Define an array that includes the environment variables under the environment parameter within the task definition.
  3. Define an array that includes the environment variables under the entryPoint parameter within the task definition.
  4. Define an array that includes the environment variables under the entryPoint parameter within the service definition.

Answer(s): B



A development team maintains a web application by using a single AWS RDS, template. The template defines web servers and an Amazon RDS database. The team uses the CloudFormation template to deploy the CloudFormation 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.)

  1. Add a CloudFormation DeletionPolicy attribute with the Retain value to the database resource.
  2. Update the CloudFormation stack policy to prevent updates to the database.
  3. Modify the database to use a Multi-AZ deployment.
  4. Create a CloudFormation stack set for the web application and database deployments.
  5. Add a CloudFormation DeletionPolicy attribute with the Retain value to the stack.

Answer(s): A,B



A developer is storing sensitive data generated by an application in Amazon S3. The developer wants to encrypt the data at rest. A company policy requires an audit trail of when the AWS Key Management Service (AWS KMS) key was used and by whom.
Which encryption option will meet these requirements?

  1. Server-side encryption with Amazon S3 managed keys (SSE-S3)
  2. Server-side encryption with AWS KMS managed keys (SSE-KMS)
  3. Server-side encryption with customer-provided keys (SSE-C)
  4. Server-side encryption with self-managed keys

Answer(s): B



A company has an ecommerce application. To track product reviews, the company’s development team uses an Amazon DynamoDB table.
Every record includes the following:
• A Review ID, a 16-digit universally unique identifier (UUID)
• A Product ID and User ID, 16-digit UUIDs that reference other tables
• A Product Rating on a scale of 1-5
• An optional comment from the user
The table partition key is the Review ID. The most performed query against the table is to find the 10 reviews with the highest rating for a given product.
Which index will provide the FASTEST response for this query?

  1. A global secondary index (GSI) with Product ID as the partition key and Product Rating as the sort key
  2. A global secondary index (GSI) with Product ID as the partition key and Review ID as the sort key
  3. A local secondary index (LSI) with Product ID as the partition key and Product Rating as the sort key
  4. A local secondary index (LSI) with Review ID as the partition key and Product ID as the sort key

Answer(s): A



A company needs to distribute firmware updates to its customers around the world.
Which service will allow easy and secure control of the access to the downloads at the lowest cost?

  1. Use Amazon CloudFront with signed URLs for Amazon S3.
  2. Create a dedicated Amazon CloudFront Distribution for each customer.
  3. Use Amazon CloudFront with AWS Lambda@Edge.
  4. Use Amazon API Gateway and AWS Lambda to control access to an S3 bucket.

Answer(s): A



Viewing page 39 of 113
Viewing questions 191 - 195 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!