Amazon AWS Certified Developer - Associate DVA-C01
Prev

There are 237 results

Next
#131 (Accuracy: 93% / 6 votes)
A company is migrating a legacy application to a serverless application on AWS. The legacy application consists of a set of web services that are exposed by an Amazon API Gateway API. A developer needs to replace the existing implementation of web services with AWS Lambda functions. The developer needs to test a new version of the API that uses the functions in production. The developer must minimize the impact of the testing on the application's users.

Which solution will meet these requirements?
  • A. Create a beta stage for the new version of the API. Send the updated endpoint to the users.
  • B. Create a development stage for the new version of the API. Use a canary deployment.
  • C. Create a development stage for the new version of the API. Promote a canary release.
  • D. Create a deployment stage. Enable mutual TLS for the new version of the API.
#132 (Accuracy: 100% / 5 votes)
What does an Amazon SQS delay queue accomplish?
  • A. Messages are hidden for a configurable amount of time when they are first added to the queue.
  • B. Messages are hidden for a configurable amount of time after they are consumed from the queue.
  • C. The consumer can poll the queue for a configurable amount of time before retrieving a message.
  • D. Messages cannot be deleted for a configurable amount of time after they are consumed from the queue.
#133 (Accuracy: 92% / 17 votes)
A Developer is migrating an on-premises application to AWS. The application currently takes user uploads and saves them to a local directory on the server. All uploads must be saved and made immediately available to all instances in an Auto Scaling group.
Which approach will meet these requirements?
  • A. Use Amazon EBS and configure the application AMI to use a snapshot of the same EBS instance on boot.
  • B. Use Amazon S3 and rearchitect the application so all uploads are placed in S3.
  • C. Use instance storage and share it between instances launched from the same Amazon Machine Image (AMI).
  • D. Use Amazon EBS and file synchronization software to achieve eventual consistency among the Auto Scaling group.
#134 (Accuracy: 100% / 3 votes)
A developer is creating a utility application as an AWS Lambda function. The code is using multiple threads. The developer runs the Lambda function, and the function does not perform as well as the developer expected.

What should the developer do to improve the performance of the Lambda function?
  • A. Increase the Lambda function timeout setting.
  • B. Request to increase the Lambda function concurrency quota.
  • C. Increase the memory allocation of the Lambda function.
  • D. Modify the reserved concurrency of the Lambda function to a higher number.
#135 (Accuracy: 100% / 3 votes)
A developer is deploying an AWS Lambda function. The developer wants the ability to return to older versions of the function quickly and seamlessly.

How can the developer achieve this goal with the LEAST operational overhead?
  • A. Use AWS OpsWorks to perform blue/green deployments.
  • B. Use a function alias with different versions.
  • C. Maintain deployment packages for older versions in Amazon S3.
  • D. Use AWS CodePipeline for deployments and rollbacks.
#136 (Accuracy: 100% / 4 votes)
A company has a virtual reality (VR) game. The game has a serverless backend that consists of Amazon API Gateway, AWS Lambda, and Amazon DynamoDB. Recently, the company noticed a sudden increase of new users globally. The company also noticed delays in the retrieval of user data.

Which AWS service or feature can the company use to reduce the database response time to microseconds?
  • A. Amazon ElastiCache
  • B. DynamoDB Accelerator (DAX)
  • C. DynamoDB auto scaling
  • D. Amazon CloudFront
#137 (Accuracy: 100% / 4 votes)
A developer is creating a new batch application that will run on an Amazon EC2 instance. The application requires read access to an Amazon S3 bucket. The developer needs to follow security best practices to grant S3 read access to the application.

Which solution meets these requirements?
  • A. Add the permissions to an IAM policy. Attach the policy to a role. Attach the role to the EC2 instance profile.
  • B. Add the permissions inline to an IAM group. Attach the group to the EC2 instance profile.
  • C. Add the permissions to an IAM policy. Attach the policy to a user. Attach the user to the EC2 instance profile.
  • D. Add the permissions to an IAM policy. Use IAM web identity federation to access the S3 bucket with the policy.
#138 (Accuracy: 100% / 3 votes)
A company is hosting a workshop for external users and wants to share the reference documents with the external users for 7 days. The company stores the reference documents in an Amazon S3 bucket that the company owns.

What is the MOST secure way to share the documents with the external users?
  • A. Use S3 presigned URLs to share the documents with the external users. Set an expiration time of 7 days.
  • B. Move the documents to an Amazon WorkDocs folder Share the links of the WorkDocs folder with the external users.
  • C. Create temporary IAM users that have read-only access to the S3 bucket. Share the access keys with the external users. Expire the credentials after 7 days.
  • D. Create a role that has read-only access to the S3 bucket. Share the Amazon Resource Name (ARN) of this role with the external users.
#139 (Accuracy: 100% / 4 votes)
A company has a web application that runs on Amazon EC2 instances with a custom Amazon Machine Image (AMI). The company uses AWS CloudFormation to provision the application. The application runs in the us-east-1 Region, and the company needs to deploy the application to the us-west-1 Region.
An attempt to create the AWS CloudFormation stack in us-west-1 fails.
An error message states that the AMI ID does not exist. A developer must resolve this error with a solution that uses the least amount of operational overhead.
Which solution meets these requirements?
  • A. Change the AWS CloudFormation templates for us-east-1 and us-west-1 to use an AWS AMI. Relaunch the stack for both Regions.
  • B. Copy the custom AMI from us-east-1 to us-west-1. Update the AWS CloudFormation template for us-west-1 to refer to AMI ID for the copied AMI. Relaunch the stack.
  • C. Build the custom AMI in us-west-1. Create a new AWS CloudFormation template to launch the stack in us-west-1 with the new AMI ID.
  • D. Manually deploy the application outside AWS CloudFormation in us-west-1.
#140 (Accuracy: 100% / 2 votes)
A development team is building a new application that will run on Amazon EC2 and use Amazon DynamoDB as a storage layer. The developers all have assigned IAM user accounts in the same IAM group. The developers currently can launch EC2 instances, and they need to be able to launch EC2 instances with an instance role allowing access to Amazon DynamoDB.

Which AWS IAM changes are needed when creating an instance role to provide this functionality?
  • A. Create an IAM permission policy attached to the role that allows access to DynamoDB. Add a trust policy to the role that allows DynamoDB to assume the role. Attach a permissions policy to the development group in AWS IAM that allows developers to use the iam:GetRole and iam:PassRole permissions for the role.
  • B. Create an IAM permissions policy attached to the role that allows access to DynamoDAdd a trust policy to the role that allows Amazon EC2 to assume the role. Attach a permissions policy to the development group in AWS IAM that allows developers to use the iam:PassRole permission for the role.
  • C. Create an IAM permission policy attached to the role that allows access to Amazon EC2. Add a trust policy to the role that allows DynamoDB to assume the role. Attach a permissions policy to the development group in AWS IAM that allows developers to use the iam:PassRole permission for the role.
  • D. Create an IAM permissions policy attached to the role that allows access to DynamoDB. Add a trust policy to the role that allows Amazon EC2 to assume the role. Attach a permissions policy to the development group in AWS IAM that allows developers to use the iam:GetRole permission for the role.