Course menuSAP-C03

Exams / SAP-C03 / Study guide / Compliance monitoring, vulnerability scanning and patching

Compliance monitoring, vulnerability scanning and patching: SAP-C03 study notes and practice questions

What to know about Compliance monitoring, vulnerability scanning and patching for the SAP-C03 exam, from the Security, Compliance, and Governance domain (25% of the exam guide), then 1 free question to test it. Part of the SAP-C03 study guide.

Last verified against current AWS documentation ·How we write our questions

What to know for the exam

These questions ask how to know, at all times and in every account, whether resources meet a standard, and how to find and patch vulnerabilities without manual sweeps.

AWS Config

  • Managed rules cover common checks (encrypted volumes, public buckets, required tags); custom rules use Lambda or Guard policy syntax.
  • Organization rules and conformance packs deploy the same rules to every account from a delegated administrator. Conformance packs bundle rules and remediations into one deployable unit, with sample packs for frameworks such as CIS and NIST.
  • Remediation runs a Systems Manager Automation runbook, manually or automatically, with retry limits.
  • An aggregator shows compliance across accounts and Regions.

Security Hub CSPM

  • Runs security standards as automated controls: AWS Foundational Security Best Practices, CIS AWS Foundations Benchmark, PCI DSS, NIST SP 800-53 and others. It uses Config service-linked rules under the hood, so Config recording must be on.
  • Central configuration from the delegated administrator sets which standards and controls are enabled per OU or account.
  • Findings use the AWS Security Finding Format and go to EventBridge, so a rule can trigger remediation or a ticket.

Vulnerability scanning with Amazon Inspector

  • Scans EC2 instances (through the SSM Agent, or agentless with EBS snapshots), ECR container images (on push and continuously as new CVEs appear), and Lambda functions and their code.
  • Enable for the organization from a delegated administrator with auto-enable for new accounts.
  • Findings are scored for your environment (for example network reachability) and can feed EventBridge and Security Hub.
  • Inspector also runs CIS benchmark assessments for EC2 operating systems.

Patching with Systems Manager

  • Patch Manager uses patch baselines (which patches, auto-approval delay) and runs scans or installs.
  • Patch policies through Quick Setup apply patching across accounts and Regions in the organization from one configuration.
  • Maintenance windows control when patching happens; patch compliance shows in Systems Manager and Security Hub.
  • Immutable patterns (rebuild AMIs with EC2 Image Builder, roll the Auto Scaling group) also count as patching for stateless fleets.

How to choose

Scenario wording Pick
Same compliance rules in every account, deployed once Config conformance packs from delegated admin
Fix noncompliant resources automatically Config rule with automatic SSM Automation remediation
Score accounts against CIS or PCI DSS Security Hub CSPM standards
Find CVEs in instances, images and functions Amazon Inspector
Patch all instances in all accounts on a schedule Patch Manager patch policies (Quick Setup)

Common traps

  • Scheduled Lambda scripts that scan accounts when Config and Security Hub CSPM do it natively.
  • Security Hub CSPM without Config recording, so controls can’t evaluate.
  • GuardDuty for vulnerabilities; it detects threats, Inspector finds vulnerabilities.
  • Enabling Inspector account by account instead of organization-wide.
  • Patching by hand in each account or with per-account cron jobs.

Try the 1 practice question

A retailer's payment environment spans 40 AWS accounts. The compliance team needs a single view of control failures across all accounts, and it needs public S3 buckets and security groups that allow unrestricted SSH to be corrected within minutes of being found. Auditors review the findings each quarter.

The security team wants the findings and the fixes to follow the same company-wide controls, and it wants evidence of each correction for the auditors.

Which solution meets these requirements?

Choose one answer.

  1. A. Turn on AWS Security Hub CSPM for the organization through a delegated administrator, and have an EventBridge rule for the relevant control findings start a Systems Manager Automation runbook.
  2. B. Deploy AWS Config conformance packs to every account through the delegated administrator, and have a compliance analyst fix the reported resources at a monthly review meeting with the account owners.
  3. C. Run Amazon Inspector in each account to scan the EC2 instances for vulnerabilities, and fix any reported issue during the next patch window.
  4. D. Enable Amazon GuardDuty in each account, and have it block public S3 buckets and unrestricted security group rules automatically.
Show the answer and explanation

Answer: A

  • A. Right: Correct. Security Hub CSPM aggregates control findings across accounts in one place, and the EventBridge rule starts a runbook within minutes. The runbook execution history serves as evidence of each fix for the auditors.
  • B. Wrong: A monthly review is far slower than the minutes the security team requires. Manual fixes at the meeting also leave no consistent automated record.
  • C. Wrong: Inspector reports software vulnerabilities on instances and does not detect public S3 buckets or open security groups. The patch window also misses the minutes requirement.
  • D. Wrong: GuardDuty detects threats such as suspicious API calls and compromised instances. It does not change bucket policies or security group rules, so the exposed resources stay open.

Explanation

Security Hub CSPM gives one organization-wide view of control failures, and an EventBridge rule can start a Systems Manager runbook within minutes that leaves its own execution record. Monthly reviews are too slow, while Inspector and GuardDuty neither detect these misconfigurations nor correct them.

Automatic remediation of a security event through EventBridge A security finding or API call event, from services such as GuardDuty, Security Hub CSPM or CloudTrail, matches an EventBridge rule. The rule starts a Systems Manager Automation runbook or Lambda function through an IAM role, which fixes the resource and notifies the team. Security event finding or API call GuardDuty, Security Hub, CloudTrail API calls EventBridge rule event pattern matches type, severity or resource Automation runbook or Lambda function started through an IAM role Resource fixed and team notified within minutes, with a record of the run
Security Hub CSPM collects control findings from all 40 accounts, and the EventBridge rule starts a runbook for each failure.

Study

Want more on Compliance monitoring, vulnerability scanning and patching? The 5 full-length practice sets have 8 more Compliance monitoring, vulnerability scanning and patching questions, 375 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets

Study Compliance monitoring, vulnerability scanning and patching

More Security, Compliance, and Governance topics