ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 78 - SCS-C02 discussion

Report
Export

A company wants to establish separate IAM Key Management Service (IAM KMS) keys to use for different IAM services. The company's security engineer created the following key policy lo allow the infrastructure deployment team to create encrypted Amazon Elastic Block Store (Amazon EBS) volumes by assuming the InfrastructureDeployment IAM role:

The security engineer recently discovered that IAM roles other than the InfrastructureDeployment role used this key (or other services. Which change to the policy should the security engineer make to resolve these issues?

A.
In the statement block that contains the Sid 'Allow use of the key', under the 'Condition' block, change StringEquals to StringLike.
Answers
A.
In the statement block that contains the Sid 'Allow use of the key', under the 'Condition' block, change StringEquals to StringLike.
B.
In the policy document, remove the statement Dlock that contains the Sid 'Enable IAM User Permissions'. Add key management policies to the KMS policy.
Answers
B.
In the policy document, remove the statement Dlock that contains the Sid 'Enable IAM User Permissions'. Add key management policies to the KMS policy.
C.
In the statement block that contains the Sid 'Allow use of the Key', under the 'Condition' block, change the Kms:ViaService value to ec2.us-east-1 .amazonIAM com.
Answers
C.
In the statement block that contains the Sid 'Allow use of the Key', under the 'Condition' block, change the Kms:ViaService value to ec2.us-east-1 .amazonIAM com.
D.
In the policy document, add a new statement block that grants the kms:Disable' permission to the security engineer's IAM role.
Answers
D.
In the policy document, add a new statement block that grants the kms:Disable' permission to the security engineer's IAM role.
Suggested answer: C

Explanation:

To resolve the issues, the security engineer should make the following change to the policy:

In the statement block that contains the Sid ''Allow use of the key'', under the ''Condition'' block, change the Kms:ViaService value to ec2.us-east-1.amazonaws.com. This allows the security engineer to restrict the use of the key to only EC2 service in the us-east-1 region, and prevent other services from using the key.

asked 16/09/2024
Denis Mourghen
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first