Courseiva
Continuous Improvement for Existing SolutionseasyMultiple SelectObjective-mapped

SAP-C02 Continuous Improvement for Existing Solutions Practice Question

A company runs a web application on EC2 instances behind an ALB. They want to improve the security posture by implementing defense in depth. Which TWO measures should they implement? (Choose TWO.)

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

Configure security groups to restrict traffic to only necessary ports.

Defense in depth involves multiple layers of security. Option D (security groups) acts as a virtual firewall at the instance level, restricting traffic to only necessary ports. Option E (AWS WAF) helps filter common web exploits at the application layer. Option A (public S3) does not improve security. Option B (public subnets) increases exposure. Option C (direct internet access) bypasses the ALB and security layers.

Answer analysis

Option-by-option breakdown

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

  • Store static assets in a public S3 bucket.

    Why it's wrong here

    Public S3 buckets can be a security risk if misconfigured.

  • Place EC2 instances in public subnets for easier management.

    Why it's wrong here

    Public subnets expose instances to more risk.

  • Allow direct internet access to the EC2 instances.

    Why it's wrong here

    Direct internet access bypasses the ALB and reduces security.

  • Configure security groups to restrict traffic to only necessary ports.

    Why this is correct

    Security groups act as a firewall for EC2 instances.

  • Use AWS WAF to filter common web exploits.

    Why this is correct

    WAF adds a layer of protection at the application level.

Visual reference

Source Router + ACL permit 10.0.0.0/8 deny any Server 10.0.0.5 ✓ 192.168.1.1 ✗ dropped ACLs evaluate top-down; first match wins — implicit deny all at end

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

Courseiva writes every SAP-C02 question from scratch — 1,660 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This SAP-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 SAP-C02 exam.