SAP-C02 Practice Question: Accelerate Workload Migration and Modernization
A company is migrating a stateful application to AWS and needs to preserve the client IP addresses at the application layer. The application runs on EC2 instances behind a load balancer. Which load balancer type should they use?
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
✓
Network Load Balancer (NLB)
(Network Load Balancer) is correct because it preserves the client IP address by default. Option B (ALB) uses proxy protocol, but the application must be configured to parse it. Option C (Classic Load Balancer) does not preserve IP. Option D (Gateway Load Balancer) is for third-party appliances.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Network Load Balancer (NLB)
Why this is correct
Preserves the source IP address of the client.
- ✗
Application Load Balancer (ALB)
Why it's wrong here
Preserves IP via X-Forwarded-For header, but requires application changes.
- ✗
Classic Load Balancer (CLB)
Why it's wrong here
Does not preserve client IP.
- ✗
Gateway Load Balancer (GWLB)
Why it's wrong here
Used for third-party virtual appliances, not for preserving client IP.
Go deeper
Related to this question
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 →
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.