Topic 1 Question 357
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?
Use the AWS Encryption SDK for encryption and decryption of the data before writing to the log group.
Use the AWS KMS console to associate the KMS key with the log group.
Use the AWS CLI aws logs create-log-group command, and specify the key Amazon Resource Name (ARN).
Use the AWS CLI aws logs associate-kms-key command, and specify the key Amazon Resource Name (ARN).
ユーザの投票
コメント(4)
- 正解だと思う選択肢: D👍 3KarBiswa2024/03/22
- 正解だと思う選択肢: 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.
👍 3cachac2024/06/30 - 正解だと思う選択肢: D
aws logs associate-kms-key --log-group-name <LogGroupName> --kms-key-id <KMSKeyARN>
👍 2albert_kuo2024/07/26
シャッフルモード