Cloud concept · Updated

Vulnerability Assessment - Vulnerability assessment is the systematic identification, evaluation, and prioritization of security weaknesses in systems, software, and configurations.

In short

A vulnerability assessment determines which weaknesses exist, which resources they affect, and how urgently they need attention. In cloud environments, recurring assessments help engineers address vulnerable dependencies, exposed workloads, and insecure configurations as deployments and threat information change.

Cloud Concepts Hub →

6 key aspects of Vulnerability Assessment

Effective vulnerability assessment combines verified coverage, suitable inspection methods, contextual prioritization, recurring scans, and validated remediation.

01
Explicit scope and verified coverage

Inventory the resources, accounts, Regions, and workload types that require assessment. Monitor unsupported resources, permission failures, and stale scans so missing coverage is not mistaken for a clean result.

02
Workload-appropriate inspection

Use inspection methods suited to virtual machines, container images, and serverless packages. Include both operating-system packages and application dependencies where the assessment tool supports them.

03
Risk-based prioritization

Combine vulnerability severity with exposure, exploitability, asset importance, and business impact. Use this context to establish remediation deadlines rather than treating every finding with the same severity as equally urgent.

04
Continuous reassessment

Reassess after deployments, dependency updates, and changes to vulnerability intelligence. Track scan freshness because unchanged software can become newly vulnerable when a weakness is disclosed.

05
Verified remediation

Patch, rebuild, replace, or otherwise mitigate affected workloads, then reassess the deployed resources. Record time-limited exceptions when immediate remediation is not possible.

06
Complementary security controls

Use network restrictions to reduce exposure and runtime detection to identify suspicious behavior. Neither control substitutes for identifying and correcting vulnerable software.

Cloud services for Vulnerability Assessment

Amazon Inspector supplies vulnerability findings for supported compute workloads, including enhanced image scanning integrated with Amazon ECR. ECR holds the images that teams rebuild and redeploy when vulnerable packages are found. AWS Systems Manager supports agent-based EC2 inventory collection and can help apply operating-system patches through Patch Manager. Amazon GuardDuty adds behavioral threat detection, including runtime monitoring for supported EC2 and container workloads. Together, these services support a workflow of assessment, prioritization, remediation, verification, and threat monitoring. Engineers must still verify coverage, assign owners, and ensure corrected artifacts actually replace affected workloads.

Amazon InspectorAmazon Inspector

Assesses supported EC2 instances, ECR container images, and Lambda functions for vulnerabilities, with coverage depending on workload and scan type. It produces findings for remediation and can identify supported EC2 network-reachability issues; it does not patch workloads or block attacks.

Amazon GuardDutyAmazon GuardDuty

Complements vulnerability assessment with threat detection rather than serving as a general known-vulnerability scanner. Runtime Monitoring analyzes runtime activity on supported EC2 and container workloads, while Lambda Protection analyzes Lambda network activity.

AWS Systems ManagerAWS Systems Manager

Supports agent-based Inspector EC2 scanning through SSM Agent and software inventory collection for supported managed instances. Systems Manager Patch Manager can help remediate operating-system package vulnerabilities, but patch execution and assessment remain distinct activities.

Vulnerability Assessment exam questions

Real practice exam questions on Vulnerability Assessment, with the correct answer and its explanation. Answer them with every option in the exam simulator.

CLF-C02

A company runs Amazon EC2 instances across several VPC subnets. Before a security review, the company needs an automated assessment that identifies instances with SSH ports reachable from the internet through their current network configurations. The assessment must work even if no connection attempts have occurred and must not change existing traffic rules. Which solution best meets these requirements?

Show answerCORRECT ANSWER

Enable Amazon Inspector scanning for EC2 instances and review its network reachability findings.

Amazon Inspector assesses EC2 network reachability by analyzing network configurations, including security groups, network ACLs, routes, and gateways. It can report internet-reachable SSH ports without observing connection attempts or changing traffic rules.

MLA-C02 (beta)

An ML team is preparing to release a custom inference container stored in Amazon ECR. Amazon Inspector reports a HIGH-severity vulnerability in an operating-system package inherited from the container's base image. The finding identifies the installed package version and a fixed version. The application source-code security checks pass.

The platform team updates the base image's existing tag to reference a new image that contains the fixed package. However, a new assessment of the previously built inference image still reports the vulnerability. The release has not been deployed.

Which action should the ML engineer take to remediate the release candidate and verify the result?

Show answerCORRECT ANSWER

Pull the patched base image, rebuild the inference image without reusing the old base layers, and push the new image. Confirm that the assessment of the new image digest no longer reports the affected package version.

Container images retain the layers used when they were built. Rebuilding with the patched base incorporates the corrected package. Assessing the resulting image digest verifies that the release artifact, rather than just its base-image tag, has been remediated.

SAP-C03

A company runs an Amazon ECS service on AWS Fargate. Its task definitions reference container images in a private Amazon ECR repository by digest. Amazon Inspector enhanced scanning identifies a CRITICAL vulnerability in a Java dependency bundled in the production image.

A remediation pipeline updates the dependency, rebuilds the image, and pushes a new digest. Assessment of the new image completes without the vulnerability. However, the pipeline reports that remediation failed because it still finds the original CRITICAL finding in the repository. The original image must remain available for 180 days for forensic analysis, and its findings must not be suppressed. Production tasks are still running the original digest.

The company needs the pipeline to remediate the production workload and produce evidence that the vulnerable dependency is no longer deployed. Which solution meets these requirements?

Show answerCORRECT ANSWER

Register a new task definition referencing the corrected digest and update the ECS service. Verify that replacement completes and that all running service tasks use the corrected digest. Associate their digests with completed Inspector assessments showing that the vulnerability is absent, while retaining the original image and its findings.

Remediation requires replacing the vulnerable running containers, not merely publishing a corrected image. Correlating the digests actually running in ECS with their completed assessments provides workload-specific evidence. The retained original image can legitimately continue to have an active finding without indicating that the corrected production workload remains vulnerable.

Practice Vulnerability Assessment in a full exam

Questions on Vulnerability Assessment in each practice exam, with every answer option and an explanation for each:

Start a free practice exam

What is Vulnerability Assessment

3 min read

Vulnerability assessment examines assets for security weaknesses and evaluates their potential impact. Findings can include software packages affected by published Common Vulnerabilities and Exposures identifiers, unsupported components, or configurations that expose a workload to unnecessary access. The objective is actionable evidence: identify the affected resource, explain the weakness, determine its relevance, and recommend remediation or a documented mitigation.

Cloud assessments start with resource discovery and coverage validation. Engineers need to know which virtual machines, container images, functions, accounts, and Regions are included. A successful scan of one resource does not establish coverage for an entire environment. Unsupported operating systems, missing permissions, unavailable package inventories, and excluded repositories can create blind spots. Coverage status and scan freshness therefore matter alongside the number and severity of findings.

Different workload types require different inspection methods. Virtual machines can be assessed through software inventory collected by an agent or through supported agentless inspection. Container images should be scanned in a registry or build pipeline so vulnerable operating-system packages and application dependencies can be addressed before deployment. Serverless assessments examine supported function packages and dependencies; optional code analysis can identify additional code-level weaknesses. Provider management of the underlying infrastructure does not remove customer responsibility for application code and bundled dependencies.

On AWS, Amazon Inspector assesses supported Amazon EC2 instances, container images in Amazon ECR, and AWS Lambda functions. For example, an engineer can identify a vulnerable library in an ECR image, update the dependency or base image, rebuild the image, and replace running containers with the corrected version. Pushing a fixed image alone does not update containers that are already running. For Lambda ZIP deployments, the engineer must update affected dependencies or layers and deploy the corrected function package.

Network controls and vulnerability assessment solve different problems. A security group is a stateful traffic control associated with network interfaces, while a network ACL applies stateless allow and deny rules at a subnet boundary. Neither checks installed packages for known vulnerabilities. Restricting ingress can reduce exposure to a vulnerable service, but it does not remove the vulnerable component. Amazon Inspector can also identify supported EC2 network-reachability findings; it is not an inline firewall and does not block traffic.

Prioritization should combine technical severity with workload context. A high-severity issue on an internet-accessible production service can warrant faster action than the same issue on an isolated test instance. Consider exploit availability, reachable attack paths, data sensitivity, business impact, and available fixes. Validate findings where necessary, because package identification and vendor backported fixes can complicate interpretation. Exceptions should have an owner, justification, compensating controls, and an expiration date.

Assessment is not penetration testing, patch deployment, or proof that exploitation occurred. Amazon GuardDuty complements scanning by detecting suspicious activity; its Runtime Monitoring capability analyzes runtime events on supported EC2 and container workloads. GuardDuty Lambda Protection analyzes Lambda network activity rather than providing the same runtime-agent monitoring used for those workloads. A runtime threat finding may require incident response even when vulnerability scans report no known issue.

Effective assessment is continuous rather than a one-time audit. New deployments and newly published vulnerability intelligence can change results without an application code change. Balance scan costs, coverage, operational overhead, and potential disruption from active testing. Assign findings to owners, remediate through controlled changes, and reassess the deployed resources to verify closure. A clean result means no covered weaknesses were detected by that assessment, not that the workload is invulnerable.

Learn Vulnerability Assessment in lessons

9 short lessons on Vulnerability Assessment in 5 certification courses.

and 3 more lessons

Open the lessons