Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Question 45 of 456
Free Preview · 456 of 1,519 · questions 1–456 of 1,519 are free. Sign up free to sync your progress across devices.
Select 2 answers.
This question asks for 2 answers, but our data marks only 1. Compare with the community discussion below for the full answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
By adding SQS as a buffer between SNS and Lambda, and updating Lambda to poll from SQS, you build a highly durable and fault-tolerant ingestion workflow that can survive transient failures without data loss.
best solution is to decouple the applications using SQS queue.
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.