Hard1 markMultiple Choice
Domain 1.2: Security ControlsSecurityOrganizationsSCPCloudTrail

AWS SAP-C02 · Question 33 · Domain 1.2: Security Controls

A company is using AWS Organizations. The security team wants to ensure that no one, including the root user of member accounts, can disable AWS CloudTrail. They have applied a Service Control Policy (SCP) to the root of the organization denying the cloudtrail:StopLogging action. However, during an audit, they discover that an administrator in a member account was able to disable CloudTrail. What is the MOST likely reason for this?

Answer options:

A.

The CloudTrail trail was created locally in the member account, and the administrator deleted the trail instead of stopping it.

B.

The administrator used the AWS root user credentials of the member account, which bypasses SCPs.

C.

The member account had an IAM policy with an explicit Allow for cloudtrail:StopLogging, which overrides the SCP.

D.

The SCP was attached to the Workloads OU, but the member account was in the Security OU.

How to approach this question

Analyze how SCPs work and identify missing actions in the policy.

Full Answer

A.The CloudTrail trail was created locally in the member account, and the administrator deleted the trail instead of stopping it.✓ Correct
SCPs are evaluated using a default deny posture, but explicit denies override any allows. If the SCP only explicitly denies `cloudtrail:StopLogging`, an administrator with full IAM permissions can simply call `cloudtrail:DeleteTrail` or `cloudtrail:UpdateTrail` to disable logging. To properly secure CloudTrail, you should use an Organization Trail (which cannot be modified by member accounts) or deny all modification actions in the SCP.

Common mistakes

Believing the root user of a member account can bypass SCPs.

Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 5

75 questions · hints · full answers · grading

More questions from this exam