exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C02 exam

Exam AWS Certified Solutions Architect - Associate SAA-C02 topic 1 question 5 discussion

A company has a legacy application that processes data in two parts. The second part of the process takes longer than the first, so the company has decided to rewrite the application as two microservices running on Amazon ECS that can scale independently.
How should a solutions architect integrate the microservices?

  • A. Implement code in microservice 1 to send data to an Amazon S3 bucket. Use S3 event notifications to invoke microservice 2.
  • B. Implement code in microservice 1 to publish data to an Amazon SNS topic. Implement code in microservice 2 to subscribe to this topic.
  • C. Implement code in microservice 1 to send data to Amazon Kinesis Data Firehose. Implement code in microservice 2 to read from Kinesis Data Firehose.
  • D. Implement code in microservice 1 to send data to an Amazon SQS queue. Implement code in microservice 2 to process messages from the queue.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Mynwerker
Highly Voted 3 years, 9 months ago
I think it's D, would be more cost effective and fault tolerant as well as loose coupling.
upvoted 73 times
...
fwfw
Highly Voted 3 years, 9 months ago
I think it's D, SQS is a fully managed queuing service that enables you to decouple and scale micro-services, distributed systems and server-less applications.
upvoted 28 times
lehcti
3 years, 9 months ago
I think also D
upvoted 4 times
...
...
President_Mo
Most Recent 1 year, 3 months ago
The correct answer is A. Implement code in microservice 1 to send data to an Amazon S3 bucket. Use S3 event notifications to invoke microservice 2. This approach involves leveraging Amazon S3 event notifications to trigger the execution of microservice 2 whenever new data is uploaded to the S3 bucket by microservice 1. This decouples the communication between the microservices and ensures asynchronous processing, making it a suitable solution for integrating the two microservices in a scalable and loosely coupled manner.
upvoted 1 times
...
48cd959
1 year, 3 months ago
Selected Answer: D
Answer -D, As SQS will be cost effective solution specially when storing the messages momentarily and process them.
upvoted 1 times
...
Judio
2 years, 2 months ago
Selected Answer: D
My awnser is D
upvoted 1 times
...
Redtonyeah
2 years, 2 months ago
B, SQS -> SNS
upvoted 1 times
...
Sachin032
2 years, 5 months ago
Selected Answer: D
SQS is fully managed queue service
upvoted 1 times
...
Razii
2 years, 9 months ago
My answer is C
upvoted 1 times
...
Suya
2 years, 10 months ago
My answer is A
upvoted 1 times
...
bikshu
2 years, 10 months ago
will go with D
upvoted 1 times
...
kegham
2 years, 10 months ago
Selected Answer: D
D for sure
upvoted 1 times
...
spoty
3 years, 1 month ago
Selected Answer: D
Decouple so SQS. Also processed in queue.
upvoted 1 times
...
Siraf
3 years, 4 months ago
Answer is D
upvoted 1 times
...
joe2211
3 years, 6 months ago
Selected Answer: D
vote D
upvoted 1 times
...
stdevops
3 years, 7 months ago
Selected Answer: D
It's D because Decoupling
upvoted 4 times
...
woke
3 years, 8 months ago
D. Implement code in microservice 1 to send data to an Amazon SQS queue. Implement code in microservice 2 to process messages from the queue.
upvoted 4 times
...
Guddi
3 years, 8 months ago
Keyword - scale independently or Decoupling an application basically refers to the process of splitting the application in smaller and independent components (often called microservices) Answer - "D"
upvoted 14 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...