Q1. Does Amazon DynamoDB support both increment and decrement atomic operations?
A. No, neither increment nor decrement operations.
B. Only increment, since decrement are inherently impossible with DynamoDB's data model.
C. Only decrement, since increment are inherently impossible with DynamoDB's data model.
D. Yes, both increment and decrement operations.
Answer: D
Explanation:
Amazon DynamoDB supports increment and decrement atomic operations.
Reference: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/APISummary.html
Q2. What happens if your application performs more reads or writes than your provisioned capacity?
A. Nothing
B. requests above your provisioned capacity will be performed but you will receive 400 error codes.
C. requests above your provisioned capacity will be performed but you will receive 200 error codes.
D. requests above your provisioned capacity will be throttled and you will receive 400 error codes.
Answer: D
Explanation:
Speaking about DynamoDB, if your application performs more reads/second or writes/second than your tabIe’s provisioned throughput capacity allows, requests above your provisioned capacity will be throttled and you will receive 400 error codes.
Reference: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputlntro.htmI
Q3. A user is trying to understand AWS SNS. To which of the below mentioned end points is SNS unable to send a notification?
A. AWS SES
B. Email JSON
C. AWS SQS
D. HTTP
Answer: A
Explanation:
Amazon Simple Notification Service (Amazon SNS) is a fast, filexible, and fully managed push messaging service. Amazon SNS can deliver notifications by SMS text message or email to the Amazon Simple Queue Service (SQS) queues or to any HTTP endpoint. The user can select one the following
transports as part of the subscription requests: "HTTP", "HTTPS","Emai|", "EmaiI-JSON", "SQS", "and SMS".
Reference: http://aws.amazon.com/sns/faqs/
Q4. You need to develop and run some new applications on AWS and you know that Elastic Beanstalk and CIoudFormation can both help as a deployment mechAMsm for a broad range of AWS resources. Which of the following statements best describes the differences between Elastic Beanstalk and C|oudFormation?
A. Elastic Beanstalk uses Elastic load balancing and CIoudFormation doesn't.
B. CIoudFormation is faster in deploying applications than Elastic Beanstalk.
C. CIoudFormation is much more powerful than Elastic Beanstalk, because you can actually design and script custom resources
D. Elastic Beanstalk is faster in deploying applications than C|oudFormation.
Answer: C
Explanation:
These services are designed to complement each other. AWS Elastic Beanstalk provides an environment to easily develop and run applications in the cloud. It is integrated with developer tools and provides a one-stop experience for you to manage the lifecycle of your applications. AWS CIoudFormation is a convenient deployment mechAMsm for a broad range of AWS resources. It supports the infrastructure needs of many different types of applications such as existing enterprise applications, legacy applications, applications built using a variety of AWS resources and container-based solutions (including those built using AWS Elastic Beanstalk).
AWS CIoudFormation introduces two new concepts: The template, a JSON-format, text-based file that describes all the AWS resources you need to deploy to run your application and the stack, the set of AWS resources that are created and managed as a single unit when AWS CIoudFormation instantiates a template.
Reference: http://aws.amazon.com/c|oudformation/faqs/
Q5. Regarding Amazon SQS, what happens if there is no actMty against a queue for more than 30 consecutive days?
A. Your account will be suspended
B. The queue may be deleted
C. Nothing
D. The queue will be deleted
Answer: B
Explanation:
AWS reserve the right to delete a queue if none of the following requests have been issued against the queue for more than 30 consecutive days:
SendMessage ReceiveMessage DeIeteMessage GetQueueAttributes SetQueueAttributes
You should design your application with this in mind. Reference: https://aws.amazon.com/sqs/faqs/
Q6. A user has not enabled versioning on an S3 bucket. What will be the version ID of the object inside that bucket?
A. 0
B. There will be no version attached
C. Null
D. Blank
Answer: C
Explanation:
S3 objects stored in the bucket before the user has set the versioning state have a version ID of null. When the user enables versioning, the objects in the bucket do not change and their ID remains null. Reference: http://docs.aws.amazon.com/AmazonS3/latest/dev/AddingObjectstoVersionSuspendedBuckets.htmI
Q7. In regards to Amazon SQS how many times will you receive each message?
A. At least twice
B. Exactly once
C. As many times as you want
D. At least once
Answer: D
Explanation:
Amazon SQS is engineered to provide "at least once" delivery of all messages in its queues. Although most of the time, each message will be delivered to your application exactly once, you should design your system so that processing a message more than once does not create any errors or inconsistencies. Reference: https://aws.amazon.com/sqs/faqs/
Q8. What kind of service is provided by AWS DynamoDB?
A. Relational Database
B. NoSQL Database
C. Dynamic Database
D. Document Database
Answer: B
Explanation:
DynamoDB is a fast, fully managed NoSQL database service. Reference: http://aws.amazon.com/dynamodb/
Q9. A user has created an RDS instance with MySQL. The user is using the HeidiSQL client to connect with the RDS DB. The client is unable to connect to DB from his home machine. What is a possible reason for the failure?
A. The user has to open port 80 in the RDS security group to connect with RDS DNS
B. The security group is not configured to allow a request from the user’s IP on port 3306
C. You can never connect to RDS from your desktop
D. The user has to open port 22 in the RDS security group to connect with RDS DNS
Answer: B
Explanation:
If the user needs to connect to RDS then he has to open port 3306 in the RDS security group for his IP address.
Reference: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Welcome.html
Q10. Which of the following groups is AWS Elastic Beanstalk best suited for?
A. Those who want to deploy and manage their applications within minutes in the AWS cloud
B. Those who want to privately store and manage Git repositories in the AWS cloud.
C. Those who want to automate the deployment of applications to instances and to update the applications as required
D. Those who want to model, visualize, and automate the steps required to release software
Answer: A
Explanation:
AWS Elastic Beanstalk is best suited for those groups who want to deploy and manage their applications within minutes in the AWS cloud. As a bonus, you don’t even need experience with cloud computing to get started.
Reference: https://aws.amazon.com/elasticbeansta|k/faqs/
Q11. A user is running a webserver on EC2. The user wants to receive the SMS when the EC2 instance utilization is above the threshold limit. Which AWS services should the user configure in this case?
A. AWS CIoudWatch + AWS SES.
B. AWS CIoudWatch + AWS SNS.
C. AWS CIoudWatch + AWS SQS.
D. AWS EC2 + AWS Cloudwatch.
Answer: B
Explanation:
Amazon SNS makes it simple and cost-effective to push to mobile devices, such as iPhone, iPad, Android, Kindle Fire, and internet connected smart devices, as well as pushing to other distributed services. In this case, the user can configure that Cloudwatch sends an alarm on when the threshold is crossed to SNS which will trigger an SMS.
Reference: http://aws.amazon.com/sns/
Q12. A user has created a new EBS volume from an existing snapshot. The user mounts the volume on the instance to which it is attached. Which of the below mentioned options is a required step before the user can mount the volume?
A. Run a cyclic check on the device for data consistency
B. Create the file system of the volume
C. Resize the volume as per the original snapshot size
D. No step is required. The user can directly mount the device
Answer: D
Explanation:
When a user is trying to mount a blank EBS volume, it is required that the user first creates a file system within the volume. If the volume is created from an existing snapshot then the user needs not to create a file system on the volume as it will wipe out the existing data.
Reference: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-using-volumes.htmI
Q13. A user has attached an EBS volume to a running Linux instance as a "/dev/sdf" device. The user is unable to see the attached device when he runs the command "df -h". What is the possible reason for this?
A. The volume is not in the same AZ of the instance
B. The volume is not formatted
C. The volume is not attached as a root device
D. The volume is not mounted
Answer: D
Explanation:
When a user creates an EBS volume and attaches it as a device, it is required to mount the device. If the device/volume is not mounted it will not be available in the listing.
Reference: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AmazonEBS.htmI
Q14. You are building an online store on AWS that uses SQS to process your customer orders. Your backend system needs those messages in the same sequence the customer orders have been put in. How can
you achieve that?
A. You can do this with SQS but you also need to use SWF
B. Messages will arrive in the same order by default
C. You can use sequencing information on each message
D. It is not possible to do this with SQS
Answer: C
Explanation:
Amazon SQS is engineered to always be available and deliver messages. One of the resulting tradeoffs is that SQS does not guarantee first in, first out delivery of messages. For many distributed applications, each message can stand on its own, and as long as all messages are delivered, the order is not important. If your system requires that order be preserved, you can place sequencing information in each message,
so that you can reorder the messages when the queue returns them. Reference:
http://docs.aws.amazon.com/AWSSimpIeQueueService/latest/SQSDeveIoperGuide/\NeIcome.html
Q15. In regard to DynamoDB, can I modify the index once it is created?
A. Yes, if it is a primary hash key index
B. Yes, if it is a Global secondary index
C. No
D. Yes, if it is a local secondary index
Answer: C
Explanation:
Currently, in DynamoDB, an index cannot be modified once it is created. Reference: http://aws.amazon.com/dynamodb/faqs/#security_anchor