Free AWS Certified Developer - Associate DVA-C02 Exam Braindumps
AWS Certified Developer - Associate DVA-C02 Questions 271–275 (page: 56)

Updated On: 10-Feb-2026

A company has an application that is hosted on Amazon EC2 instances. The application stores objects in an Amazon S3 bucket and allows users to download objects from the S3 bucket. A developer turns on S3 Block Public Access for the S3 bucket. After this change, users report errors when they attempt to download objects. The developer needs to implement a solution so that only users who are signed in to the application can access objects in the S3 bucket.
Which combination of steps will meet these requirements in the MOST secure way? (Choose two.)

  1. Create an EC2 instance profile and role with an appropriate policy. Associate the role with the EC2 instances.
  2. Create an IAM user with an appropriate policy. Store the access key ID and secret access key on the EC2 instances.
  3. Modify the application to use the S3 GeneratePresignedUrl API call.
  4. Modify the application to use the S3 GetObject API call and to return the object handle to the user.
  5. Modify the application to delegate requests to the S3 bucket.

Answer(s): A,C



An Amazon Simple Queue Service (Amazon SQS) queue serves as an event source for an AWS Lambda function. In the SQS queue, each item corresponds to a video file that the Lambda function must convert to a smaller resolution. The Lambda function is timing out on longer video files, but the Lambda function's timeout is already configured to its maximum value.
What should a developer do to avoid the timeouts without additional code changes?

  1. Increase the memory configuration of the Lambda function.
  2. Increase the visibility timeout on the SQS queue.
  3. Increase the instance size of the host that runs the Lambda function.
  4. Use multi-threading for the conversion.

Answer(s): A



A company is building an application on AWS. The application's backend includes an Amazon API Gateway REST API. The company's frontend application developers cannot continue work until the backend API is ready for integration. The company needs a solution that will allow the frontend application developers to continue their work.
Which solution will meet these requirements in the MOST operationally efficient way?

  1. Configure mock integrations for API Gateway API methods.
  2. Integrate a Lambda function with API Gateway and return a mocked response.
  3. Add new API endpoints to the API Gateway stage and returns a mocked response.
  4. Configure a proxy resource for API Gateway API methods.

Answer(s): A



A company is preparing to migrate an application to the company's first AWS environment. Before this migration, a developer is creating a proof-of-concept application to validate a model for building and deploying container-based applications on AWS.
Which combination of steps should the developer take to deploy the containerized proof-of-concept application with the LEAST operational effort? (Choose two.)

  1. Package the application into a .zip file by using a command line tool. Upload the package to Amazon S3.
  2. Package the application into a container image by using the Docker CLI. Upload the image to Amazon Elastic Container Registry (Amazon ECR).
  3. Deploy the application to an Amazon EC2 instance by using AWS CodeDeploy.
  4. Deploy the application to Amazon Elastic Kubernetes Service (Amazon EKS) on AWS Fargate.
  5. Deploy the application to Amazon Elastic Container Service (Amazon ECS) on AWS Fargate.

Answer(s): B,E



A developer supports an application that accesses data in an Amazon DynamoDB table. One of the item attributes is expirationDate in the timestamp format. The application uses this attribute to find items, archive them, and remove them from the table based on the timestamp value.
The application will be decommissioned soon, and the developer must find another way to implement this functionality. The developer needs a solution that will require the least amount of code to write.
Which solution will meet these requirements?

  1. Enable TTL on the expirationDate attribute in the table. Create a DynamoDB stream. Create an AWS Lambda function to process the deleted items. Create a DynamoDB trigger for the Lambda function.
  2. Create two AWS Lambda functions: one to delete the items and one to process the items. Create a DynamoDB stream. Use the DeleteItem API operation to delete the items based on the expirationDate attribute. Use the GetRecords API operation to get the items from the DynamoDB stream and process them.
  3. Create two AWS Lambda functions: one to delete the items and one to process the items. Create an Amazon EventBridge scheduled rule to invoke the Lambda functions. Use the DeleteItem API operation to delete the items based on the expirationDate attribute. Use the GetRecords API operation to get the items from the DynamoDB table and process them.
  4. Enable TTL on the expirationDate attribute in the table. Specify an Amazon Simple Queue Service (Amazon SQS) dead-letter queue as the target to delete the items. Create an AWS Lambda function to process the items.

Answer(s): A



Viewing page 56 of 113
Viewing questions 276 - 280 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!