DVA-C02 exam dumps

DVA-C02 practice question 1 of 399

AWS Certified Developer - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

DVA-C02 Question 1

Select 3

You are developing a serverless web application on AWS that allows users to upload images. The application requires the following:

  1. The uploaded images should be stored securely.
  2. The application should trigger image processing as soon as an image is uploaded.
  3. Processed images should be stored in another location for retrieval.

Which combination of AWS services and features should you use to meet these requirements?

  1. A

    Amazon S3 with S3 Event Notifications to trigger an AWS Lambda function for image processing

  2. B

    Amazon DynamoDB to store the uploaded images and use DynamoDB Streams to trigger image processing

  3. C

    AWS Lambda to process the uploaded images and store the processed images in another S3 bucket

  4. D

    Amazon SQS to handle image processing requests and Amazon RDS to store the images

  5. E

    Amazon S3 with versioning enabled for secure storage of both uploaded and processed images

Show answer and explanation

Correct answers: A, C, E

Explanation

To meet the requirements, Amazon S3 is used to securely store uploaded images. S3 Event Notifications can automatically trigger an AWS Lambda function for image processing. The Lambda function processes the image and stores the processed version in another S3 bucket. Enabling S3 versioning ensures secure storage and prevents accidental overwrites or deletions. This combination of services ensures a serverless, scalable, and secure architecture.

  • A. Correct.

    Amazon S3 with S3 Event Notifications allows you to trigger an AWS Lambda function when an object is uploaded to a bucket, which is suitable for this use case.

  • B. Incorrect.

    Amazon DynamoDB is not suitable for storing images because it is a NoSQL database designed for structured data, not binary files such as images.

  • C. Correct.

    AWS Lambda can be used to process the images (e.g., resizing or applying filters) and store the processed images in another S3 bucket.

  • D. Incorrect.

    Amazon SQS and Amazon RDS are not ideal for this use case. SQS is primarily for decoupling components, and RDS is a relational database, not designed to store images.

  • E. Correct.

    Amazon S3 with versioning enabled enhances the security and durability of stored images by keeping multiple versions of objects, ensuring data is not lost.

Timed practice exam

Take a DVA-C02 practice test under exam conditions

65 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam