SAP-C02 Practice Question: Accelerate Workload Migration and Modernization
A company is migrating a legacy application that uses a proprietary binary protocol over TCP. They want to modernize to a containerized microservices architecture on Amazon EKS. The protocol must be preserved for backward compatibility. Which approach should they take?
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
✓
Deploy a sidecar proxy container in the same pod to translate the protocol
A sidecar proxy running on the same pod as the legacy container can handle the proprietary protocol and translate it to HTTP for other microservices. Option A (API Gateway) requires HTTP, which is not suitable. Option C (Refactor the protocol) is too risky and time-consuming. Option D (Network Load Balancer) cannot translate protocols; it only forwards TCP traffic at layer 4.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use Amazon API Gateway to expose the legacy service as a REST API
Why it's wrong here
API Gateway requires HTTP, but the legacy uses a proprietary binary protocol over TCP. Cannot translate the protocol directly.
- ✓
Deploy a sidecar proxy container in the same pod to translate the protocol
Why this is correct
Correct approach. The sidecar can handle the proprietary protocol and translate it to HTTP for other microservices while preserving backward compatibility.
- ✗
Refactor the legacy application to use HTTP
Why it's wrong here
This would break backward compatibility and is risky and time-consuming. Not recommended.
- ✗
Use a Network Load Balancer to route TCP traffic to the legacy container
Why it's wrong here
NLB can route TCP traffic but cannot translate protocols. The microservices would still need to understand the legacy protocol.
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.