• AWS SAA-C03 #108


    A company has an automobile sales website that stores its listings in a database on Amazon RDS. When an automobile is sold, the listing needs to be removed from the website and the data must be sent to multiple target systems.
    Which design should a solutions architect recommend?

    A. Create an AWS Lambda function triggered when the database on Amazon RDS is updated to send the information to an Amazon Simple Queue Service (Amazon SQS) queue for the targets to consume.
    B. Create an AWS Lambda function triggered when the database on Amazon RDS is updated to send the information to an Amazon Simple Queue Service (Amazon SQS) FIFO queue for the targets to consume.
    C. Subscribe to an RDS event notification and send an Amazon Simple Queue Service (Amazon SQS) queue fanned out to multiple Amazon Simple Notification Service (Amazon SNS) topics. Use AWS Lambda functions to update the targets.
    D. Subscribe to an RDS event notification and send an Amazon Simple Notification Service (Amazon SNS) topic fanned out to multiple Amazon Simple Queue Service (Amazon SQS) queues. Use AWS Lambda functions to update the targets.


    Option D is the best choice.

    Subscribe to an RDS event notification and send an Amazon Simple Notification Service (Amazon SNS) topic fanned out to multiple Amazon Simple Queue Service (Amazon SQS) queues. Use AWS Lambda functions to update the targets.

    This design allows for high throughput, reliable delivery to multiple systems, and the ability to process messages in parallel. The use of Amazon SNS allows for the fanout scenario to multiple Amazon SQS queues, and AWS Lambda can be used to process the messages from the SQS queues to update the target systems. This ensures that all target systems are updated when an automobile is sold and the listing is removed from the website.

    Please note that while AWS Lambda can be triggered by an Amazon RDS update, it’s not a recommended practice because it can lead to potential issues such as function throttling and longer execution times. Therefore, options A and B are not ideal. Option C is not feasible because Amazon SQS cannot fan out to multiple Amazon SNS topics.

    Remember, it’s always important to choose a solution that ensures reliable delivery and suits your specific use case.

  • 相关阅读:
    云原生(二十八) | Kubernetes篇之自建高可用k8s集群搭建
    【Linux】zabbix告警执行远程脚本报错Unsupported item key.问题汇总及解决方式
    如何学习渗透测试?怎样才能入行?
    JS 上传图片转换base64字符串&与Blob对象互转&图片下载
    main函数之前发生什么
    算法与数据结构 --- 栈和队列的定义与特点,以及案例引入
    如何用项目甘特图,做好项目汇报
    fegin 单客户端配置类方式设置配置
    【STM32】标准库-以太网外设
    lombok 引入
  • 原文地址:https://blog.csdn.net/binglingshuang/article/details/132879496