Question 1,000 of 1,024
Security and CompliancemediumMultiple ChoiceObjective-mapped

AWS Config for Real-Time Resource Compliance Monitoring

This CLF-C02 practice question tests your understanding of security and compliance. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. A key principle to apply: aWS Config continuously monitors and records AWS resource configurations.. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company uses AWS Organizations to manage multiple accounts. The security team wants to continuously monitor the configurations of all AWS resources across the organization and receive alerts when a resource violates a compliance rule. For example, they want to ensure that all Amazon RDS databases are not publicly accessible, and that any new RDS instance created with public access enabled is automatically flagged. The team does not want to build custom scripts for monitoring. Which AWS service should the security team use to meet these requirements?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

AWS Config

AWS Config is the correct service because it provides continuous monitoring and recording of AWS resource configurations, and it can evaluate those configurations against custom or managed rules (e.g., 'rds-instance-public-access-check'). When a resource like an RDS instance violates a rule (e.g., being publicly accessible), AWS Config can automatically flag it and trigger an alert via Amazon SNS, all without requiring custom scripts.

Key principle: AWS Config continuously monitors and records AWS resource configurations.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • AWS CloudTrail

    Why it's wrong here

    AWS CloudTrail records API calls made in the account, which is useful for auditing and security analysis. However, it does not continuously evaluate resource configurations against compliance rules or automatically flag noncompliant resources.

    When this WOULD be correct

    A company needs to audit all API calls made in their AWS account to detect unauthorized access or changes, and they require a record of who made what change and when for forensic analysis. AWS CloudTrail would be the correct service to meet these requirements.

  • AWS Config

    Why this is correct

    AWS Config provides continuous monitoring and evaluation of AWS resource configurations against desired rules. It supports managed rules for common compliance checks (e.g., public RDS instances) and can automatically trigger remediation, meeting the requirement without custom scripts.

    Related concept

    AWS Config continuously monitors and records AWS resource configurations.

  • AWS Trusted Advisor

    Why it's wrong here

    AWS Trusted Advisor inspects your AWS environment and makes recommendations based on AWS best practices. It checks for cost optimization, performance, security, and fault tolerance, but it does not provide continuous, custom compliance monitoring with auto-remediation.

    When this WOULD be correct

    A company wants a high-level review of their AWS environment against AWS best practices (e.g., cost optimization, performance, security) without needing to define custom rules. They need a dashboard that shows overall compliance status and recommendations for improvement, not continuous monitoring or automated remediation.

  • Amazon GuardDuty

    Why it's wrong here

    Amazon GuardDuty is a threat detection service that continuously monitors for malicious activity and unauthorized behavior using machine learning and threat intelligence. It does not evaluate resource configurations for compliance with internal policies.

    When this WOULD be correct

    A company wants to continuously monitor AWS accounts for malicious or unauthorized activity, such as detecting compromised credentials, unusual API calls, or potential crypto mining. They need automated threat detection without managing security software.

Option-by-option analysis

Why each answer is right or wrong

Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The CLF-C02 exam frequently reuses these exact scenarios with slightly different constraints.

AWS ConfigCorrect answer

Why this is correct

AWS Config provides continuous monitoring and evaluation of AWS resource configurations against desired rules. It supports managed rules for common compliance checks (e.g., public RDS instances) and can automatically trigger remediation, meeting the requirement without custom scripts.

AWS CloudTrailWrong answer — click to see why

Why this is wrong here

AWS CloudTrail records API activity and provides audit logs, but it does not continuously evaluate resource configurations against compliance rules or automatically flag non-compliant resources like publicly accessible RDS instances.

★ When this WOULD be the correct answer

A company needs to audit all API calls made in their AWS account to detect unauthorized access or changes, and they require a record of who made what change and when for forensic analysis. AWS CloudTrail would be the correct service to meet these requirements.

Why candidates choose this

Candidates may confuse monitoring API activity (CloudTrail) with monitoring resource configurations (Config), or think that logging API calls can be used to detect configuration violations, but CloudTrail does not evaluate configurations against rules.

AWS Trusted AdvisorWrong answer — click to see why

Why this is wrong here

AWS Trusted Advisor provides best-practice checks and recommendations, but it does not continuously monitor resource configurations or trigger alerts for compliance violations like public RDS instances. It lacks the ability to define custom rules and automatically flag non-compliant resources in real time.

★ When this WOULD be the correct answer

A company wants a high-level review of their AWS environment against AWS best practices (e.g., cost optimization, performance, security) without needing to define custom rules. They need a dashboard that shows overall compliance status and recommendations for improvement, not continuous monitoring or automated remediation.

Why candidates choose this

Candidates may confuse Trusted Advisor's security checks (e.g., RDS public access check) with continuous compliance monitoring, not realizing that Trusted Advisor provides periodic checks and recommendations rather than real-time, customizable rule evaluation and alerts.

Amazon GuardDutyWrong answer — click to see why

Why this is wrong here

Amazon GuardDuty is a threat detection service that monitors for malicious activity and unauthorized behavior, not for compliance configuration rules like RDS public accessibility. It does not evaluate resource configurations against compliance rules.

★ When this WOULD be the correct answer

A company wants to continuously monitor AWS accounts for malicious or unauthorized activity, such as detecting compromised credentials, unusual API calls, or potential crypto mining. They need automated threat detection without managing security software.

Why candidates choose this

Candidates may confuse GuardDuty's monitoring and alerting capabilities with compliance monitoring, assuming it can check configuration rules, but its focus is on security threats, not configuration compliance.

Analysis generated from the official CLF-C02blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse AWS CloudTrail (which logs API calls) with AWS Config (which tracks resource state), leading them to choose CloudTrail because they think monitoring 'configurations' means tracking changes, but CloudTrail does not evaluate compliance rules or alert on resource state violations.

Detailed technical explanation

How to think about this question

AWS Config works by recording configuration items (CIs) for supported resources into a configuration history and evaluating them against rules (AWS Lambda-backed functions or managed rules). For the RDS public access check, the managed rule 'rds-instance-public-access-check' evaluates the 'PubliclyAccessible' field of the RDS DB instance configuration item; if set to 'true', the rule triggers a non-compliant evaluation and can invoke an SNS topic to send an alert. A subtle behavior is that AWS Config evaluates resources only when a configuration change occurs or at a periodic interval (e.g., every 24 hours), so near-real-time detection depends on the change-triggered evaluation.

KKey Concepts to Remember

  • AWS Config continuously monitors and records AWS resource configurations.
  • It evaluates configurations against desired rules, including managed and custom rules.
  • AWS Config can detect and flag non-compliant resources, like publicly accessible RDS instances.
  • It integrates with AWS Organizations for multi-account, centralized compliance management.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

AWS Config continuously monitors and records AWS resource configurations.

Real-world example

How this comes up in practice

A company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.

What to study next

Got this wrong? Here's your next step.

Review aWS Config continuously monitors and records AWS resource configurations., then practise related CLF-C02 questions on the same topic to reinforce the concept.

Related practice questions

Related CLF-C02 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free CLF-C02 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this CLF-C02 question test?

Security and Compliance — This question tests Security and Compliance — AWS Config continuously monitors and records AWS resource configurations..

What is the correct answer to this question?

The correct answer is: AWS Config — AWS Config is the correct service because it provides continuous monitoring and recording of AWS resource configurations, and it can evaluate those configurations against custom or managed rules (e.g., 'rds-instance-public-access-check'). When a resource like an RDS instance violates a rule (e.g., being publicly accessible), AWS Config can automatically flag it and trigger an alert via Amazon SNS, all without requiring custom scripts.

What should I do if I get this CLF-C02 question wrong?

Review aWS Config continuously monitors and records AWS resource configurations., then practise related CLF-C02 questions on the same topic to reinforce the concept.

What is the key concept behind this question?

AWS Config continuously monitors and records AWS resource configurations.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More CLF-C02 practice questions

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This CLF-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CLF-C02 exam.