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

A company has a data ingestion workflow that consists of the following:
• An Amazon Simple Notification Service (Amazon SNS) topic for notifications about new data deliveries
• An AWS Lambda function to process the data and record metadata
The company observes that the ingestion workflow fails occasionally because of network connectivity issues. When such a failure occurs, the Lambda function does not ingest the corresponding data unless the company manually reruns the job.
Which combination of actions should a solutions architect take to ensure that the Lambda function ingests all data in the future? (Choose two.)

  • A. Deploy the Lambda function in multiple Availability Zones.
  • B. Create an Amazon Simple Queue Service (Amazon SQS) queue, and subscribe it to the SNS topic.
  • C. Increase the CPU and memory that are allocated to the Lambda function.
  • D. Increase provisioned throughput for the Lambda function.
  • E. Modify the Lambda function to read from an Amazon Simple Queue Service (Amazon SQS) queue.
Show Suggested Answer Hide Answer
Suggested Answer: BE 🗳️

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
Incognito013
Highly Voted 2 years, 2 months ago
A, C, D options are out, since Lambda is fully managed service which provides high availability and scalability by its own Answers are B and E
upvoted 27 times
Oluseun
1 year, 10 months ago
There are times you do have to increase lambda memory for improved performance though. But not in this case.
upvoted 4 times
...
...
Sinaneos
Highly Voted 2 years, 3 months ago
Selected Answer: BE
BE so that the lambda function reads the SQS queue and nothing gets lost
upvoted 12 times
...
AshishDhole
Most Recent 1 day ago
Selected Answer: BE
best solution is to decouple the applications using SQS queue.
upvoted 1 times
...
Rcosmos
3 days, 11 hours ago
Selected Answer: BE
Explicação: Criar uma fila do SQS e inscrevê-la no tópico do SNS (Opção B): Quando o tópico do SNS envia notificações, elas são colocadas na fila do SQS. Isso garante que as mensagens sejam armazenadas de forma durável na fila, mesmo que a função do Lambda não esteja disponível para processá-las imediatamente. Modificar a função do Lambda para ler da fila do SQS (Opção E): A função do Lambda é configurada para ser acionada por mensagens na fila do SQS. Se ocorrer um problema de conectividade ou falha na função, as mensagens permanecerão na fila do SQS até que sejam processadas com sucesso. Isso evita a perda de mensagens e elimina a necessidade de intervenção manual.
upvoted 1 times
...
satyaammm
1 week, 6 days ago
Selected Answer: BE
Enabling SQS with Lambda is the solution here as we need all data to be ingested in future.
upvoted 1 times
...
MGKYAING
2 weeks, 4 days ago
Selected Answer: BE
B. Create an Amazon Simple Queue Service (Amazon SQS) queue, and subscribe it to the SNS topic: By adding an SQS queue between the SNS topic and the Lambda function, you decouple the notification and processing layers. Messages are stored reliably in the SQS queue, and they are not lost even if the Lambda function fails temporarily due to network connectivity or other issues. E. Modify the Lambda function to read from an Amazon Simple Queue Service (Amazon SQS) queue: Configuring the Lambda function to poll the SQS queue ensures that messages are processed asynchronously. If a processing failure occurs, the message remains in the queue and can be retried without manual intervention. This ensures all data is eventually processed.
upvoted 1 times
...
friday_test
2 months ago
B,E : SQS is a pull mechanism broker, with at least one delivery, so by using SQS no messages get lost.
upvoted 1 times
...
Chr1s_Mrg
3 months, 2 weeks ago
Selected Answer: BE
Create an Amazon Simple Queue Service (Amazon SQS) queue, and subscribe it to the SNS topic: This will decouple the data ingestion process and ensure that messages are not lost if the Lambda function fails to process them immediately Modify the Lambda function to read from an Amazon Simple Queue Service (Amazon SQS) queue: This ensures that the Lambda function can process the messages from the SQS queue, providing a reliable way to handle data ingestion even if there are network issues.
upvoted 1 times
...
ChymKuBoy
7 months ago
Selected Answer: BE
BE for sure
upvoted 1 times
...
awsgeek75
1 year ago
Selected Answer: BE
BE is correct as SQS ensures the messages are stored in a queue for processing. A: No issue with Lambda availability so this solution is wrong C: No issues with CPU or memory so no value added by this step also D: This is not a provisioning issue so provisioning more Lambda won't solve the re-execution issues. The missed messages will still be lost
upvoted 4 times
...
OmegaLambda7XL9
1 year, 1 month ago
Since network timeout is the issue here, introduce SQS and read from it , that way when network goes down, data still remains in the queue and when connectivity is back, the lambda function can continue from the last data in the queue
upvoted 3 times
SaurabhTiwari1
4 months, 3 weeks ago
Nice explaination
upvoted 2 times
SaurabhTiwari1
4 months, 3 weeks ago
explanation*
upvoted 1 times
...
...
...
Ruffyit
1 year, 2 months ago
the correct combination of actions to ensure that the Lambda function ingests all data in the future is to create an SQS queue and subscribe it to the SNS topic (option B) and modify the Lambda function to read from the SQS queue (option E).
upvoted 1 times
...
tom_cruise
1 year, 3 months ago
Selected Answer: BE
Key: network connectivity issues
upvoted 2 times
...
awashenko
1 year, 3 months ago
Selected Answer: BE
This one told you the answer in the answer choices. Just add the word THEN between B and E and there ya go.
upvoted 1 times
...
Abdou1604
1 year, 5 months ago
B and E , the FAN out model , SQS will help to retrie the work and delayed processing
upvoted 1 times
...
Guru4Cloud
1 year, 5 months ago
Selected Answer: BE
B) Create an Amazon Simple Queue Service (Amazon SQS) queue, and subscribe it to the SNS topic. E) Modify the Lambda function to read from an Amazon Simple Queue Service (Amazon SQS) queue.
upvoted 1 times
...
TariqKipkemei
1 year, 5 months ago
Selected Answer: BE
BE is most logical answer.
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