DEA-C01 Data Security and Governance Practice Question
Refer to the exhibit.
Exhibit:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::123456789012:role/DataEngineer"
},
"Action": ["kms:Decrypt", "kms:ReEncrypt*"
],
"Resource": "*"
}
]
}A data engineer tries to encrypt data using the KMS key associated with this key policy and receives an access denied error. What is the cause?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The policy does not include kms:Encrypt action
The key policy grants Decrypt and ReEncrypt* actions, but not Encrypt. Therefore, the DataEngineer role does not have permission to encrypt data using this key. Option A is incorrect because IAM roles can be used as principals in key policies. Option B is incorrect because there is no explicit deny statement in the policy. Option C is incorrect because "Resource": "*" is valid in KMS key policies and refers to the current key.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The principal is an IAM role, which is not allowed
Why it's wrong here
IAM roles are allowed as principals.
- ✗
There is an explicit deny in the policy
Why it's wrong here
No explicit deny is present.
- ✗
The Resource element is set to "*", which is invalid for KMS key policies
Why it's wrong here
"*" is valid for KMS key policies.
- ✓
The policy does not include kms:Encrypt action
Why this is correct
Encrypt action is missing.
Go deeper
Related to this question
About these practice questions
One of 1,711 original DEA-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This DEA-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DEA-C01 exam.