AWS associate
A. True
AWS CloudFormation provides a set of Python helper scripts that you can use to install software and start services on an Amazon EC2 instance in your stack. You can call the helper scripts directly from your template. Choose an answer from the options below. A. True B. False
B. False
AWSTemplateFormatVersion declaration is required for the template to work inside CloudFormation. Choose an answer from the options below A. True B. False
D. Creates an SNS topic and adds a subscription ARN endpoint for the SQS resource created under the logical name SQSQueue
1. Explain what the following resource in a CloudFormation template does. Choose the best possible answer. "SNSTopic" : { "Type" : "AWS::SNS::Topic", "Properties" : { "Subscription" : [{ "Protocol" : "sqs", "Endpoint" : { "Fn::GetAtt" : [ "SQSQueue", "Arn" ] } }] } A. Creates an SNS topic which allows SQS subscription endpoints to be added as a parameter on the template B. Creates an SNS topic that allow SQS subscription endpoints C. Creates an SNS topic and then invokes the call to create an SQS queue with a logical resource name of SQSQueue D. Creates an SNS topic and adds a subscription ARN endpoint for the SQS resource created under the logical name SQSQueue
A. True
Can Cloudformation be used with Chef and Puppet? Choose the correct answer from the options below A. True B. False
A. False
Can any local secondary index in a DynamoDB table be updated once it is created? A. False B. True
A. True
Can data be saved when a stack is deleted in Cloudformation? Choose the correct answer from the options below A. True B. False
A. True
Can expressions be used as part of the Query API call in DynamoDB? Choose an answer from the options below A. True B. False
A. True
Can software's be installed at stack creation process in Cloudformation? Choose the correct answers from the options below A. True B. False
C. 150
Company B has a DynamoDB table where the average item size is 10KB. Company B anticipates the application will read 100 items from the table per second using eventually consistent reads. How much read capacity throughput should they provision? Choose the correct answer from the options below. A. 200 B. 300 C. 150 D. 100
A. user_id where there are many users to few products
Company B has created an e-commerce site using DynamoDB and is designing a products table that includes items purchased and the users who purchased the item. When creating a primary key on a table which of the following would be the best attribute for the primary key? A. user_id where there are many users to few products B.product_id where there are few products to many users C.category_id where there are few categories to many products D.None of the above
A. Conditional Writes
Company B has many users updating the same table. At times it is not uncommon for multiple users to update the same item and attribute of an item at the same time. If user A calls an item in a table to update an attribute at the same time as user B and user B updates the table first, what can we deploy in DynamoDB to ensure User A is not updating an item that was updated since User A's table read? Choose the correct answer from the options below. A. Conditional Writes B. Eventual Consistency C. Extra API read calls to determine if the data was updated D. Atomic Counters
C. 250
Company B is using strongly consistent reads to request 50 items per second from their customer table. Each item is 20KB in size. What throughout would be required to efficiently handle the read throughput of the table? A. 150 B. 50 C. 250 D. 125
B. 160
Company B is writing 10 items to the products table every second. Each item is 15.5kb in size. What would be the required provisioned write throughput for the best performance ? A. 10 B. 160 C. 155 D. 16
D. A local secondary index has the same partition key as the primary key and the global secondary index has a different partition and sort key
What is the primary difference between a global secondary index and a local secondary index? A. A global secondary index has the same partition key as the primary key and the local secondary index has a different partition and sort key. B. The global secondary index is not region specific C. There are no differences D. A local secondary index has the same partition key as the primary key and the global secondary index has a different partition and sort key
A. 100
What is the smallest amount of reserved capacity that can be purchased for DynamoDB? Choose an answer from the options below A. 100 B. 10 C. 1000 D. 10,000
D. list-a/list-b/list-c
What result would you expect from the Fn::Join function in the following line in a CloudFormation template? Choose an answer from the options below "Fn::Join" : [ "/", [ "list-a","list-b","list-c"] ] A. lista-listb-listc B. list-c/list-b/list-a C. list-a:list-b:list-c D. list-a/list-b/list-c
B. 3 Days
When a subscriber subscribes to a topic in SNS, what is the time period available for confirmation? Choose one answer from the options below A. 1 day B. 3 Days C. 5 Days D. 10 Days
C. Anytime if it is a global index
When can you add a secondary index to a table? A. Anytime but a request to AWS is required so they do it for you B. Anytime as long as it is done with the AWS console C. Anytime if it is a global index D. Only at table creation time
B. 4 KB
When computing the read capacity for a scan operations, to what KB is the number of bytes rounded off to? A. 1 KB B. 4 KB C. 2 KB D. 8 KB
A. BatchGetItem
Which API call can be used to retrieve up to 100 items at a time or 1MB of data from a DynamoDB table? A. BatchGetItem B. GetItem C. BatchItem D. ChunkGetItem
D. ListStackResources
Which API call is used to list all resources that belong to a CloudFormation Stack? Choose an answer from the options below A. GetTemplate B. DescribeStackResources C. describe-stacks D. ListStackResources
B. AWS cloudformation list-stacks D. AWS cloudformation describe-stacks
Which command line commands list all current stacks in your CloudFormation service? Choose the 2 correct answers from the options below A. AWS cloudformation create-stack B. AWS cloudformation list-stacks C. AWS cloudformation describe-stack-resources D. AWS cloudformation describe-stacks
A. String B. Number D. Boolean
Which of the following datatypes can be indexed in DynamoDB. Choose 3 answers from the options given below A. String B. Number C. List D. Boolean
B. It does not do consistent reads
Which of the following is not a benefit of a query over a scan? A. Returns all attributes on an item B. It does not do consistent reads C. Much more efficient because it searches indexes only D. Returns the items matching the primary key search
D. PublicRead
You are writing an AWS CloudFormation Template to create a static S3 website configuration. The resources section of this template will be used for access control of the bucket and is defined in the 5th line of the below code snippet. What should the value of "AccessControl" be so that the owner of the bucket gets full control and all users get READ access only. "Resources" : { "S3Bucket" : { "Type" : "AWS::S3::Bucket", "Properties" : { "AccessControl" : "ANSWER TO THE QUESTION", "BucketName": { "Ref" : "BucketName" }, "WebsiteConfiguration" : { "IndexDocument" : "index.html", "ErrorDocument" : "error.html" } } } A. BucketOwnerRead B. BucketOwnerFullControl C. AuthenticatedRead D. PublicRead
B. You can use intrinsic functions only in specific parts of a template. Currently, you can use intrinsic functions in resource properties, outputs, metadata attributes, and update policy attributes. You can also use intrinsic functions to conditionally create stack resources
You are writing an AWS CloudFormation template and you want to assign values to properties that will not be available until runtime. You know that you can use intrinsic functions to do this but are unsure as to which part of the template they can be used in. Which of the following is correct in describing how you can currently use intrinsic functions in an AWS CloudFormation template? Choose an answer from the options below A. You can use intrinsic functions in any part of a template. B. You can use intrinsic functions only in specific parts of a template. Currently, you can use intrinsic functions in resource properties, outputs, metadata attributes, and update policy attributes. You can also use intrinsic functions to conditionally create stack resources C. You can use intrinsic functions only in the resource properties part of a template. D. You can use intrinsic functions in any part of a template, except AWSTemplateFormatVersion and Description
A. DynamoDB does not allow secondary index limit increase
You can define up to 5 local secondary indexes and 5 global secondary indexes per table. How can you increase your DynamoDB secondary indexes limit in a region? A. DynamoDB does not allow secondary index limit increase B. By contacting AWS and requisition a limit increase. C. By calling the UpdateLimit API call D. DynamoDB can't increase secondary index limit, so you increase it by written g code that uses multiple regions
D. Contact AWS
You have reached your account limit for the number of CloudFormation stacks in a region. How do you increase your limit? Choose an answer from the options below A. Make an API call B. Change Limit Settings in AWS CloudFormation Console C. Cloudformation limit cannot be increased D. Contact AWS
B. Return the value of an attribute from a resource on the template
fn:GetAtt is used on a CloudFormation template to: Choose an answer from the options below A. Conditionally create stack resources B. Return the value of an attribute from a resource on the template C. Appends a set of values into a single value which can include resources on the template D. Returns the value corresponding to keys into a two-level map declared in the mappings section
A. True
Does AWS CloudFormation assume default template version if one is not explicitly mentioned in a CloudFormation template? Please select : A. True B. False
A. True
Does SNS guarantee message delivery to SQS? Choose one answer from the options below A. True B. False
C. Query
For best performance when retrieving data from a table, what "type" of API call should you perform? A. Filtered B. Scan C. Query D. Query then Scan
C. 1 year
For how long can a SWF workflow task execution can live up to? A. 14 days B. 24 hours C. 1 year D. 3 days
A. By writing a program called the decider
How is the coordination between worker processes done in SWF? Choose the correct answer from the options below. A. By writing a program called the decider B. By using SQS C. By using a master worker process D. This is not possible
A. 5
How many global secondary indexes are allowed per table? Choose the correct answer from the options below. A. 5 B. 1 C. 10 D. 15
B. 10
How many secondary indexes are allowed per table? A. There is no limit B. 10 C. 5 D. 1
B. 256
How many tables can an AWS account have per region? A. 126 B. 256 C. 282 D. 255
D. There is no cost
How much Cloudformation cost per hour? Choose the correct answer from the options below A. 0.05$ B. 0.10$ C. 0.15$ D. There is no cost
A. the-demo-app
In AWS CloudFormation, the intrinsic function Fn::Join appends a set of values into a single value, separated by the specified delimiter. If a delimiter is the empty string, the set of values are concatenated with no delimiter. Keeping the above in mind what value will the following example return? "Fn::Join" : [ "-", [ "the", "demo", "app" ] ] A. the-demo-app B. -thedemoapp C. -the-demo-app D. -the-demo-app-
A. True
In DynamoDB, an atomic counter allows all write requests to be applied In the order they are received by incrementing or decrementing the attribute value. A. True B. False
B. Domains
In SWF what are the containers called for segregating application resources. Choose the correct answer from the options below. A. Dockers B. Domains C. Namespaces D. Metrics
A. True
Is it possible to use IAM to manage access to SWF? Choose the correct answer from the options below. Please select : A. True B. False
D. Resources
Of the 6 available sections on a CloudFormation template (Template Description Declaration, Template Format Version Declaration, Parameters, Resources, Mappings, Outputs), which is the only one required for a CloudFormation template to be accepted? Choose an answer from the options below A. Parameters B. Template Declaration C. Mappings D. Resources
B. False
Once a message has been published to SNS, can it be recalled? Choose one answer from the options below A. True B. False
A. True
SQS guarantees delivery but there can be duplicates. Choose the correct answer from the options below. A.True B.False
C. It will ask you to provide the name of an existing EC2 KeyPair to use.
The following code snippet is the parameters section of a CloudFormation template that you have written. "Parameters" : { "KeyName": { "Description" : "answer to the question", "Type": "AWS::EC2::KeyPair::KeyName", ... } } Which of the the following is the best description of what this section will do once you run your CloudFormation template? A. It will ask you if you want to create a new key pair to use. B. It will ask you to input any name and that name will then be the name of the new key pair it will generate. C. It will ask you to provide the name of an existing EC2 KeyPair to use. D. It will create a new key pair automatically for you named KeyName.
A. From the parameters section of your CloudFormation template.
The following code snippet is the resources section of a CloudFormation template that you have written. "Resources" : { "EC2Instance" : { "Type" : "AWS::EC2::Instance", "Properties" : { "InstanceType" : { "Ref" : "InstanceType" }, "SecurityGroups" : [ { "Ref" : "InstanceSecurityGroup" } ], "KeyName" : { "Ref" : "KeyName" }, "ImageId" : { "Fn::FindInMap" : [ "AWSRegionArch2AMI", { "Ref" : "AWS::Region" }, { "Fn::FindInMap" : [ "AWSInstanceType2Arch", { "Ref" : "InstanceType" }, "Arch" ] } ] } } }, You have used the reference function to define your instance type as follows. "InstanceType" : { "Ref" : "InstanceType" }, The referencing function is referencing the instance type. Where is this value most likely coming from? A. From the parameters section of your CloudFormation template. B. From the mappings section of your CloudFormation template. C. From the second line of this resources section. D. From the conditions section of your CloudFormation template.
D. All of the above
What are some of the benefits of using AWS SWF? Choose the correct answer from the options below. A. Centralize the coordination of steps in the application. B. Automate workflows that include human tasks C. Manage the flow of work between application components D. All of the above
A. CreateTable B. UpdateTable D. UpdateItem
What are the API's available for DynamoDB? Choose 3 answers from the options below A. CreateTable B. UpdateTable C. ListAllTables D. UpdateItem
A. Strong consistent reads D. Eventual consistent reads
What are the consistency models available for Local Secondary Indexes in DynamoDB? Choose 2 answers from the options given below A. Strong consistent reads B. Primary reads C. Secondary reads D. Eventual consistent reads
A. .Net B. PHP D. Java
What are the different programming language SDK's available for SWF. Choose 3 correct answer from the options below. A. .Net B. PHP C. Erlang D. Java
C. 10 MB
What is maximum limit for the size of an item collection in DynamoDB? Choose an answer from the options below A. 1 GB B. 10MB C. 10 GB D. 100 MB
B. Video encoding.
What is one of the major use cases for using SWF? Choose the correct answer from the options below. A. Storing files In S3. B. Video encoding. C. Storing files In database. D. Provisioning servers.
A. http://sns.us-east-1.amazonaws.com
What is the Amazon SNS endpoint for The US East (Northern Virginia)? Choose one answer from the options below A. http://sns.us-east-1.amazonaws.com B. http://sns.us-east-1a.amazonaws.com C. http://sns.us-east-1b.amazonaws.com D. http://sns.ap-southeast-1.amazonaws.com
A. Rollback
What is the default behavior of a CloudFormation stack if creation fails? Choose the correct answers from the options below A. Rollback B. Delete C. Undo D. None of the above; the stack continues creating and the failed resource is ignored
C. guarantees delivery order of messages/tasks
What is the key feature of SWF? Choose the correct answer from the options below. A. attempts to deliver tasks/messages in order but does not guarantee delivery order B. does not guarantee delivery order of messages/tasks C. guarantees delivery order of messages/tasks D. can deliver tasks in order only if the developer programmatically instructs the application to do so
D. No Limit
What is the limit on the number of attributes an item can have in DynamoDB? Choose an answer from the options below A. 100 B. 200 C. 1000 D. No limit
B. 256
What is the limit to the number of characters for a topic name in sns? Choose one answer from the options below Please select : A. 128 B. 256 C. 512 D. 1024
B.100
What is the maximum number of SWF domains allowed in an AWS account? Choose the correct answer from the options below. A.50 B.100 C.200 D.1000
A. 400KB
What is the maximum size of an item in DynamoDB? Choose an answer from the options below A. 400KB B. 100KB C. 1 MB D. 5 MB