AWS Certified Advanced Networking – Specialty (ANS-C00) — Question 136
You can use the ____ command of the AWS Config service CLI to see the compliance state of each resource that AWS Config evaluates for a specific rule.
Answer options
- A. describe-compliance-by-resource
- B. describe-compliance-by-config-rule
- C. get-compliance-details-by-config-rule
- D. get-compliance-details-by-resource
Correct answer: C
Explanation
The correct command is 'get-compliance-details-by-config-rule', which retrieves compliance information for resources associated with a specific rule. The other options do not accurately represent the command required for checking compliance status; they either refer to resources in a general sense or incorrectly label the command.