SAP-C02 exam dumps

SAP-C02 practice question 103 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 103

Select 2

A company is migrating its monolithic application to AWS and has decided to redesign it using a microservices architecture. The application needs to handle high throughput, provide low-latency responses, and ensure each microservice can scale independently. Additionally, the company requires a fully managed, serverless solution for inter-service communication. Which combination of services should the company use to meet these requirements?

  1. A

    Amazon API Gateway for request routing and Amazon SQS for inter-service communication

  2. B

    Amazon API Gateway for request routing and Amazon EventBridge for inter-service communication

  3. C

    AWS App Mesh for service-to-service communication and Amazon DynamoDB for data storage

  4. D

    Amazon API Gateway for request routing and AWS Lambda for service execution

  5. E

    Amazon API Gateway for request routing and Amazon SNS for inter-service communication

Show answer and explanation

Correct answers: B, D

Explanation

The company's requirements include scalable, low-latency, fully managed, and serverless solutions for microservices communication. Amazon API Gateway is ideal for routing client requests to the appropriate microservices, while AWS Lambda provides serverless service execution. For inter-service communication, Amazon EventBridge is a managed event bus that supports asynchronous communication, which is crucial in microservices architectures. Therefore, combining Amazon API Gateway and AWS Lambda with Amazon EventBridge fulfills the requirements effectively.

  • A. Incorrect.

    Amazon API Gateway is suitable for request routing, but Amazon SQS is better for decoupling and asynchronous communication, not low-latency inter-service communication typically required for microservices.

  • B. Correct.

    Amazon API Gateway is well-suited for request routing, and Amazon EventBridge is a fully managed event bus service that supports asynchronous inter-service communication, making it a suitable choice for microservices architectures.

  • C. Incorrect.

    AWS App Mesh is a service mesh solution for service discovery and communication but does not directly address the need for request routing or fully managed, serverless inter-service communication.

  • D. Correct.

    Amazon API Gateway provides request routing, and AWS Lambda can execute service logic in a serverless and scalable manner, meeting the requirements for microservices.

  • E. Incorrect.

    Amazon API Gateway can handle request routing, but Amazon SNS is primarily used for pub/sub messaging patterns and not optimized for low-latency, direct inter-service communication.

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