SAP-C02 exam dumps

SAP-C02 practice question 475 of 678

AWS Certified Solutions Architect - Professional. Professional level, Amazon Web Services. Free question with the correct answer and a full explanation.

SAP-C02 Question 475

Single answer

Your company is migrating a critical monolithic application to AWS. The application has a high volume of traffic and is sensitive to latency. As part of the migration, the team has decided to break the application into microservices and deploy them across multiple Availability Zones using Amazon ECS with Fargate. The microservices need to communicate securely with each other, and you must ensure minimal operational overhead while enabling secure service-to-service communication. Which solution should you implement?

  1. A

    Use Amazon API Gateway to manage and secure communication between the microservices.

  2. B

    Implement an Application Load Balancer (ALB) for each microservice to manage communication.

  3. C

    Enable AWS App Mesh to provide service discovery, secure communication, and traffic control between the services.

  4. D

    Manually configure security groups for each ECS service to secure communication.

Show answer and explanation

Correct answer: C

Explanation

AWS App Mesh is the most suitable solution for securely managing communication between microservices in a distributed architecture. It simplifies service-to-service communication with built-in features such as secure communication (mTLS), traffic routing, and monitoring, reducing operational overhead. Other options either do not meet the requirements or introduce unnecessary complexity and cost.

  • A. Incorrect.

    Amazon API Gateway is typically used to expose APIs to external clients or manage API traffic. While it can manage secure communication, it is not an ideal solution for service-to-service communication in a microservices architecture within a VPC.

  • B. Incorrect.

    Using individual Application Load Balancers for each microservice increases operational complexity and cost. It is not a scalable or efficient solution for service-to-service communication.

  • C. Correct.

    AWS App Mesh is specifically designed to manage service-to-service communication in microservices architectures. It provides features like service discovery, secure communication using mutual TLS (mTLS), and traffic control, all with minimal operational overhead.

  • D. Incorrect.

    Manually configuring security groups for each ECS service can secure communication, but it requires significant manual effort and lacks advanced features like service discovery and traffic control.

Timed practice exam

Take a SAP-C02 practice test under exam conditions

75 questions in 180 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam