exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 941 discussion

A company has a media metadata extraction pipeline running on AWS. Notifications containing a reference to a file in Amazon S3 are sent to an Amazon Simple
Notification Service (Amazon SNS) topic. The pipeline consists of a number of AWS Lambda functions that are subscribed to the SNS topic. The Lambda functions extract the S3 tile and write metadata to an Amazon RDS PostgreSQL DB instance.
Users report that updates to the metadata are sometimes slow to appear or are lost. During these times, the CPU utilization on the database is high and the number of failed Lambda invocations increases.
Which combination of actions should a solutions architect take to help resolve this issue? (Choose two.)

  • A. Enable message delivery status on the SNS topic. Configure the SNS topic delivery policy to enable retries with exponential backoff.
  • B. Create an Amazon Simple Queue Service (Amazon SQS) FIFO queue and subscribe the queue to the SNS topic. Configure the Lambda functions to consume messages from the SQS queue.
  • C. Create an RDS proxy for the RDS instance. Update the Lambda functions to connect to the RDS instance using the proxy.
  • D. Enable the RDS Data API for the RDS instance. Update the Lambda functions to connect to the RDS instance using the Data API.
  • E. Create an Amazon Simple Queue Service (Amazon SQS) standard queue for each Lambda function and subscribe the queues to the SNS topic. Configure the Lambda functions to consume messages from their respective SQS queue.
Show Suggested Answer Hide Answer
Suggested Answer: CE 🗳️

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
Rocketeer
Highly Voted 2 years, 9 months ago
I think BC. Having single SQS queue is better than multiple SQS queues. Hence don't like E.
upvoted 5 times
...
astalavista1
Highly Voted 2 years, 8 months ago
Selected Answer: CE
CE With SNS in front of SQS, you can have multiple messages processed and RDS Proxy handles multiple database connections.
upvoted 5 times
...
wassb
Most Recent 2 years, 7 months ago
Selected Answer: CE
Typical Fan-out architecture
upvoted 3 times
wassb
2 years, 7 months ago
with RDS proxy to manage the multiple connection
upvoted 1 times
...
...
dcdcdc3
2 years, 8 months ago
Selected Answer: CE
B would create an issue if multiple lambdas are picking from one queue as other lambdas wouldn't know if an item is picked? https://stackoverflow.com/questions/62349013/triggering-multiple-lambda-functions-from-one-sqs-trigger
upvoted 2 times
...
JayF88
2 years, 8 months ago
Selected Answer: BC
I'm not seeing anything wrong with B as well, BCE could work
upvoted 1 times
superuser784
2 years, 7 months ago
question says that current design is SNS -> (several lambda function's ) which works because the SNS delivers the same message to EACH lambda, if you choose B the design would be SNS -> SQS FIFO -> (several lambda function's ), with this design the lambda function will compite for the messages and the initial solution each Lambda has its OWN message, Option E is the correct one because you will have SNS -> several SQS -> a lambda for each SQS which is the fanout pattern, with this each lambda will have its own message again and will not compite. Solutions C E
upvoted 1 times
...
...
SGES
2 years, 9 months ago
CE https://aws.amazon.com/rds/proxy/
upvoted 3 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 ...