Courseiva
Design for New SolutionsmediumMultiple SelectObjective-mapped

SAP-C02 Design for New Solutions Practice Question

A company is designing a new microservices architecture using Amazon ECS with Fargate. The services need to communicate with each other. Which THREE mechanisms can be used for service-to-service communication? (Choose THREE.)

⚠ Common exam trap

A common mix-up: candidates confuse asynchronous messaging (SQS) or data stores (DynamoDB) with direct service-to-service communication, overlooking that microservices typically require synchronous HTTP/gRPC calls or service mesh patterns for real-time interactions.

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

Amazon API Gateway as a front end

Amazon API Gateway acts as a front-end proxy that can route requests to ECS Fargate services, enabling synchronous service-to-service communication via RESTful or WebSocket APIs. It handles authentication, throttling, and request transformation, making it a suitable mechanism for external or internal service calls.

Answer analysis

Option-by-option breakdown

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

  • Amazon SQS queues between services

    Why it's wrong here

    SQS is for async messaging, not direct service communication.

  • Amazon API Gateway as a front end

    Why this is correct

    API Gateway can route to internal services.

  • Application Load Balancer (ALB) as a service mesh

    Why this is correct

    ALB can route traffic to multiple services.

  • AWS Cloud Map service discovery

    Why this is correct

    Cloud Map provides DNS-based service discovery for ECS.

  • Amazon DynamoDB as a communication channel

    Why it's wrong here

    DynamoDB is a database, not for communication.

About these practice questions

This SAP-C02 question is part of Courseiva's 1,660-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.