Question 595 of 1,746
Design for New SolutionshardMultiple SelectObjective-mapped

Quick Answer

The correct combination is AWS App Mesh, AWS Cloud Map, and AWS Certificate Manager (ACM). App Mesh provides a service mesh that handles mTLS encryption and authentication between microservices running on ECS Fargate, while Cloud Map enables dynamic service discovery by allowing each service instance to register and be located via DNS or API calls. ACM supplies and manages the X.509 certificates that App Mesh uses to enforce mutual TLS, ensuring that only authenticated services can communicate. On the AWS Certified Solutions Architect Professional SAP-C02 exam, this scenario tests your understanding of how to secure east-west traffic in a microservices architecture without relying on a traditional load balancer. A common trap is to select AWS PrivateLink or a Network Load Balancer for service discovery, but those are for external access, not internal service-to-service lookup. Remember the mnemonic "ACC" for App Mesh, Cloud Map, and Certificate Manager—think of it as the three keys to unlocking secure, discoverable Fargate services.

SAP-C02 Design for New Solutions Practice Question

This SAP-C02 practice question tests your understanding of design for new solutions. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company is deploying a microservices architecture on Amazon ECS with Fargate. They need to enable service-to-service communication with mutual TLS (mTLS) and service discovery. Which combination of services should they use? (Select THREE.)

Question 1hardmulti select
Read the full NAT/PAT explanation →

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

AWS Certificate Manager (ACM)

AWS App Mesh provides a service mesh that supports mTLS for encrypting and authenticating service-to-service communication within an ECS Fargate environment. AWS Cloud Map enables service discovery by allowing microservices to register and discover each other via DNS or API calls. AWS Certificate Manager (ACM) is used to provision and manage the X.509 certificates required for mTLS, which are integrated with App Mesh to enforce mutual authentication.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • AWS Certificate Manager (ACM)

    Why this is correct

    ACM provides certificates for mTLS.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Amazon Route 53

    Why it's wrong here

    Route 53 is for DNS, not service discovery in mesh.

  • AWS Direct Connect

    Why it's wrong here

    Direct Connect is for hybrid connectivity.

  • AWS App Mesh

    Why this is correct

    App Mesh enables mTLS and traffic control.

    Related concept

    Read the scenario before looking for a memorised answer.

  • AWS Cloud Map

    Why this is correct

    Cloud Map provides service discovery.

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse Amazon Route 53's public DNS capabilities with the internal service discovery provided by AWS Cloud Map, or they assume Direct Connect is needed for secure communication, overlooking that mTLS is handled at the application layer by App Mesh and ACM.

Detailed technical explanation

How to think about this question

Under the hood, App Mesh uses Envoy sidecar proxies injected into each ECS task to intercept traffic and enforce mTLS using certificates from ACM, which are distributed via AWS Secrets Manager or ACM Private CA. Cloud Map supports both DNS-based and API-based service discovery, with health checks that automatically deregister unhealthy instances, ensuring traffic only reaches healthy endpoints. A real-world scenario is a multi-service payment platform where each service must authenticate the caller's certificate before processing transactions, preventing unauthorized access even within the VPC.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related SAP-C02 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free SAP-C02 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this SAP-C02 question test?

Design for New Solutions — This question tests Design for New Solutions — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: AWS Certificate Manager (ACM) — AWS App Mesh provides a service mesh that supports mTLS for encrypting and authenticating service-to-service communication within an ECS Fargate environment. AWS Cloud Map enables service discovery by allowing microservices to register and discover each other via DNS or API calls. AWS Certificate Manager (ACM) is used to provision and manage the X.509 certificates required for mTLS, which are integrated with App Mesh to enforce mutual authentication.

What should I do if I get this SAP-C02 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

5 more ways this is tested on SAP-C02

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A company is designing a containerized microservices architecture on Amazon ECS. The services must be able to discover each other using DNS names. Which AWS service should the company use for service discovery?

medium
  • A.AWS Cloud Map
  • B.Amazon Route 53 Resolver
  • C.Elastic Load Balancing (ELB)
  • D.Amazon Elastic Container Registry (ECR)

Why A: AWS Cloud Map is the correct choice because it provides a fully managed service discovery solution that integrates natively with Amazon ECS. It allows microservices to register their DNS names and health checks, enabling other services to discover them via DNS queries or API calls. This directly supports the requirement for containerized services to find each other using DNS names within an ECS cluster.

Variation 2. A company is designing a new microservices architecture on Amazon ECS with Fargate. The services need to communicate with each other securely. The company wants to use service discovery so that services can find each other using DNS names. Which AWS service should the company use?

medium
  • A.AWS PrivateLink with VPC endpoint services.
  • B.Amazon Route 53 private hosted zones with DNS records for each service.
  • C.AWS Cloud Map with namespaces and service instances.
  • D.Elastic Load Balancing with internal load balancers for each service.

Why C: Option C is correct because AWS Cloud Map provides service discovery for ECS services, allowing them to register and discover each other via DNS or API calls. Option A is wrong because Route 53 private hosted zones can be used but Cloud Map is specifically designed for service discovery. Option B is wrong because ELB is for load balancing, not service discovery. Option D is wrong because VPC endpoints are for accessing AWS services privately, not for service discovery.

Variation 3. A company is designing a microservices architecture using Amazon ECS with Fargate. The services need to communicate with each other. The company wants to implement service discovery and load balancing at the application layer. Which TWO services should the company use?

medium
  • A.Amazon API Gateway
  • B.Network Load Balancer (NLB)
  • C.AWS Cloud Map
  • D.Application Load Balancer (ALB)
  • E.Amazon Route 53

Why C: AWS Cloud Map provides service discovery, and Application Load Balancer provides application-layer load balancing. Option B (NLB) is layer 4. Option C (Route 53) is for DNS. Option D (API Gateway) is for API management.

Variation 4. 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.)

medium
  • A.Amazon SQS queues between services
  • B.Amazon API Gateway as a front end
  • C.Application Load Balancer (ALB) as a service mesh
  • D.AWS Cloud Map service discovery
  • E.Amazon DynamoDB as a communication channel

Why B: Options A, B, and C are correct because service discovery, ALB, and API Gateway are common patterns for service communication. Option D is incorrect because SQS is for asynchronous messaging, not direct communication. Option E is incorrect because DynamoDB is a database, not a communication mechanism.

Variation 5. A company is designing a new microservices architecture using Amazon ECS with the Fargate launch type. The services need to communicate securely within a VPC. The company requires that inter-service communication is encrypted and that the services can discover each other using DNS names. Which THREE steps should the company take to meet these requirements?

hard
  • A.Deploy an Application Load Balancer in front of each service for inter-service communication.
  • B.Create a VPC peering connection between the services' subnets.
  • C.Enable AWS Cloud Map for service discovery.
  • D.Configure the ECS task definitions to use the awsvpc network mode.
  • E.Create VPC endpoints for Amazon ECR and Amazon S3 to allow Fargate tasks to pull images.

Why C: Option A is correct because Service Discovery enables DNS-based service discovery. Option B is correct because ECS tasks can use service discovery names via DNS. Option D is correct because VPC endpoints for ECR and other services are needed for Fargate to pull images. Option C is wrong because VPC Peering is not needed; services are in the same VPC. Option E is wrong because an Application Load Balancer is not required for inter-service communication; service discovery and direct communication suffice.

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.