AWS-DA(411-420)

Create a modern, sleek digital artwork illustrating various AWS services such as EC2, Lambda, DynamoDB, and CloudWatch, with a futuristic background that emphasizes cloud computing and development.

AWS Developer Challenge

Test your knowledge of AWS development with this engaging quiz! This quiz focuses on various AWS services and solutions that developers commonly use. Each question is designed to challenge your understanding of critical concepts and best practices.

Prepare to tackle topics such as:

  • AWS Lambda
  • Amazon DynamoDB
  • AWS Elastic Beanstalk
  • CloudWatch Monitoring
  • Cross-Account Access

10 Questions2 MinutesCreated by CodingEagle527
A developer has developed an application that runs on Amazon EC2 instances and produces a value on a minutely basis. The developer want to monitor and graph the data produced over time without periodically login into the instance. Which strategy should the developer use to accomplish this objective?
A. Use the Amazon CloudWatch metrics reported by default for all EC2 instances. View each value from the CloudWatch console.
B. Develop the application to store each value in a file on Amazon S3 every minute with the timestamp as the name.
C. Publish each generated value as a custom metric to Amazon CloudWatch using available AWS SDKs.
D. Store each value as a variable and add the variable to the list of EC2 metrics that should be reported to the Amazon CloudWatch console.
A developer is developing an AWS Lambda function that creates a new file upon execution. Each new file must be checked into the same AWS CodeCommit repository. How should the developer go about doing this?
A. When the Lambda function starts, use the Git CLI to clone the repository. Check the new file into the cloned repository and push the change.
B. After the new file is created in Lambda, use cURL to invoke the CodeCommit API. Send the file to the repository.
C. Use an AWS SDK to instantiate a CodeCommit client. Invoke the put_file method to add the file to the repository.
D. Upload the new to an Amazon S3 bucket. Create an AWS Step Function to accept S3 events. In the Step Function, add the new file to the repository.
A developer is publishing vital log data to a log group formed two months ago in Amazon CloudWatch Logs. The developer must encrypt the log data using an AWS KMS customer master key (CMK) in order to ensure that future data is encrypted in accordance with the company's security policy. How is the Developer going to fulfill this requirement?
A. Use the CloudWatch Logs console and enable the encrypt feature on the log group
B. Use the AWS CLI create-log-group command and specify the key Amazon Resource Name (ARN)
C. Use the KMS console and associate the CMK with the log group
D. Use the AWS CLI associate-kms-key command and specify the key Amazon Resource Name (ARN)
A developer must create a mobile application that enables users to read and write data from an Amazon DynamoDB database used to store each user's status. The solution must restrict data access so that users may only access their own data. Which of the following solutions is the most secure?
A. Embed AWS access credentials into the application and create DynamoDB queries that limit user access.
B. Use Amazon Cognito identity pools to assign unique identifiers and provide user access.
C. Modify the DynamoDB table to allow public read and writes, then add client-side filtering.
D. Create a web portal for users to create an account on AWS Directory Service.
A developer has an application that must receive and handle a huge number of incoming data streams before distributing them to several downstream users. Which serverless solution should the developer use in order to achieve these requirements?
A. Amazon RDS MySQL stored procedure with AWS Lambda
B. AWS Direct Connect with AWS Lambda
C. Amazon Kinesis Data Streams with AWS Lambda
D. Amazon EC2 bash script with AWS Lambda
A developer is developing an application that will operate on Amazon EC2 instances that are members of an Auto Scaling group. The developer want to externalize session state in order to facilitate the application's operation. Which services will address these requirements? (Select two.)
A. Amazon DynamoDB
B. Amazon Cognito
C. Amazon ElastiCache
D. Amazon EBS
E. Amazon SQS
A developer must invoke an AWS Lambda function depending on the lifecycle activity of an item in an Amazon DynamoDB database. How does the developer go about developing the solution?
A. Enable a DynamoDB stream that publishes an Amazon SNS message. Trigger the Lambda function synchronously from the SNS message.
B. Enable a DynamoDB stream that publishes an SNS message. Trigger the Lambda function asynchronously from the SNS message.
C. Enable a DynamoDB stream, and trigger the Lambda function synchronously from the stream.
D. Enable a DynamoDB stream, and trigger the Lambda function asynchronously from the stream.
A developer need temporary access to resources located in a different account. What is the MOST SECURE method of doing this?
A. Use the Amazon Cognito user pools to get short-lived credentials for the second account.
B. Create a dedicated IAM access key for the second account, and send it by mail.
C. Create a cross-account access role, and use sts:AssumeRole API to get short-lived credentials.
D. Establish trust, and add an SSH key for the second account to the IAM user.
A developer want to verify that the Amazon EC2 instances running in AWS Elastic Beanstalk execute a certain set of commands prior to the application being available for usage. Which feature of Elastic Beanstalk enables the developer to achieve this?
A. Rolling update
B. Immutable update
C. User data
D. .ebextensions
A team of developers is responsible for migrating an application running on AWS Elastic Beanstalk from a Classic Load Balancer to an Application Load Balancer. How should the job be completed using the AWS Management Console?
A. 1. Update the application code in the existing deployment. 2. Select a new load balancer type before running the deployment. 3. Deploy the new version of the application code to the environment.
B. 1. Create a new environment with the same configurations except for the load balancer type. 2. Deploy the same application version as used in the original environment. 3. Run the swap-environment-cnames action.
C. 1. Clone the existing environment, changing the associated load balancer type. 2. Deploy the same application version as used in the original environment. 3. Run the swap-environment-cnames action.
D. 1. Edit the environment definitions in the existing deployment. 2. Change the associated load balancer type according to the requirements. 3. Rebuild the environment with the new load balancer type.
{"name":"AWS-DA(411-420)", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your knowledge of AWS development with this engaging quiz! This quiz focuses on various AWS services and solutions that developers commonly use. Each question is designed to challenge your understanding of critical concepts and best practices.Prepare to tackle topics such as: AWS Lambda Amazon DynamoDB AWS Elastic Beanstalk CloudWatch Monitoring Cross-Account Access","img":"https:/images/course4.png"}
Powered by: Quiz Maker