exam questions

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

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

Exam AWS Certified Solutions Architect - Associate SAA-C03 topic 1 question 195 discussion

A company’s order system sends requests from clients to Amazon EC2 instances. The EC2 instances process the orders and then store the orders in a database on Amazon RDS. Users report that they must reprocess orders when the system fails. The company wants a resilient solution that can process orders automatically if a system outage occurs.

What should a solutions architect do to meet these requirements?

  • A. Move the EC2 instances into an Auto Scaling group. Create an Amazon EventBridge (Amazon CloudWatch Events) rule to target an Amazon Elastic Container Service (Amazon ECS) task.
  • B. Move the EC2 instances into an Auto Scaling group behind an Application Load Balancer (ALB). Update the order system to send messages to the ALB endpoint.
  • C. Move the EC2 instances into an Auto Scaling group. Configure the order system to send messages to an Amazon Simple Queue Service (Amazon SQS) queue. Configure the EC2 instances to consume messages from the queue.
  • D. Create an Amazon Simple Notification Service (Amazon SNS) topic. Create an AWS Lambda function, and subscribe the function to the SNS topic. Configure the order system to send messages to the SNS topic. Send a command to the EC2 instances to process the messages by using AWS Systems Manager Run Command.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
Guru4Cloud
Highly Voted 1 year, 2 months ago
Selected Answer: C
The key reasons are: Using an Auto Scaling group ensures the EC2 instances that process orders are highly available and scalable. With SQS, the orders are decoupled from the instances that process them via asynchronous queuing. If instances fail or go down, the orders remain in the queue until new instances can pick them up. This provides automated resilience. Any failed processing can retry by resending messages back to the queue
upvoted 15 times
...
awsgeek75
Highly Voted 10 months ago
Selected Answer: C
A uses ECS tasks for something which makes no sense. B does not solve the reliable processing of orders C SQS for sending a message and processing it reliable D is like reinventing SQS with SNS and Lambda mumbo jumbo
upvoted 5 times
...
satyaammm
Most Recent 2 months, 1 week ago
Selected Answer: C
SQS queues are the most suitable here.
upvoted 1 times
...
jjcode
10 months, 3 weeks ago
How does SNS capture the requests after the application fails? Those messages are ephemeral by nature and will not hold the data like SQS would. In theory one could create a subscription based service using SNS to stream the data to a service that could store the request, but why...
upvoted 2 times
pentium75
10 months ago
That's one of the reasons why D is wrong (not to mention the "Systems Manager Run Command" nonsense).
upvoted 3 times
awsgeek75
10 months ago
I stopped reading option D after SNS and Lambda.... it was sounding nonsense. SQS is default reliability delivery system for me.
upvoted 2 times
...
...
...
pavospam
11 months ago
Selected Answer: C
it's C... 4 answers wrong I have found
upvoted 1 times
...
Ruffyit
11 months, 3 weeks ago
C. Option D suggests using Amazon SNS and AWS Lambda, which can be part of an event-driven architecture but may not be the best fit for ensuring the automatic processing of orders during system outages. It relies on an additional AWS Systems Manager Run Command step, which adds complexity and may not be as reliable as using SQS for queuing messages.
upvoted 2 times
...
David_Ang
1 year ago
Selected Answer: C
"C" because they need to store the request and then be process by the system if it fails, SNS does not have that capacity. another mistake from the admin
upvoted 2 times
...
vijaykamal
1 year, 1 month ago
Selected Answer: C
Option D suggests using Amazon SNS and AWS Lambda, which can be part of an event-driven architecture but may not be the best fit for ensuring the automatic processing of orders during system outages. It relies on an additional AWS Systems Manager Run Command step, which adds complexity and may not be as reliable as using SQS for queuing messages.
upvoted 2 times
...
TariqKipkemei
1 year, 1 month ago
Selected Answer: C
Move the EC2 instances into an Auto Scaling group. Configure the order system to send messages to an Amazon Simple Queue Service (Amazon SQS) queue. Configure the EC2 instances to consume messages from the queue.
upvoted 2 times
...
Guru4Cloud
1 year, 2 months ago
Selected Answer: C
C is the correct answer. Using an Auto Scaling group with EC2 instances behind a load balancer provides high availability and scalability. Sending the orders to an SQS queue decouples the ordering system from the processing system. The EC2 instances can poll the queue for new orders and process them even during an outage. Any failed orders will go back to the queue for reprocessing.
upvoted 2 times
...
cookieMr
1 year, 4 months ago
Selected Answer: C
By moving the EC2 into an ASG and configuring them to consume messages from an SQS, the system can decouple the order processing from the order system itself. This allows the system to handle failures and automatically process orders even if the order system or EC2 experience outages. A. Using an ASG with an EventBridge rule targeting an ECS task does not provide the necessary decoupling and message queueing for automatic order processing during outages. B. Moving the EC2 instances into an ASG behind an ALB does not address the need for message queuing and automatic processing during outages. D. Using SNS and Lambda can provide notifications and orchestration capabilities, but it does not provide the necessary message queueing and consumption for automatic order processing during outages. Additionally, using Systems Manager Run Command to send commands for order processing adds complexity and does not provide the desired level of automation.
upvoted 4 times
...
pisica134
1 year, 4 months ago
D is so unnecessary .... this confuses people
upvoted 2 times
cookieMr
1 year, 4 months ago
Thx Allmightly for voting system! Answers provided by the site (and not by community) are 20% wrong.
upvoted 4 times
...
...
markw92
1 year, 4 months ago
The answer D is so complex and unnecessary. Why moderator is not providing an explanation of answers when there are heavy conflicts. These kind of answers put your knowledge in question which is not good going into the exam.
upvoted 1 times
pentium75
10 months ago
The "Correct Answers" for this exam are obviously determined by picking a random letter between A and D.
upvoted 2 times
...
...
gx2222
1 year, 6 months ago
Selected Answer: C
To meet the company's requirements of having a resilient solution that can process orders automatically in case of a system outage, the solutions architect needs to implement a fault-tolerant architecture. Based on the given scenario, a potential solution is to move the EC2 instances into an Auto Scaling group and configure the order system to send messages to an Amazon Simple Queue Service (Amazon SQS) queue. The EC2 instances can then consume messages from the queue.
upvoted 3 times
...
k33
1 year, 7 months ago
Selected Answer: C
Answer : C
upvoted 2 times
...
nickolaj
1 year, 8 months ago
Selected Answer: C
C. Move the EC2 instances into an Auto Scaling group. Configure the order system to send messages to an Amazon Simple Queue Service (Amazon SQS) queue. Configure the EC2 instances to consume messages from the queue. To meet the requirements of the company, a solutions architect should ensure that the system is resilient and can process orders automatically in the event of a system outage. To achieve this, moving the EC2 instances into an Auto Scaling group is a good first step. This will enable the system to automatically add or remove instances based on demand and availability.
upvoted 3 times
nickolaj
1 year, 8 months ago
However, it's also necessary to ensure that orders are not lost if a system outage occurs. To achieve this, the order system can be configured to send messages to an Amazon Simple Queue Service (Amazon SQS) queue. SQS is a highly available and durable messaging service that can help ensure that messages are not lost if the system fails. Finally, the EC2 instances can be configured to consume messages from the queue, process the orders and then store them in the database on Amazon RDS. This approach ensures that orders are not lost and can be processed automatically if a system outage occurs. Therefore, option C is the correct answer.
upvoted 3 times
nickolaj
1 year, 8 months ago
Option A is incorrect because it suggests creating an Amazon EventBridge rule to target an Amazon Elastic Container Service (ECS) task. While this may be a valid solution in some cases, it is not necessary in this scenario. Option B is incorrect because it suggests moving the EC2 instances into an Auto Scaling group behind an Application Load Balancer (ALB) and updating the order system to send messages to the ALB endpoint. While this approach can provide resilience and scalability, it does not address the issue of order processing and the need to ensure that orders are not lost if a system outage occurs. Option D is incorrect because it suggests using Amazon Simple Notification Service (SNS) to send messages to an AWS Lambda function, which will then send a command to the EC2 instances to process the messages by using AWS Systems Manager Run Command. While this approach may work, it is more complex than necessary and does not take advantage of the durability and availability of SQS.
upvoted 3 times
...
...
...
LuckyAro
1 year, 9 months ago
Selected Answer: C
My question is; can orders be sent directly into an SQS queue ? How about the protocol for management of the messages from the queue ? can EC2 instances be programmed to process them like Lambda ?
upvoted 1 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago