AWS Certified SysOps Administrator – Associate — Question 18

A SysOps administrator has enabled AWS CloudTrail in an AWS account. If CloudTrail is disabled, it must be re-enabled immediately.
What should the SysOps administrator do to meet these requirements WITHOUT writing custom code?

Answer options

Correct answer: B

Explanation

The correct answer is B because creating an AWS Config rule with the AWS-ConfigureCloudTrailLogging remediation action allows for automatic re-enablement of CloudTrail without custom code. Options A, C, and D involve additional steps or require custom code, which do not satisfy the requirement to avoid writing custom code.