PE Reviews Flashcards
minimum properties required in resources for lambda
name, alias, current version, and target version
To enable SSL between the end-user and CloudFront, what policy should be configured.
Viewer Protocol Policy
To enable SSL between the origin and the distribution the Developer can configure the
Origin Protocol Policy
The _________________ policy will add an additional batch of instances, updates those instances, then move onto the next batch.
no reduction in app performance/availability during update
Rolling with additional batch:
Like Rolling but launches new instances in a batch ensuring that there is full availability.
Application is running at capacity.
Can set the bucket size.
Application is running both versions simultaneously.
Small additional cost.
Additional batch is removed at the end of the deployment.
Longer deployment.
Good for production environments.
Only deployment policy with downtime
All-at-once
What 3 deployment types have no reduction in capacities?
Rolling w/ additional batch
Immutable
Blue/green
happen to be the 3 with the longest deployment time too
________ is a container for CloudWatch metrics. Metrics in different ________ are isolated from each other, so that metrics from different applications are not mistakenly aggregated into the same statistics.
namespace
You can configure a CloudWatch alarm that notifies based on item lifecycle events. (T/F)
False
Amazon DynamoDB is integrated with AWS Lambda so that you can create __________
—pieces of code that automatically respond to events in DynamoDB Streams. With _________, you can build applications that react to data modifications in DynamoDB tables.
triggers
When you create a ___________ in Amazon Cognito and then configure a domain for it, Amazon Cognito automatically provisions a hosted web UI to let you add sign-up and sign-in pages to your app. You can add a custom logo or customize the CSS for the hosted web UI.
user pool
With _________________ mode, you specify the number of data reads and writes per second that you require for your application.
provisioned capacity
For items up to 4 KB in size, one RCU can perform
one RCU can perform two eventually consistent read requests per second.
one RCU can perform one strongly consistent read request per second.
require two RCUs to perform one read per second for items up to 4 KB.
Transactional read requests
require two WCUs to perform one write per second for items up to 1 KB.
Transactional write requests
To encrypt an object at the time of upload, you need to add a header called ________________ to the request to tell S3 to encrypt the object using SSE-C, SSE-S3, or SSE-KMS.
x-amz-server-side-encryption:
tells S3 to use S3-managed keys
AES256
tells S3 to use AWS KMS–managed key
aws:kms
conveys information about a segment to X-Ray.
can be up to 64 kB and contain a whole segment with subsegments, a fragment of a segment that indicates that a request is in progress, or a single subsegment that is sent separately.
segment document
You can send segment documents directly to X-Ray by using the
PutTraceSegments API
this API action retrieves a service graph for one or more specific trace IDs.
GetTraceGraph API
You should initialize SDK clients and database connections outside of the function handler, and cache static assets locally in the
/tmp directory.
is a custom session handler for PHP that allows developers to use Amazon DynamoDB as a session store.
The DynamoDB Session Handler
Using DynamoDB for session storage alleviates issues that occur with session handling in a distributed web application by moving sessions off of the local file system and into a shared location. DynamoDB is fast, scalable, easy to setup, and handles replication of your data automatically.
involves maintaining session state data on the EC2 instances and thus that data is lost if an instance fails.
Use sticky sessions with an Elastic Load Balancer target group
There are no limits to the number of prefixes that you can have in your bucket.
True
To avoid throttling in Amazon S3 you must ensure you do not exceed certain limits on a per-prefix basis.