AWS开发人员认证考试样题解析
最近在准备AWS的开发人员考试认证。所以特意做了一下考试样题。每道题尽量给出了文档出处以及解析。
Which of the following statements about SQS is true?
Messages will be delivered exactly once and messages will be delivered in First in, First out order
Messages will be delivered exactly once and message delivery order is indeterminate
Messages will be delivered one or more times and messages will be delivered in First in, First out order
Messages will be delivered one or more times and message delivery order is indeterminate
答案:D
参考文档:https://aws.amazon.com/sqs/faqs/
解析:SQS为了保持高可用,会在多个服务器间duplicate消息,所以消息可能会被delivery多次,但会保证至少被delivery一次;另外由于分布式的特性,所以消息的delivery顺序无法得到保证
EC2 instances are launched from Amazon Machine Images (AMIs). A given public AMI:
can be used to launch EC2 instances in any AWS region
can only be used to launch EC2 instances in the same country as the AMI is stored
can only be used to launch EC2 instances in the same AWS region as the AMI is stored
can only be used to launch EC2 instances in the same AWS availability zone as the AMI is stored
答案:C
参考文档:http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIs.html
解析:AMI只在当前region可用(不过AMI的ID是global范围内唯一的);如果想跨region的话需要copy到其它region。
Company B provides an online image recognition service and utilizes SQS to decouple system
components for scalability. The SQS consumers poll the imaging queue as often as possible to keep endto-end
throughput as high as possible. However, Company B is realizing that polling in tight loops is
burning CPU cycles and increasing costs with empty responses. How can Company B reduce the number
of empty responses?
Set the imaging queue VisibilityTimeout attribute to 20 seconds
Set the imaging queue ReceiveMessageWaitTimeSeconds attribute to 20 seconds
Set the imaging queue MessageRetentionPeriod attribute to 20 seconds
Set the DelaySeconds parameter of a message to 20 seconds
答案:B
参考文档:http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-long-polling.html
解析:这个需要使用SQS的long pulling;方式之一就是设置queue的ReceiveMessageWaitTimeSeconds属性
You attempt to store an object in the US-STANDARD region in Amazon S3, and receive a confirmation
that it has been successfully stored. You then immediately make another API call and attempt to read
this object. S3 tells you that the object does not exist. What could explain this behavior?
US-STANDARD uses eventual consistency and it can take time for an object to be readable in a bucket.
Objects in Amazon S3 do not become visible until they are replicated to a second region.
US-STANDARD imposes a 1 second delay before new objects are readable
You exceeded the bucket object limit, and once this limit is raised the object will be visible.
答案:A
参考文档:http://docs.aws.amazon.com/AmazonS3/latest/dev/Introduction.html
解析:这道题有点过时了,当时US-STANDARD不支持read-after-write,使用的是eventual consistency,所以当写入一个object以后,不一定会立即读到。现在已经没有US-STANDARD region了(被重命名了)。而且所有region都支持read-after-write了。
You have reached your account limit for the number of CloudFormation stacks in a region. How do you
increase your limit?
Make an API call
Contact AWS
Use the console
You cannot increase your limit
答案:B
参考文档: http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_cloudformation
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html
解析:stack数量的限制只是一个软限制,所以可以通过向AWS发请求来放宽限制。
Which statements about DynamoDB are true? (Pick 2 correct answers)
DynamoDB uses a pessimistic locking model
DynamoDB uses optimistic concurrency control
DynamoDB uses conditional writes for consistency
DynamoDB restricts item access during reads
DynamoDB restricts item access during writes
答案:BC
参考文档: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithItems.html
解析:这个题目需要对DynamoDB有深入了解,具体可以查看相关文档
What is one key difference between an Amazon EBS-backed and an instance-store backed instance?
Instance-store backed instances can be stopped and restarted
Auto scaling requires using Amazon EBS-backed instances
Amazon EBS-backed instances can be stopped and restarted
Virtual Private Cloud requires EBS backed instances
答案:C
参考文档:http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html
A corporate web application is deployed within an Amazon VPC, and is connected to the corporate data
center via IPSec VPN. The application must authenticate against the on-premise LDAP server. Once
authenticated, logged-in users can only access an S3 keyspace specific to the user.
Which two approaches can satisfy the objectives?
The application authenticates against LDAP. The application then calls the IAM Security Service to login
to IAM using the LDAP credentials. The application can use the IAM temporary credentials to access the
appropriate S3 bucket.The application authenticates against LDAP, and retrieves the name of an IAM role associated with the
user. The application then calls the IAM Security Token Service to assume that IAM Role. The application
can use the temporary credentials to access the appropriate S3 bucket.The application authenticates against IAM Security Token Service using the LDAP credentials. The
application uses those temporary AWS security credentials to access the appropriate S3 bucket.Develop an identity broker which authenticates against LDAP, and then calls IAM Security Token Service
to get IAM federated user credentials. The application calls the identity broker to get IAM federated user
credentials with access to the appropriate S3 bucket.Develop an identity broker which authenticates against IAM Security Token Service to assume an IAM
Role to get temporary AWS security credentials. The application calls the identity broker to get AWS
temporary security credentials with access to the appropriate S3 bucket.
答案:BD
参考文档:https://aws.amazon.com/blogs/aws/aws-identity-and-access-management-now-with-identity-federation/
解析:IAM认证一向是考察的重点。B采用的是assume role的方式,D采用的是federated user的方式。
A错误在于没有login to IAM这个功能;C、E错误在于认证应该通过LDAP,而不是STS。
You run an ad-supported photo sharing website using S3 to serve photos to visitors of your site. At some
point you find out that other sites have been linking to the photos on your site, causing loss to your
business. What is an effective method to mitigate this?
Use CloudFront distributions for static content.
Remove public read access and use signed URLs with expiry dates.
Block the IPs of the offending websites in Security Groups.
Store photos on an EBS volume of the web server.
答案:B
参考文档:http://docs.aws.amazon.com/AmazonS3/latest/dev/ShareObjectPreSignedURL.html
解析:使用signed URL或者创建bucket policy都可以防止盗链。
Your application is trying to upload a 6 GB file to Simple Storage Service and receive a “Your proposed
upload exceeds the maximum allowed object size.” error message. What is a possible solution for this?
None, Simple Storage Service objects are limited to 5 GB
Use the multi-part upload API for this object
Use the large object upload API for this object
Contact support to increase your object size limit
Upload to a different region
答案:B
参考文档:http://docs.aws.amazon.com/AmazonS3/latest/dev/UploadingObjects.html
解析:所以S3能存放的最大对象是5T,但单个put操作支持的最大对象只有5G,超过5G的需要使用multi-part upload API上传。
AWS开发人员认证考试样题解析的更多相关文章
- AWS的SysOps认证考试样题解析
刚考过了AWS的developer认证,顺手做了一下SysOps的样题.以下是题目和答案. When working with Amazon RDS, by default AWS is respon ...
- 《Web前端开发》等级考试样题~以国家“1+X”职业技能证书为标准,厚溥推出Web前端开发人才培养方案
1+x证书Web前端开发初级理论考试样题2019 http://blog.zh66.club/index.php/archives/149/ 1+x证书Web前端开发初级实操考试样题2019 http ...
- 1+x证书《Web前端开发》等级考试样题
Web前端开发初级理论考试样题2019 http://blog.zh66.club/index.php/archives/149/ Web前端开发初级实操考试样题2019 http://blog.zh ...
- 1+X Web前端开发(中级)理论考试样题(附答案)
传送门 教育部:职业教育将启动"1+X"证书制度改革 职业教育改革1+X证书制度试点启动 1+X成绩/证书查询入口 一.单选题(每小题2分,共30小题,共 60 分) 1.在Boo ...
- 1+X Web前端开发(初级)理论考试样题(附答案)
传送门 教育部:职业教育将启动"1+X"证书制度改革 职业教育改革1+X证书制度试点启动 1+X成绩/证书查询入口 一.单选题(每题 2 分,共 60 分) 1.在 HTML 中, ...
- JS-常考算法题解析
常考算法题解析 这一章节依托于上一章节的内容,毕竟了解了数据结构我们才能写出更好的算法. 对于大部分公司的面试来说,排序的内容已经足以应付了,由此为了更好的符合大众需求,排序的内容是最多的.当然如果你 ...
- swift初探(供objective c开发人员參考)
6月初的wwdc苹果推出了一门新的开发语言swift.系统10.9.3以上安装xcode6 beta版就可以体验swift. 苹果公司做了尽可能多的努力让这门语言迅速成为一个工业级的有用编程语言,而不 ...
- AWS助理架构师样题解析
AWS 认证是对其在 AWS 平台上设计.部署和管理应用程序所需的技能和技术知识的一种认可.获得证书有助于证明您使用 AWS 的丰富经验和可信度,同时还能提升您所在的组织熟练使用基于 AWS 云服务应 ...
- AWS助理架构师认证考经
上周考了亚马逊的解决方案架构师-助理级别的认证考试并顺利通过.这也算是对自己AWS服务熟悉程度的一种检验.在准备考试的过程中,把自己学习到的AWS知识都梳理了一遍,也算是收获颇丰.这次特意分享了该认证 ...
随机推荐
- TinyWeb v1.0 正式完成第一个Release版本(功能基于 libuv 跨平台库)
使用方法很简单,很容易融入现有项目,使现有项目拥有Web网站功能和WebSocket,以及Socket直连! 并且包含了一个跨平台(windows/linux)工具集合; 嗯,也挺棒的^,^ 在项目中 ...
- WPF 微信 MVVM 【续】发送部分QQ表情
今天主要记录的就是发送QQ表情, WPF 微信 MVVM里写了,后期为了发送QQ表情,需要把TextBox替换为RichTextBox,接下来就说说替换的过程. 一.支持Binding的RichTex ...
- jQuery学习之路(8)- 表单验证插件-Validation
▓▓▓▓▓▓ 大致介绍 jQuery Validate 插件为表单提供了强大的验证功能,让客户端表单验证变得更简单,同时提供了大量的定制选项,满足应用程序各种需求.该插件捆绑了一套有用的验证方法,包括 ...
- Android 剪贴板详解
版权声明:本文为博主原创文章,未经博主允许不得转载. 微博:厉圣杰 源码:AndroidDemo/Clipboard 如本文有助于你理解 Android 剪贴板,不妨给我一个 Star.对于码农而言, ...
- Coroutine in Java - Quasar Fiber实现--转载
转自 https://segmentfault.com/a/1190000006079389?from=groupmessage&isappinstalled=0 简介 说到协程(Corout ...
- servlet 简介,待完善
什么是Servlet?① Servlet就是JAVA 类② Servlet是一个继承HttpServlet类的类③ 这个在服务器端运行,用以处理客户端的请求 Servlet相关包的介绍--javax. ...
- 太多选择——企业如何选择合适的BI工具?
在没认清现状前,企业当然不能一言不合就上BI. BI不同于一般的企业管理软件,不能简单归类为类似用于提高管理的ERP和WMS,或用于提高企业效率的OA.BPM.BI的本质应该是通过展现数据,用于加强企 ...
- [Android]使用Dagger 2来构建UserScope(翻译)
以下内容为原创,欢迎转载,转载请注明 来自天天博客:http://www.cnblogs.com/tiantianbyconan/p/6237731.html 使用Dagger 2来构建UserSco ...
- 微信开发笔记(accesstoken)
access_token分两种 一种是公众号权限获取用,调用cgi-bin接口 ,此种token一个公众号同时只有一个,用这一个就够了. 服务器最好缓存. 用这个token前提是用户关注了此公众号. ...
- MySQL:Fabric 安装
MySQL Fabric安装 MySQL Fabric是Oracle提供的用于辅助进行ha\sharding的工具,它的基本架构: 从上面看出,借助于Fabric, 可以搭建 HA 集群.Sharin ...