Which AWS service scans EC2 instances for vulnerabilities using assessment templates?
Short answer
C Amazon Inspector scans Amazon EC2 instances for software vulnerabilities using predefined rules and assessment templates.
Question
Key Takeaways
The question tests whether you can separate vulnerability assessment (Inspector) from traffic filtering (WAF), DDoS protection (Shield), and best-practice advisory checks (Trusted Advisor) — the trap is picking Trusted Advisor because it also 'checks' resources.
Amazon Inspector is the AWS vulnerability management service that assesses Amazon EC2 instances, container images, and Lambda functions against predefined rules and assessment templates. This page confirms why Amazon Inspector — not AWS WAF, Trusted Advisor, or AWS Shield — is the answer for template-driven EC2 vulnerability checks.
Common mistake: Many candidates choose AWS Trusted Advisor because it inspects accounts and surfaces findings, but Trusted Advisor checks best practices, service limits, and cost/security posture — it does not run vulnerability scans of EC2 instance software against predefined assessment templates.
Expert Analysis
Why the Answer Is Correct
Amazon Inspector is the dedicated vulnerability management service in AWS: it continuously scans Amazon EC2 instances, container images pushed to Amazon ECR, and Lambda functions for software vulnerabilities (CVEs) and unintended network exposure. The phrase "predefined assessment templates" in the question maps directly onto Inspector's rule packages and assessment targets, which define which instances to scan and which rule package (for example, a CVE-focused package) to apply. Findings are prioritized by an Inspector risk score so teams can focus on the most exploitable issues rather than raw CVE counts. As Ruffyit simply put it, the answer is "Inspector", and xxjbloxx expanded that it is "an automated vulnerability management service" that evaluates instance software configuration against predefined security assessments. The service page linked in the comments (aws.amazon.com/inspector/) is the authoritative source for this behavior.
Why the Other Options Are Wrong
AWS WAF is a web application firewall that inspects HTTP/S requests against rules to block exploits such as SQL injection and cross-site scripting at the edge — it filters traffic, it does not scan instance operating systems. AWS Shield is the managed DDoS protection service (Standard and Advanced) that absorbs volumetric and layer-7 attacks, again a network-protection control rather than a vulnerability scanner. AWS Trusted Advisor is the closest distractor: it reviews your account against best-practice checks across cost optimization, performance, security, fault tolerance, and service quotas, but those checks are account-level recommendations, not software vulnerability assessments with assessment templates and CVE findings. None of these three produce a per-instance vulnerability report driven by rule packages.
Community Comment Notes
Community consensus on this item is unanimous and aligns with the vendor documentation: Mig posted the official Inspector page and later restated "Answer: C", asdfcdsxdfc confirmed "C is correct", and Ruffyit answered with the single word "Inspector". The most detailed explanation came from xxjbloxx, who drew the distinction between vulnerability scanning and other security services and noted that Inspector continually scans EC2 instances, container images, and Lambda functions. No commenter argued for WAF, Shield, or Trusted Advisor, which is typical for this question because the template/rule-package wording is a strong signal for Inspector.
Official Reference
- https://aws.amazon.com/inspector/
- https://docs.aws.amazon.com/inspector/latest/user/what-is-inspector.html
These links open the official vendor documentation in a new tab.
Exam Strategy
When a CLF-C02 question mentions scanning, vulnerabilities, CVEs, or assessment templates for EC2, ECR, or Lambda, map it instantly to Amazon Inspector; reserve WAF for HTTP request filtering, Shield for DDoS, and Trusted Advisor for account best-practice checks. Watch for the word "predefined" — it signals Inspector rule packages rather than a generic security review.
Frequently Asked Questions
Why isn't AWS Trusted Advisor the answer if it also checks for security issues?
Can Amazon Inspector assess anything besides EC2 instances?
Discussion 5 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 5
-
Mig 👍 3https://aws.amazon.com/inspector/
-
Mig 👍 2Answer: C https://aws.amazon.com/pt/inspector/
-
asdfcdsxdfc 👍 2 Answered CC is correct
-
xxjbloxx 👍 1 Answered Cmazon Inspector is the correct choice:Vulnerability Scanning: Amazon Inspector is an automated vulnerability management service that continually scans Amazon EC2 instances, container images, and AWS Lambda functions for software vulnerabilities and unintended network exposure.Predefined Rules/Templates: It evaluates the software configuration of your EC2 instances against predefined security assessment templates (such as checking for known CVE patches, insecure OS configurations, or unintended open ports) to deliver actionable remediation findings.
-
Ruffyit 👍 1Inspector
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All CLF-C02 Questions
Access 120 questions with complete answers and detailed explanations.
View Full CLF-C02 Practice Test →