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 395 discussion

A company has an API-based inventory reporting application running on Amazon EC2 instances. The application stores information in an Amazon DynamoDB table. The company's distribution centers have an on-premises shipping application that calls an API to update the inventory before printing shipping labels. The company has been experiencing application interruptions several times each day, resulting in lost transactions.
What should a solutions architect recommend to improve application resiliency?

  • A. Modify the shipping application to write to a local database.
  • B. Modify the application APIs to run serverless using AWS Lambda
  • C. Configure Amazon API Gateway to call the EC2 inventory application APIs.
  • D. Modify the application to send inventory updates using Amazon Simple Queue Service (Amazon SQS).
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
NJo
Highly Voted 3 years, 7 months ago
'Application interruptions' - So application is missing inventory updates as it seems. If the distrubution center sends updates to SQS where it will be buffered if the application is facing interruptions. Application can then resume processing from SQS once it's back up and running. I'll go with D.
upvoted 67 times
aesr10
3 years, 7 months ago
Me too
upvoted 1 times
...
robertomartinez
3 years, 7 months ago
I definitely agree, without information about the cause of the interruptions, you can only say D so that the application is resilient to interruption because the data is buffered in queue. Choosing lambda (B), hence making the application more available is making too much assumptions about the untold nature of the interruption. Availability is different from resiliency (deal with errors), the answer is D
upvoted 9 times
noahsark
3 years, 6 months ago
cause is on-premises shipping application. AWS Architects would love to move stuff from on-prem to AWS Cloud for $. :D
upvoted 2 times
...
...
done7
3 years, 5 months ago
The answer is B There is no AWS mechanism to automatically publish SQS messages to DynamoDB; but you can use an AWS Lambda event source mapping to automatically pull SQS messages and invoke a Lambda function
upvoted 6 times
...
DS01
3 years, 6 months ago
Is the reporting app missing inventory updates or the on premise shipping app is failing to send inventory updates because of application interruptions, not able to understand.
upvoted 3 times
...
...
weilun_tann
Highly Voted 3 years, 4 months ago
D. - Outages happen to the inventory API hosted on EC2 instances, NOT the on-prem shipping applications A. Modify the shipping application to write to a local database. - Wrong. The inventory API must be called to update the inventory, why would store it locally? B. Modify the application APIs to run serverless using AWS Lambda - Wrong. If the EC2 instance goes down after invoking the Lambda function, missed transactions will still happen C. Configure Amazon API Gateway to call the EC2 inventory application APIs. - Wrong. Doesn't matter who calls the API - the EC2 instances can still go down while processing the request, resulting in missed transactions D. Modify the application to send inventory updates using Amazon Simple Queue Service (Amazon SQS). - Correct. If the EC2 instance goes down while processing the request, the visibility timeout on the consumed message will expire, and become visible again for processing by another healthy instance
upvoted 26 times
Tonero2016
2 years, 10 months ago
AS much as I know about Amazon SQS, it cannot publish/send messages. An AWS service consumes messages from the buffer. i stand to be corrected if i am missing out anything
upvoted 1 times
...
mazaukr
2 years, 11 months ago
B.Modify the application APIs to run serverless using AWS Lambda - I guess it means refactor an application and move from EC2 into the Lambda.
upvoted 4 times
ProtonUser
2 years, 9 months ago
even if you refactor the application and have it use lambda instead of EC2s, you can still hit a plateau with the number of concurrent requests per second that you can make to lambda. that means you could still loose transactions if you have more than 1000 transactions per second.
upvoted 1 times
...
...
...
BECAUSE
Most Recent 1 year, 11 months ago
Selected Answer: D
D is the answer
upvoted 1 times
...
CorinaGabriela
2 years, 8 months ago
Selected Answer: D
Instruction is clear for architect role
upvoted 1 times
...
queen101
2 years, 9 months ago
DDDDDDDDDDDDDD
upvoted 1 times
...
Alfene
2 years, 9 months ago
Selected Answer: D
D is correct
upvoted 1 times
...
marklovesaws143
2 years, 9 months ago
Selected Answer: D
DDDDDDDDDDDDDDDDDD
upvoted 1 times
...
jyrajan69
2 years, 10 months ago
How do you 'send' using SQS? It works on polling, so based on the wording cannot be D,must be B
upvoted 1 times
...
slcheng
2 years, 10 months ago
Selected Answer: B
propose to increase the resilience of an application? B make sense for this.
upvoted 1 times
...
etheng1970
2 years, 10 months ago
Selected Answer: D
The answer is D, this question is about loosely couple architecture. Why SQS will store the message until it is delete.
upvoted 1 times
...
GK1982
3 years ago
Selected Answer: A
Considering that the on-premise shipping application need to continue with Business of shipping label and can't rely/retry on API, it's best to write it in local database which can withstand any failure including any network issue (in case of SQS, it still has to make a API call, if network issue, this can't succeed and transaction would be lost)
upvoted 1 times
...
zaxzax292
3 years, 2 months ago
Should be D. https://aws.amazon.com/sqs/features/ Resiliency: When part of your system fails, it doesn’t need to take the entire system down. Message queues decouple components of your system, so if a process that is reading messages from the queue fails, messages can still be added to the queue to be processed when the system recovers.
upvoted 1 times
...
sylax
3 years, 2 months ago
D - SQS allows messages to stay in queue until there's an available resource to process the message.
upvoted 1 times
...
osel
3 years, 3 months ago
SQS can address the On-Prem Shipping App resiliency using App decoupling to solve the missed transaction issue. The API-based Inventory Reporting App then can poll the SQS queue to process & update to DynamoDB.
upvoted 2 times
...
Natew
3 years, 4 months ago
Selected Answer: D
I'd go with D
upvoted 1 times
...
Dsb86
3 years, 5 months ago
Selected Answer: D
Due to lack of information about what app is being interrupted, SQS seems to be always a good solution to decouple applications and to not lose transactions/messages
upvoted 2 times
...
vraj76
3 years, 5 months ago
organization has seen application outages, resulting in missed transactions. "Application outage causing the missed transaction....." point to be noted
upvoted 2 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