AWS DEV-A Practice Exam 2 (training mode) Flashcards
What are the AWS Elastic Beanstalk Deployment policies?
Rolling, Rolling with additional batch, All-at-Once and Immutable.
AWS Elastic Beanstalk Deployment policy
Why is All at once the fastest deployment?
Deploys the new version to all instances simultaneously.
All your instances are out of service while the deployment takes place.
What are two major downsides to All at once deployment policy?
You will experience an outage while the deployment is taking place – not ideal for mission-critical systems.
If the update fails, you need to roll back the changes by re-deploying the original version to all your instances
AWS Elastic Beanstalk Deployment policy
Rolling come at no additional cost but has a long ___________ ______
No additional cost.
Long deployment time.
AWS Elastic Beanstalk Deployment policy
Rolling with additional batch: is like Rolling but
launches new instances in a batch ensuring that there is full availability
AWS Elastic Beanstalk Deployment policy
Rolling with an additional batch is good for ______________ environments but is a ____________ deployment model.
Good for production environments.
Longer deployment model
AWS Elastic Beanstalk Deployment policy
Immutable:
Launches new instances in a new ____ and deploys the version update to these instances before___________ ___________ to these instances once healthy.
Launches new instances in a new ASG and deploys the version update to these instances before swapping traffic to these instances once healthy.
DynamoDB:
Each API call to read data from your table is a
read request.
For items up to 4kb in size, 1 RCU can perform how many strong and eventually consistent reads.
one strongly consistent read request per second.
two eventually consistent read requests per second.
Occasionally ,you may receive the 400 ThrottlingException error for PutMetricData API calls in Amazon CloudWatch. What 3 things can you do to mitigate this?
Distribute your API calls ________ ____ _______
Combine as many ________ as possible into a ________ API call
Retry your call with exponential ________ and ________
Distribute your API calls evenly over time
Combine as many metrics as possible into a single API call
Retry your call with exponential backoff and jitter
Amazon API Gateway is an AWS service for ___________ , ___________, ___________, ___________, and ___________ REST and WebSocket APIs at any scale
Amazon API Gateway is an AWS service for creating, publishing, maintaining, monitoring, and securing REST and WebSocket APIs at any scale
A stage is a named reference to a _________ , which is a _________ of your API
A stage is a named reference to a deployment, which is a snapshot of your API
How would you query how much provisioned capacity is actually being used in a Amazon DynamoDB table?
Monitor the ___________________________________ and ____________________________________ over a specified _________ period
Monitor the ConsumedReadCapacityUnits and ConsumedWriteCapacityUnits over a specified time period
An API Gateway REST API is a collection of HTTP ______________ and _____________ that are integrated with backend HTTP ________, ________ ________, or other AWS services.
An API Gateway REST API is a collection of HTTP resources and methods that are integrated with backend HTTP endpoints, Lambda functions, or other AWS services.
Blue / Green deployment:
How does a Blue/Green Deployment achieve Zero downtime and release facility.
By Creating a new “stage” environment and deploying new updates there.
Amazon SNS allows applications to send time-critical messages to multiple ___________ through a _____ mechanism, eliminating the need to periodically _____ for updates.
Amazon SNS allows applications to send time-critical messages to multiple subscribers through a “push” mechanism, eliminating the need to periodically “poll” for updates.
Amazon ElastiCache is a popular choice for real-time use cases like (5)
- Gaming
- Caching
- Queuing
- Session Stores and
- Real-Time Analytics
ElastiCache is a fully managed, low latency, in-memory data store that supports either ____________ or _______.
ElastiCache is a fully managed, low latency,** in-memory** data store that supports either Memcached or Redis.
Amazon DynamoDB Accelerator also known as DAX is a fully ________ __-________ ________ for DynamoDB
Amazon DynamoDB Accelerator also known as DAX is a fully managed in-memory cache for DynamoDB
Lambda triggers allow you to build applications that react to data modifications in DynamoDB ________ via DynamoDB ___________
Lambda triggers allow you to build applications that react to data modifications in DynamoDB tables via DynamoDB streams.
AWS SAM templates are an extension of AWS _______________________ templates, with some additional components that make them _______ to work with.
AWS SAM templates are an extension of AWS CloudFormation templates, with some additional components that make them easier to work with.
To create a DynamoDB table using an AWS SAM template the Developer can use the AWS::Serverless::_____________ resource type which creates a DynamoDB table with a _________ attribute primary key. It is useful when data only needs to be accessed via a primary key.
To create a DynamoDB table using an AWS SAM template the Developer can use the AWS::Serverless::SimpleTable resource type which creates a DynamoDB table with a single attribute primary key. It is useful when data only needs to be accessed via a primary key.
CloudWatch metric filters do not ____________ filter data. Filters only publish the metric data points for events that happen ______ the filter was created.
CloudWatch metric filters do not retroactively filter data. Filters only publish the metric data points for events that happen after the filter was created.
What are the steps to determine the number of RCUs required to handle 100 strongly consistent reads per/second with an average item size of 5KB, perform the following steps:
- Determine the average item size by rounding up the next multiple of 4KB (5KB rounds up to 8KB).
- Determine the RCU per item by dividing the item size by 4KB (8KB/4KB = 2)
- Multiply the value from step 2 with the number of reads required per second (2×100 = 200).
To determine the number of RCUs required to handle 200 eventually consistent reads per/second with an average item size of 12KB, perform the following steps:
- Determine the average item size by rounding up the next multiple of 4KB (12KB rounds up to 12KB).
- Determine the RCU per item by dividing the item size by 8KB (12KB/8KB = 1.5).
- Multiply the value from step 2 with the number of reads required per second (1.5×200 = 300).
You can create Cross- ________ and Cross- ________ dashboards, which summarize your CloudWatch data from multiple AWS ________ and ________ into one ____________
You can create Cross- Account and Cross- Region dashboards, which summarize your CloudWatch data from multiple AWS accounts and Regions into one dashboard.