AWS
Which service provided by AWS allows one to have a dedicated private connection from a remote network to your VPC
AWS Direct Connect
Which command line commands list all current stacks in your CloudFormation service?
AWS cloud formation list-stacks AWS cloudformation describe-stacks
Which of the following is a default limit in S3
Accounts can have a maximum of 100 buckets
What are some of the benefits of using AWS SWF?
All of the above
What are the different ways to access SWF
All of the above
When can you adda secondary index to a table?
Anytime if it is a global index
Which of the following AWS Services are offered at no cost
Auto Scaling Amazon VCP
Which API call can be used to retrieve up to 100 items at a time or 1MB of data from a DynamoDB table?
BatchGetItem
How is the coordination between worker processes done in SWF?
By writing a program called the decider
What are the different programming language SKD's available for SWF
.Net PHP Java
What is the maximum limit of data that can be retrieved by a scan operation in DynamoDB
1 MB
For how long can a SWF workflow task or task execution can live up to?
1 year
A taxi company uses a mobile GPS application to track the location of each of their 60 cabs. The application records the taxi's location to a DynamoDB table every 6 seconds. Each transmission is just under 1 KB, and throughput is spread evenly within that minute. How many units of wire capacity should you specify for this table
10
How many secondary indexes are allowed per table?
10
What is the maximum number of SWF workflows/activity types allowed in each SWF domain
10,000
An administrator is getting an error while trying to create a new bucket in S3?
100
Company A is writing 5 items to the products table every second. Each item is 20Kb in size. What would be the required provisioned write throughput for best performance?
100
What is the maximum number of SWF domains allowed in an AWS account?
100
What is the smallest amount of reserved capacity threat can be purchased for DynamoDb?
100
What is maximum limit for the size of an item collection in DynamoDB
10GB
Company B has a DynamoDB table where the average item size is 10KB. Company B anticipates the application will read 100 times from the table per second using eventually consistent reads. how much read capacity throughput should they provision?
150 (10/4=3 3*100)
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 best performance? Choose the correct answer from the options below
160 (15.5/1) =16*10
Company B has a DynamoDB table where the average item size is 20KB. Company B anticipates the application with read 10 items from the table per second using eventually consistent reads
25
Company B is using strongly consistent reads to request 50 items per second from their customer table. Each item is 20KB in size. What throughput would be required to efficiently handle the read throughput of the table
250
In DynamoDB, how many tables can an AWS account have per region? Choose the correct answer from the options below
256
What is the limit to the number of characters for a topic name is sos?
256
When a subscriber subscribes to a topic in SNS, what is the time period available for confirmation?
3 days
Your items are 15KB in size and you want to have 100 strongly consistent reads per second. How many read capacity usints do you need to provision
400
What is the maximum size of an item in DynamoDB
400 KB
What is the maximum size of an item in DynamoDB?
400KB
When computing the read capacity for a scan operations, to what KB is the number of bytes rounded off to?
4KB
How many global secondary indexes are allowed per table?
5
What is the maximum size of an S3 object
5TB
As per the IAM decision logic what is the first step of access permissions for any resource in AWS
A default deny
What is the primary difference between a global secondary index and a local secondary index?
A local secondary index has the same partition key as the primary key and the global secondary index can have different partition and sort key
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
Conditional Writes
What would you set in your CloudFormation template to fire up different instance sizes based off of environment type
Conditions
You have reached your account limit for the number of Cloudformation stacks in a region. How do you increase your limit?
Contact AWS
Your "forums" table has a primary key of "id". Using DynamoDB, you're able to query the data based on the id primary key. You need to be able to query the forums table by userid. What would you add to the table during table creation time?
Create a secondary index
You have created a mobile application that relies on reading data from DynamoDB. How could you give each mobile device permissions to read from DynamoDB
Create an IAM role that can be assumed by an app that allows federated users
What are the API's available for DynamoDB
CreateTable UpdateTable UpdateItem
Which of the following is NOT a S3 REST API operation
Write Object
You are writing an AWS CloudFormation template an 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 then following is correct in describing how you can currently use intrinsic function in an AWS CLoudFormation template
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.
Since S3 object are stored lexicographically, by introducing "randomness" to your S3 names it helps S3 storage distribute the I/O load across more than one partition. Given the following examples, how could you add a hashed prefix to the naming convention to increase I/O performance?
bucket/8761-2010-26-05-15-00-00/myfolder234234/phhoto1.jpg
What is one of the common pattern scenario's when it comes to the combination of SNS and SQS
fanout
What is the key feature of SWF? Choose the correct answer from the options below.
guarantees delivery order of messages/tasks
What is the Amazon SNS endpoint for The US East (Northern Virginia)?
http://sns.us-east.1.amazonaws.com
how much cloud formation does cost per hour?
there is no cost
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.
user_id where there are many users to few products
For S3 server side encryption what needs to be included in the API header call
x-amz-server-side-encryption
In SWF what the containers called for segregating application resources
Domains
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?
DynamoDB does not allow secondary index limit increase
What can be used in DynamoDB as part of the Query API call to filter results based on the values of primary keys
Expressions
A global secondary index can have the same partition key as the primary Key T/F
False
AWSTemplateFormat Version declaration is required for the template to work inside CloudFormation.
False
Any local secondary index in a DynamoDB table can be updated once it is created
False
Is S3 ideal for hosting web sites with server side interactions
False
Is the default visibility timeout query for an SQS query 1 minute?
False
Is there a limit to the size of a table in DynamoDB
False
Once a message has been published to SNS, can it be recalled?
False
In SWF what helps in developing Amazon SWF based applications
Flow Framework
Which of the below functions is used in Cloudformation to return the value of corresponding to keys in a two-level map that is declared in the Mapping section
Fn::FindinMap
Which of the below functions is used in Cloudformation to retrieve an object from a set of objects
Fn::Select
What re then supported protocols for AWS ELP
HTTP SSL
What in AWS can be used to restrict access to SWF
IAM
Which of the following is not a benefit of a query over a scan?
It does not do consistent reads
Which API call is used to list all resources that belong to a CloudFormation Stack?
ListStackResources
Which of the below API calls can be used to get information about stacks based on a specific filter
ListStacks
What is one of the major use cases for using SWF
Migrating components from the datacenter to the cloud
Which one of the following S3 error code does not have a corresponding HTTP 404 Status code?
MissingSecurityHeader
Cloudformation natively supports creation of which AWS resource
Network ACL's RouteTables EC2
What is the limit on the number of attributed an item can have in DynamoDB
No limit
Which RDS are supported as AWS services?
Oracle MySQL
You're using CloudFormation templates to build out staging environments. What section of the CloudFormation would you edit in order to allow the user to specify the PEM key-name at start time
Parameters Section
What are the 2 ways in which you can get data into S3-Standard IA
Put request by changing the x-amz-storage-class header Use lifecycle policies
Which API call would you create a new item in dynamoDB
PutItem
For best performance when retrieving data from a table, what "type" of API call should you perform?
Query
Which of the following statements is true about DynamoDB
Read requests are eventually consistent unless otherwise specified
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.
Remove public access and use signed URLs with expiry dates
Of the 6 available sections on a CloudFormation template (Template Description Declaration, Template Format Version Declaration, Parameters, resource Mapping Outputs) which is the only one required for a CloudFormation template to be accepted?
Resources
fn::GetAtt is used on a CloudFormation template to: Choose an answer form the options below
Return the value of an attribute from a resources on the template
What is the default behavior of a CloudFormation stack if creation fails?
Rollback
Which of the following cannot be used inside a CloudFormation template
Ruby statements
What of the following would you not expect to see in an SNS message body
SNSID
You need to announce an emergency downtime for a production AWS web application. This downtime notification will require different sets of instructions for different devices. All of the application users signed up to receive SNS notifications from the "mywebapp" topic when they began using the application and they are currently subscribed to this topic.
Send a single message, but customize the text in the SNS message field so that each device gets only the information that is appropriate for them
Which of the following are in-valid sections in AWS Cloudformation template
Services Declarations
An IT admin has enabled long polling in their SQS queue. What must be done for long polling to be enabled in SQS
Set the RecieveMessageWaitTimeSeconds property of the queer to 20 seconds
In DynamoDB you get the following error "ItemCollectionSizeLimitExceededExpectation" What could be the cause for this error
Size of a group items with the same partition key value has exceeded 10GB
Which of the following datatypes can be indexed in DynamoDB
String, Number, Boolean
What are the consistency models available for Local Secondary Indexes in DynamoDB
Strong consistent reads Eventual consistent reads
Which of the following are valid arguments for an SNS Publish request
Subject Message Timestamp
When using the Ref function in CloudFormation, what do we get back if we pass in the logical ID of an AWS::EC2::EIP
The instance public IP
What is one difference between an Amazon EBS-backed and an instance-store backed instance
The instance type and kernel for an EBS backed AMI can easily be changed as compared to an instance store-backed AMI
Which of the following will not make a CloudFormation stack deployment to 'rollback'
The template contains invalid JSON syntax
An IT admin is worried about the number of message queues being created in the SQS in their AWS account? If there is a limit, if yes, what is the correct limit?
There is no limit
A user named John has an AWS account. He has created an AMI in the us-east1 region. Is it possible for him to share the AMI with another user account in AWS
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
True
Can Cloudformation be used with hChef and Puppet
True
Can data be saved when a stack is deleted in Cloudformation?
True
Can expressions be used as part of the Query API call in DynamoDB
True
Can software's be installed at stack creation process in Cloudformation?
True
Does AWS Cloudformation assume default template version if one is not explicitly mentioned in a Cloudformation template
True
Does SNS guarantee message delivery to SQS?
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
True
Is it possible to use IAM to manage access to SWF?
True
SQS guarantees delivery but there can be duplicates. Choose the correct answer from the options below.
True
When you set up a static web site in S3 what are the most important steps to carry out
Upload an index document to your S3 bucket Select the "Make Public" permission for your bucket's objects Enable static website hosting in your S3 bucket properties
What is one of the major use cases for using SWF?
Video encoding