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 357 discussion

A developer is publishing critical log data to a log group in Amazon CloudWatch Logs. The log group was created 2 months ago. The developer must encrypt the log data by using an AWS Key Management Service (AWS KMS) key so that future data can be encrypted to comply with the company's security policy.

Which solution will meet this requirement with the LEAST effort?

  • A. Use the AWS Encryption SDK for encryption and decryption of the data before writing to the log group.
  • B. Use the AWS KMS console to associate the KMS key with the log group.
  • C. Use the AWS CLI aws logs create-log-group command, and specify the key Amazon Resource Name (ARN).
  • D. Use the AWS CLI aws logs associate-kms-key command, and specify the key Amazon Resource Name (ARN).
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
albert_kuo
9 months, 1 week ago
Selected Answer: D
aws logs associate-kms-key --log-group-name <LogGroupName> --kms-key-id <KMSKeyARN>
upvoted 2 times
...
cachac
10 months, 1 week ago
Selected Answer: D
associate-kms-key command. This command specifically associates a KMS key with an existing log group, which is exactly what the developer needs to do.
upvoted 3 times
...
65703c1
11 months, 1 week ago
Selected Answer: D
D is the correct answer.
upvoted 1 times
...
KarBiswa
1 year, 1 month ago
Selected Answer: D
https://docs.aws.amazon.com/cli/latest/reference/logs/associate-kms-key.html
upvoted 3 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