AWS Certified Advanced Networking – Specialty (ANS-C00) — Question 106
You can use the ____ command of the AWS Config service CLI to see the compliance state for each AWS resource of a specific type.
Answer options
- A. describe-compliance-by-resource
- B. get-compliance-details-by-config-rule
- C. describe-compliance-by-config-rule
- D. get-compliance-details-by-resource
Correct answer: A
Explanation
The correct answer is A, as the 'describe-compliance-by-resource' command specifically retrieves the compliance state for each resource of a specified type. The other options either focus on compliance details by config rule or do not fit the requirement of checking compliance by resource type.