ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 380 - SCS-C01 discussion

Report
Export

Your developer is using the KMS service and an assigned key in their Java program. They get the below error when running the code arn:aws:iam::113745388712:user/UserB is not authorized to perform: kms:DescribeKey Which of the following could help resolve the issue?

Please select:

A.
Ensure that UserB is given the right IAM role to access the key
Answers
A.
Ensure that UserB is given the right IAM role to access the key
B.
Ensure that UserB is given the right permissions in the IAM policy
Answers
B.
Ensure that UserB is given the right permissions in the IAM policy
C.
Ensure that UserB is given the right permissions in the Key policy
Answers
C.
Ensure that UserB is given the right permissions in the Key policy
D.
Ensure that UserB is given the right permissions in the Bucket policy
Answers
D.
Ensure that UserB is given the right permissions in the Bucket policy
Suggested answer: C

Explanation:

You need to ensure that UserB is given access via the Key

policy for the Key Option is invalid because you don't assign roles to IAM users For more information on Key policies please visit the below Link:

https://docs.aws.amazon.com/kms/latest/developerguide/key-poliThe correct answer is: Ensure that UserB is given the right permissions in the Key policy

asked 16/09/2024
Anirban Ganguly
48 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first