1. In a multi-container Docker environment in AWS Elastic Beanstalk, what is required to configure container instances in the environment?
A) A Docker in an application package B) An Amazon ECS task definition C) A CLI for Elastic Beanstalk D) An Amazon ECS cluster
2. A Development team has pushed out 10 applications running on several Amazon EC2 instances. The Operations team is asking for a graphical representation of one key performance metric for each application. These metrics should be available on one screen for easy monitoring. Which steps should the Developer take to accomplish this using Amazon CloudWatch?
A) Create a custom dimension with a unique metric name for each application. B) Create a custom event with a unique metric name for each application. C) Create a custom alarm with a unique metric name for each application. D) Create a custom namespace with a unique metric name for each application.
3. When writing a Lambda function, what is the benefit of instantiating AWS clients outside the scope of the handler?
A) Better error handling B) Legibility and stylistic convention C) Creating a new instance per invocation D) Taking advantage of connection re-use
4. A Developer wants to encrypt new objects that are being uploaded to an Amazon S3 bucket by an application. There must be an audit trail of who has used the key during this process. There should be no change to the performance of the application. Which type of encryption meets these requirements?
A) Client-side encryption with AWS KMS-managed keys B) Client-side encryption with a client-side symmetric master key C) Server-side encryption with AWS KMS-managed keys D) Server-side encryption using S3-managed keys
5. An application stores images in an S3 bucket. Amazon S3 event notifications are used to trigger a Lambda function that resizes the images. Processing each image takes less than a second. How will AWS Lambda handle the additional traffic?
A) Lambda will scale out to execute the requests concurrently. B) Lambda will process multiple images in a single execution. C) Lambda will add more compute to each execution to reduce processing time. D) Lambda will handle the requests sequentially in the order received.
1. Right Answer: B Explanation: Reference: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_docker_ecs.html
2. Right Answer: A Explanation: Reference: http://jayendrapatil.com/tag/cloudwatch/
3. Right Answer: D Explanation: Reference: https://www.jeremydaly.com/reuse-database-connections-aws-lambda/
4. Right Answer: D Explanation: Reference: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html
5. Right Answer: A Explanation: Reference: https://docs.aws.amazon.com/lambda/latest/dg/scaling.html
Leave a comment