exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 77 discussion

An application under development is required to store hundreds of video files. The data must be encrypted within the application prior to storage, with a unique key for each video file.

How should the developer code the application?

  • A. Use the KMS Encrypt API to encrypt the data. Store the encrypted data key and data.
  • B. Use a cryptography library to generate an encryption key for the application. Use the encryption key to encrypt the data. Store the encrypted data.
  • C. Use the KMS GenerateDataKey API to get a data key. Encrypt the data with the data key. Store the encrypted data key and data.
  • D. Upload the data to an S3 bucket using server side-encryption with an AWS KMS key.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
MrTee
Highly Voted 1 year, 6 months ago
Selected Answer: C
option C: use the KMS GenerateDataKey API to get a data key. Encrypt the data with the data key. Store the encrypted data key and data.
upvoted 12 times
...
sumanshu
Most Recent 4 months ago
Selected Answer: C
A) Eliminated - The Encrypt API in AWS KMS is designed for small amounts of data (4 KB) For large files, it is more efficient and scalable to use data keys (using the GenerateDataKey API)
upvoted 2 times
sumanshu
4 months ago
D) Eliminated - this approach does not meet the requirement to encrypt data within the application prior to storage,
upvoted 2 times
...
...
65703c1
5 months, 1 week ago
Selected Answer: C
C is the correct answer.
upvoted 1 times
...
SerialiDr
9 months, 3 weeks ago
Selected Answer: C
This is the most suitable option. AWS KMS's GenerateDataKey API provides a unique data key for each invocation, which can be used to encrypt each video file. The data key itself is also returned in an encrypted form, which can be safely stored alongside the encrypted data. This approach satisfies the requirement of unique encryption for each file and securely manages the encryption keys.
upvoted 3 times
...
Tinez
1 year ago
Option C seems correct
upvoted 1 times
...
hsinchang
1 year, 1 month ago
Selected Answer: C
A and B cannot meet the requirement of having a unique key for each file, and D cannot meet the requirement of encrypting the data within the application. C meets all requirements.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago