AWS Developer Associate - C02 (Set 2) Flashcards
What can you use to speed up distribution of static and dynamic web content to users?
AWS CloudFront.
It is a web service that speeds up distribution of web content to users through a worldwide network of data centers called edge locations.
What does AWS CodePipeline use to automatically start the pipeline? (Assuming you used the AWS CodePipeline console to construct the pipeline)
AWS CloudWatch Events (AKA EventBridge) are used to automatically start the pipeline.
When using CodeDeploy, what is required to revert changes if anything goes wrong during deployment?
Nothing, CodeDeploy should be able to rollback on its own.
What can you do to set up notifications if CodeDeploy fails a deployment and rolls back?
Set up a Lambda function subscribed to CodeDeploy events using CloudWatch Events.
When you create a CloudTrail trail, by default, only what type of events are logged?
Only Management events are logged.
To track Lambda function invocations with AWS CloudTrail, what type of events will need to be loggeed?
Data Events will show Lambda invocations.
What are CloudTrail Insights?
They help developers identify and respond to unusual activity associated with API calls and API error rates by analyzing CloudTrail management events.
What are CloudTrail data events?
They provide visibility into the resource operations performed on or within a resource.
What are CloudTrail management events?
They provide visibility into management operations that are performed on resources in the AWS account.
Is CodeDeploy able to deploy out to EC2 instances despite them being within an Auto Scaling Group?
Yes, the ASG has no effect and CodeDeploy will still deploy changes automatically.
What AWS service can you use to send notification messages to an HTTP or HTTPS endpoint?
AWS SNS
Between SNS and SQS, which supports sending notifications to HTTP / HTTPS endpoints?
AWS SNS
What is a Lambda function’s Execution Role?
It refers to the AWS IAM Role that grants the function permission to access specific AWS services and resources.
What can you do to reduce AWS Lambda latency?
Configure provisioned concurrency
How does reserved concurrency affect a Lambda function’s execution?
It ensures the number of instances defined will be available concurrently and exclusively for a given function, but also limits functions from using concurrency outside of the reservation.
How can you use AWS KMS to detect which KMS key was used to encrypt each ciphertext?
You can’t; AWS KMS does not store information about which key was used for which ciphertext.