AWS DevOps Engineer Professional DOP-C01 – Question492

Using the AWS CLI, which command retrieves CloudTrail trail settings, including the status of the trail itself?

A.
aws cloudtrail return-trails
B. aws cloudtrail validate-settings
C. aws cloudtrail get-settings
D. aws cloudtrail describe-trails

Correct Answer: D

Explanation:

Explanation:
You can retrieve trail settings and status using the cloudtrail describe-trails command. It will generate output similar to the example below.

Reference:
http://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrai…