AWS-DA(341-350)
AWS Certified Developer Quiz
Test your knowledge with our comprehensive AWS Certified Developer quiz, featuring 10 challenging questions designed to assess your understanding of key AWS services and fun
✔ Multiple choice format
✔ Suitable for those preparing for AWS certification
✔ Covering essential topics like API Gateway, Lambda, and S3
A development team is tasked with the task of creating a mobile application that will need multi-factor authentication. Which measures should be made in order to accomplish this? (Select two.)
A. Use Amazon Cognito to create a user pool and create users in the user pool.
B. Send multi-factor authentication text codes to users with the Amazon SNS Publish API call in the app code.
C. Enable multi-factor authentication for the Amazon Cognito user pool.
D. Use AWS IAM to create IAM users.
E. Enable multi-factor authentication for the users created in AWS IAM.
A developer is combining an Amazon API Gateway with an AWS Lambda function in order to create an application. When the developer attempts to use the API, he or she gets the following error: Wed Nov 08 01:13:00 UTC 2017 : Method completed with status: 502 What is the developer's responsibility in resolving the error?
A. Change the HTTP endpoint of the API to an HTTPS endpoint
B. Change the format of the payload sent to the API Gateway
C. Change the format of the Lambda function response to the API call
D. Change the authorization header in the API call to access the Lambda function
A developer is establishing a position that will provide access to Amazon S3 buckets. The developer creates the role using the AWS CLI create-role command. Which policy should be implemented to enable Amazon EC2 to take over the role?
A. Managed policy
B. Trust policy
C. Inline policy
D. Service control policy (SCP)
A business intends to install an application on Amazon Web Services (AWS) behind an Elastic Load Balancer. The program makes use of an HTTP/HTTPS listener and hence requires access to the client's IP addresses. Which load-balancing system satisfies these criteria?
A. Use an Application Load Balancer and the X-Forwarded-For headers.
B. Use a Network Load Balancer (NLB). Enable proxy protocol support on the NLB and the target application.
C. Use an Application Load Balancer. Register the targets by the instance ID.
D. Use a Network Load Balancer and the X-Forwarded-For headers.
A developer observed that an application responsible for processing messages in an Amazon SQS queue was falling behind on a regular basis. Although the program is capable of processing several messages concurrently, it receives only one message at a time. What can the developer do to boost the amount of messages received by the application?
A. Call the ChangeMessageVisibility API for the queue and set MaxNumberOfMessages to a value greater than the default of 1.
B. Call the AddPermission API to set MaxNumberOfMessages for the ReceiveMessage action to a value greater than the default of 1.
C. Call the ReceiveMessage API to set MaxNumberOfMessages to a value greater than the default of 1.
D. Call the SetQueueAttributes API for the queue and set MaxNumberOfMessages to a value greater than the default of 1.
A developer wants to create an application that enables new users to register and establish new accounts. Additionally, people with social media profiles must be able to log in using their social media credentials. Which Amazon Web Services (AWS) service or functionality may be leveraged to fulfill these requirements?
A. AWS IAM
B. Amazon Cognito identity pools
C. Amazon Cognito user pools
D. AWS Directory Service
A business has transferred a classic application to a fleet of Amazon EC2 instances. The application is now storing data in a MySQL database that is deployed on a single EC2 instance. The organization has chosen to move the database from the EC2 instance to Amazon RDS MySQL. What steps should the developer take to adapt the application to enable Amazon RDS data storage?
A. Update the database connection parameters in the application to point to the new RDS instance.
B. Add a script to the EC2 instance that implements an AWS SDK for requesting database credentials.
C. Create a new EC2 instance with an IAM role that allows access to the new RDS database.
D. Create an AWS Lambda function that will route traffic from the EC2 instance to the RDS database.
A program at a company logs all information to Amazon S3. Every time a new log file is created, an AWS Lambda function is called to process it. The code works and collects all of the essential data. When looking through the Lambda function logs, however, duplicate entries with the same request ID are discovered. What's the source of the duplicate entries?
A. The S3 bucket name was specified incorrectly.
B. The Lambda function failed, and the Lambda service retried the invocation with a delay.
C. There was an S3 outage, which caused duplicate entries of the same log file.
D. The application stopped intermittently and then resumed.
A developer has been tasked with the responsibility of developing a real-time dashboard web application that visualizes the key prefixes and storage capacity of items stored in Amazon S3 buckets. The Amazon S3 metadata will be stored in Amazon DynamoDB. What is the most cost-effective and best solution for keeping the real-time dashboard current with the condition of the objects in the Amazon S3 buckets?
A. Use an Amazon CloudWatch event backed by an AWS Lambda function. Issue an Amazon S3 API call to get a list of all Amazon S3 objects and persist the metadata within DynamoDB. Have the web application poll the DynamoDB table to reflect this change.
B. Use Amazon S3 Event Notification backed by a Lambda function to persist the metadata into DynamoDB. Have the web application poll the DynamoDB table to reflect this change.
C. Run a cron job within an Amazon EC2 instance to list all objects within Amazon S3 and persist the metadata into DynamoDB. Have the web application poll the DynamoDB table to reflect this change.
D. Create a new Amazon EMR cluster to get all the metadata about Amazon S3 objects; persist the metadata into DynamoDB. Have the web application poll the DynamoDB table to reflect this change.
A developer created an application that runs on AWS Lambda and makes use of the AWS Serverless Application Model (AWS SAM). What is the proper sequence of action for a successful application deployment?
A. 1. Build the SAM template in Amazon EC2. 2. Package the SAM template to Amazon EBS storage. 3. Deploy the SAM template from Amazon EBS.
B. 1. Build the SAM template locally. 2. Package the SAM template onto Amazon S3. 3. Deploy the SAM template from Amazon S3.
C. 1. Build the SAM template locally. 2. Deploy the SAM template from Amazon S3. 3. Package the SAM template for use.
D. 1. Build the SAM template locally. 2. Package the SAM template from AWS CodeCommit. 3. Deploy the SAM template to CodeCommit.
{"name":"AWS-DA(341-350)", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your knowledge with our comprehensive AWS Certified Developer quiz, featuring 10 challenging questions designed to assess your understanding of key AWS services and functionalities.✔ Multiple choice format✔ Suitable for those preparing for AWS certification✔ Covering essential topics like API Gateway, Lambda, and S3","img":"https:/images/course1.png"}