没有合适的资源?快使用搜索试试~ 我知道了~
首页AWS Lambda与DynamoDB:应对突发流量的理想选择
AWS Lambda与DynamoDB:应对突发流量的理想选择
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 4 浏览量
更新于2024-06-28
收藏 9.81MB PDF 举报
在2022年的AWS Specialist认证考试中,一道关于服务架构设计的问题涉及到一个新服务部署在Amazon API Gateway后端。该服务的需求特点是请求模式不可预测,可能从0请求突然激增到每秒超过500次。数据存储的需求小于1GB,且未来增长难以预知,查询主要依赖于简单的键值对。设计师需要选择既能满足高性能、可扩展性又能降低成本的AWS服务组合。 正确答案是B:AWS Lambda和C:Amazon DynamoDB。这是因为: AWS Lambda(B)是一种无服务器计算服务,它能够处理不可预测的工作负载。Lambda函数可以在收到API Gateway请求时自动执行,无需预热实例或持续运行,从而节省成本。当需求增加时,Lambda可以轻松扩展并发执行能力,确保服务响应迅速。 Amazon DynamoDB(C)是完全托管的NoSQL数据库,特别适合存储键值对数据。它具有高吞吐量和低延迟,且作为Serverless服务,无需预先购买和管理硬件资源,能够根据实际请求量自动调整内部容量,非常适合这种数据存储需求的场景。 AWS Fargate(A)虽然也是容器服务,但因其始终运行的特性,即使在无请求时也会产生费用,不适合此处对成本敏感且请求模式不稳定的场景。MySQL兼容的Amazon Aurora(E)虽然可以提供关系型数据库服务,但与Lambda和DynamoDB相比,可能在灵活性和成本效益上稍逊一筹,因此不是最佳选择。 AWS Lambda和Amazon DynamoDB的结合提供了高效、灵活且经济的解决方案,能够满足服务架构师在设计这个新服务时的需求。
资源详情
资源推荐
![](https://csdnimg.cn/release/download_crawler_static/87080934/bg10.jpg)
B.Enable Amazon S3 Intelligent-Tiering.
C.Enable an Amazon S3 lifecycle policy
D.Enable Amazon S3 cross-Region replication.
正确答案 A
解析:
Object versioning is a means of keeping multiple variants of an object
in the same Amazon S3 bucket. Versioning provides the ability to recover
from both unintended user actions and application failures. You can use
versioning to preserve, retrieve, and restore every version of every
object stored in your Amazon S3 bucket.CORRECT: "Enable Amazon S3
versioning" is the correct answer. INCORRECT: "Enable Amazon S3
Intelligent-Tiering" is incorrect. This is a storage class that
automatically moves data between frequent access and infrequent access
classes based on usage patterns.INCORRECT: "Enable an Amazon S3
lifecycle policy" is incorrect. An S3 lifecycle policy is a set of rules
that define actions that apply to groups of S3 objects such as
transitioning objects to another storage class.INCORRECT: "Enable Amazon
S3 cross-Region replication" is incorrect as this is used to copy
objects to different regions. CRR relies on versioning which is the
feature that is required for protecting against accidental
deletion.References:https://d0.awsstatic.com/whitepapers/protecting-s3-
against-object-deletion.pdf Save time with our exam-specific cheat
sheets:https://digitalcloud.training/certification-training/aws-
solutions-architect- associate/storage/amazon-s3/
Q14. A company is managing health records on-premises.The company must
keep these records indefinitely, disable any modifications to the
records once they are stored, and granularly audit access at all levels.
The chief technology officer (CTO) is concerned because there are
already millions of records not being used by any application, and the
current infrastructure is running out of space. The CTO has requested a
https://shop410297520.taobao.com/
淘宝店铺:爱问
PDF小技巧:右键可以标颜色,也可以去掉颜色
店长微信:hjfeng128
![](https://csdnimg.cn/release/download_crawler_static/87080934/bg11.jpg)
solutions architect design a solution to move existing data and support
future records.Which services can the solutions architect recommend to
meet these requirements'?
A.Use AWS DataSync to move existing data to AWS.Use Amazon S3 to store
existing and new data.Enable Amazon S3 object lock and enable AWS
CloudTrail with data events.
B.Use AWS Storage Gateway to move existing data to AWS.Use Amazon S3 to
store existing and new data.Enable Amazon S3 object lock and enable AWS
CloudTrail with management events.
C.Use AWS DataSync to move existing data to AWS.Use Amazon S3 to store
existing and new data.Enable Amazon S3 object lock and enable AWS
CloudTrail with management events.
D.Use AWS Storage Gateway to move existing data to AWS.Use Amazon
Elastic Block Store (Amazon EBS) to store existing and new data.Enable
Amazon S3 object lock and enable Amazon S3 server access logging.
正确答案 A
解析:
原始答案 B,现更正为 AKeyword: Move existing data and support future
records + Granular audit access at all levelsUse AWS DataSync to migrate
existing data to Amazon S3, and then use the File Gateway configuration
of AWS Storage Gateway to retain access to the migrated data and for
ongoing updates from your on-premises file-based applications.Need a
solution to move existing data and support future records = AWS DataSync
should be used for migration.Need granular audit access at all levels =
Data Events should be used in CloudTrail, Management Events is enabled
by default.CORRECT: "Use AWS DataSync to move existing data to AWS. Use
Amazon S3 to store existing and new data. Enable Amazon S3 object lock
and enable AWS CloudTrail with data events" is the correct
answer.INCORRECT: "Use AWS Storage Gateway to move existing data to AWS.
Use Amazon S3 to store existing and new data. Enable Amazon S3 object
lock and enable AWS CloudTrail with management events" is incorrect as
https://shop410297520.taobao.com/
淘宝店铺:爱问
PDF小技巧:右键可以标颜色,也可以去掉颜色
店长微信:hjfeng128
![](https://csdnimg.cn/release/download_crawler_static/87080934/bg12.jpg)
"current infrastructure is running out of space" INCORRECT: "Use AWS
DataSync to move existing data to AWS. Use Amazon S3 to store existing
and new data. Enable Amazon S3 object lock and enable AWS CloudTrail
with management events." is incorrect as "Management Events is enabled
by default" INCORRECT: "Use AWS Storage Gateway to move existing data to
AWS. Use Amazon Elastic Block Store (Amazon EBS) to store existing and
new data. Enable Amazon S3 object lock and enable Amazon S3 server
access logging." is incorrect as "current infrastructure is running out
of space"How AWS DataSync WorksHow AWS CloudTrail
worksReferences:https://aws.amazon.com/datasync/?whats-new-cards.sort-
by=item.additionalFields.postDateTime&whats-new-cards.sort-order=desc
https://aws.amazon.com/cloudtrail/https://aws.amazon.com/storagegateway/
?whats-new-cards.sort- by=item.additionalFields.postDateTime&whats-new-
cards.sort-order=descSave time with our exam-specific cheat
sheets:https://digitalcloud.training/certification-training/aws-
solutions-architect- associate/storage/amazon-s3/
Q15. A company currently operates a web application backed by an Amazon
RDS MySQL database. It has automated backups that are run daily and are
not encrypted. A security audit requires future backups to be encrypted
and the unencrypted backups to be destroyed.The company will make at
least one encrypted backup before destroying the old backups What should
be done to enable encryption for future backups?
A.Enable default encryption for the Amazon S3 bucket where backups are
stored
B.Modify the backup section of the database configuration to toggle the
Enable encryption check box.
C.Create a snapshot of the database.Copy it to an encrypted
snapshot.Restore the database from the encrypted snapshot.
D.Enable an encrypted read replica on RDS for MySQL.Promote the
encrypted read replica to primary.Remove the original database instance.
https://shop410297520.taobao.com/
淘宝店铺:爱问
PDF小技巧:右键可以标颜色,也可以去掉颜色
店长微信:hjfeng128
![](https://csdnimg.cn/release/download_crawler_static/87080934/bg13.jpg)
正确答案 C
解析:
Amazon RDS uses snapshots for backup. Snapshots are encrypted when
created only if the database is encrypted and you can only select
encryption for the database when you first create it. In this case the
database, and hence the snapshots, ad unencrypted. However, you can
create an encrypted copy of a snapshot. You can restore using that
snapshot which creates a new DB instance that has encryption enabled.
From that point on encryption will be enabled for all snapshots.CORRECT:
"Create a snapshot of the database. Copy it to an encrypted snapshot.
Restore the database from the encrypted snapshot" is the correct answer.
INCORRECT: "Enable an encrypted read replica on RDS for MySQL. Promote
the encrypted read replica to primary. Remove the original database
instance" is incorrect as you cannot create an encrypted read replica
from an unencrypted master.INCORRECT: "Modify the backup section of the
database configuration to toggle the Enable encryption check box" is
incorrect as you cannot add encryption for an existing database.
INCORRECT: "Enable default encryption for the Amazon S3 bucket where
backups are stored" is incorrect because you do not have access to the
S3 bucket in which snapshots are
stored.References:https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide
/Overview.Encryption.html Save time with our exam-specific cheat
sheets:https://digitalcloud.training/certification-training/aws-
solutions-architect- associate/database/amazon-rds/
Q16. A client reports that they want see an audit log of any changes
made to AWS resources in their account.What can the client do to achieve
this?
A. Set up Amazon CloudWatch monitors on services they own
B. Enable AWS CloudTrail logs to be delivered to an Amazon S3 bucket
C. Use Amazon CloudWatch Events to parse logs
https://shop410297520.taobao.com/
淘宝店铺:爱问
PDF小技巧:右键可以标颜色,也可以去掉颜色
店长微信:hjfeng128
![](https://csdnimg.cn/release/download_crawler_static/87080934/bg14.jpg)
D. Use AWS OpsWorks to manage their resources
正确答案 B
解析:
A CloudTrail trail can be created which delivers log files to an Amazon
S3 bucket.
Q17. An application running in a private subnet accesses an Amazon
DynamoDB table. There is a security requirement that the data never
leave the AWS network.How should this requirement be met?
A.Configure a network ACL on DynamoDB to limit traffic to the private
subnet
B.Enable DynamoDB encryption at rest using an AWS KMS key
C.Add a NAT gateway and configure the route table on the private subnet
D.Create a VPC endpoint for DynamoDB and configure the endpoint policy
正确答案 D
解析:
Hint: Private Subnet = VPC Endpoint
Q18. A three-tier application is being created to host small news
articles. The application is expected to serve millions of users. When
breaking news occurs, the site must handle very large spikes in traffic
without significantly impacting database performance.Which design meets
these requirements while minimizing costs?
A.Use Auto Scaling groups to increase the number of Amazon EC2 instances
delivering the web application
B.Use Auto Scaling groups to increase the size of the Amazon RDS
instances delivering the database
https://shop410297520.taobao.com/
淘宝店铺:爱问
PDF小技巧:右键可以标颜色,也可以去掉颜色
店长微信:hjfeng128
剩余667页未读,继续阅读
![-](https://img-home.csdnimg.cn/images/20210720083327.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://profile-avatar.csdnimg.cn/63393e0d32dc42ccadc9f2cee381ea86_qq_23930765.jpg!1)
优质网络系统领域创作者
- 粉丝: 3028
- 资源: 2440
![](https://csdnimg.cn/release/wenkucmsfe/public/img/vip-rights-1.c8e153b4.png)
下载权益
![](https://csdnimg.cn/release/wenkucmsfe/public/img/vip-rights-2.8b825a4e.png)
电子书特权
![](https://csdnimg.cn/release/wenkucmsfe/public/img/vip-rights-3.fc5e5fb6.png)
VIP文章
![](https://csdnimg.cn/release/wenkucmsfe/public/img/vip-rights-4.320a6894.png)
课程特权
![](https://csdnimg.cn/release/wenkucmsfe/public/img/vip-rights-icon.fe0226a8.png)
开通VIP
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![](https://csdnimg.cn/release/wenkucmsfe/public/img/voice.245cc511.png)
最新资源
- Vue实现iOS原生Picker组件:详细解析与实现思路
- Arduino蓝牙小车:参数调试与功能控制
- 百度Java面试精华:200页精选资源涵盖核心知识点
- Swift使用CoreData填坑指南:CoreData在Swift 3.0的变化
- 微距离无线充电器创新设计及其实验探索
- MTK Android平台开发全攻略:44步详解流程
- RecyclerView全面解析:替代ListView的新选择
- Android开发:自动适配中英文键盘解决方案
- Android调用WebService接口教程
- Android开发:BitmapUtil图片处理全解析与实例
- Android多线程断点续传实现详解
- PCA算法在人脸识别会议签到系统中的应用
- EventBus 3.0:Android事件总线详解与实战应用
- Android FileUtil:全面解析文件操作实用技巧与实例
- RecyclerView添加头部和尾部实战教程
- Android实现微博滑动固定顶部栏实战与优化
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![](https://img-home.csdnimg.cn/images/20220527035711.png)
![](https://img-home.csdnimg.cn/images/20220527035711.png)
![](https://img-home.csdnimg.cn/images/20220527035111.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![](https://csdnimg.cn/release/wenkucmsfe/public/img/green-success.6a4acb44.png)