ExamQuestions.com

Register
Login
AWS Certified Security Specialty Exam Questions

Amazon

AWS Certified Security Specialty

36 / 310

Question 36:

As a DevOps engineer, you need to maintain Jenkins pipelines. Recently, you have created a new pipeline for a migration project. In one stage, you encrypted a file with below command.
aws kms encrypt \
--key-id 1234abcd-fa85-46b5-56ef-1234567890ab \
--plaintext fileb://ExamplePlaintextFile \
--output text \
--query CiphertextBlob | base64 \
--decode > ExampleEncryptedFile
A CMK key was used in the encryption operation. Then in another stage, the encrypted file needs to be decrypted with "aws kms decrypt". In terms of the decryption command, which statement is correct?

Answer options:

A.The CMK key ID is needed for "aws kms decrypt".
B.The CMK key ARN is needed for "aws kms decrypt".
C.The encrypted data key is needed for "aws kms decrypt".
D.There is no need to add the CMK key information for this command.