Amazon AWS Certified Developer - Associate DVA-C01
Prev

There are 237 results

Next
#111 (Accuracy: 100% / 5 votes)
The developer is creating a web application that collects highly regulated and confidential user data through a POST request. The web application is served through Amazon CloudFront. User names and phone numbers must be encrypted at the edge and must remain encrypted throughout the entire application stack.
What is the MOST secure way to meet these requirements?
  • A. Enforce Match Viewer with HTTPS Only on CloudFront.
  • B. Use only the newest TLS security policy on CloudFront.
  • C. Enforce a signed URL on CloudFront on the front end.
  • D. Use field-level encryption on CloudFront.
#112 (Accuracy: 100% / 4 votes)
A Development team decides to adopt a continuous integration/continuous delivery (CI/CD) process using AWS CodePipeline and AWS CodeCommit for a new application. However, management wants a person to review and approve the code before it is deployed to production.
How can the Development team add a manual approver to the CI/CD pipeline?
  • A. Use AWS SES to send an email to approvers when their action is required. Develop a simple application that allows approvers to accept or reject a build. Invoke an AWS Lambda function to advance the pipeline when a build is accepted.
  • B. If approved, add an approved tag when pushing changes to the CodeCommit repository. CodePipeline will proceed to build and deploy approved commits without interruption.
  • C. Add an approval step to CodeCommit. Commits will not be saved until approved.
  • D. Add an approval action to the pipeline. Configure the approval action to publish to an Amazon SNS topic when approval is required. The pipeline execution will stop and wait for an approval.
#113 (Accuracy: 100% / 4 votes)
When a Developer tries to run an AWS CodeBuild project, it raises an error because the length of all environment variables exceeds the limit for the combined maximum of characters.
What is the recommended solution?
  • A. Add the export LC_ALL=ג€en_US.utf8ג€ command to the pre_build section to ensure POSIX localization.
  • B. Use Amazon Cognito to store key-value pairs for large numbers of environment variables.
  • C. Update the settings for the build project to use an Amazon S3 bucket for large numbers of environment variables.
  • D. Use AWS Systems Manager Parameter Store to store large numbers of environment variables.
#114 (Accuracy: 100% / 4 votes)
A company is providing services to many downstream consumers. Each consumer may connect to one or more services. This has resulted in a complex architecture that is difficult to manage and does not scale well. The company needs a single interface to manage these services to consumers.
Which AWS service should be used to refactor this architecture?
  • A. AWS Lambda
  • B. AWS X-Ray
  • C. Amazon SQS
  • D. Amazon API Gateway
#115 (Accuracy: 92% / 10 votes)
A company experienced partial downtime during the last deployment of a new application. AWS Elastic Beanstalk split the environment's Amazon EC2 instances into batches and deployed a new version one batch at a time after taking them out of service. Therefore, full capacity was not maintained during deployment.
The developer plans to release a new version of the application, and is looking for a policy that will maintain full capacity and minimize the impact of the failed deployment.

Which deployment policy should the developer use?
  • A. Immutable
  • B. All at Once
  • C. Rolling
  • D. Rolling with an Additional Batch
#116 (Accuracy: 90% / 6 votes)
A developer is creating a solution to track an account's Amazon S3 buckets over time. The developer has created an AWS Lambda function that will run on a schedule. The function will list the account's S3 buckets and will store the list in an Amazon DynamoDB table. The developer receives a permissions error when the developer runs the function with the AWSLambdaBasicExecutionRole AWS managed policy.
Which combination of permissions should the developer use to resolve this error? (Choose two.)
  • A. Cross-account IAM role
  • B. Permission for the Lambda function to list buckets in Amazon S3
  • C. Permission for the Lambda function to write in DynamoDB
  • D. Permission for Amazon S3 to invoke the Lambda function
  • E. Permission for DynamoDB to invoke the Lambda function
#117 (Accuracy: 94% / 8 votes)
A company has an application that analyzes photographs. A developer is preparing the application for deployment to Amazon EC2 instances. The application's image analysis functions require a mix of GPU instances and CPU instances that run on Amazon Linux. The developer needs to add code to the application so that the functions can determine whether they are running on a GPU instance.
What should the functions do to obtain this information?
  • A. Call the DescribeInstances API operation and filter on the current instance ID. Examine the ElasticGpuAssociations property.
  • B. Evaluate the GPU AVAILABLE environment variable.
  • C. Call the DescribeElasticGpus API operation.
  • D. Retrieve the instance type from the instance metadata.
#118 (Accuracy: 100% / 3 votes)
A company has a web application that uses an Amazon Cognito user pool for authentication. The company wants to create a login page that includes the company logo.

What should a developer do to meet these requirements?
  • A. Create a hosted user interface (UI) in Amazon Cognito. Customize the hosted UI with the company logo.
  • B. Create a login page that includes the company logo. Upload the login page to Amazon Cognito,
  • C. Create a login page that includes the company logo in Amazon API Gateway. Save the link in Amazon Cognito.
  • D. Upload the company logo to an Amazon S3 bucket. Specify the S3 object path in app client settings in Amazon Cognito.
#119 (Accuracy: 91% / 5 votes)
A developer is implementing a serverless application by using AWS CloudFormation to provision Amazon S3 web hosting, Amazon API Gateway, and AWS Lambda functions. The Lambda function source code is zipped and uploaded to an S3 bucket. The S3 object key of the zipped source code is specified in the Lambda resource in the CloudFormation template.

The developer notices that there are no changes in the Lambda function every time the CloudFormation stack is updated.


How can the developer resolve this issue?
  • A. Create a new Lambda function alias before updating the CloudFormation stack.
  • B. Change the S3 object key or the S3 version in the CloudFormation template before updating the CloudFormation stack.
  • C. Upload the zipped source code to another $3 bucket before updating the CloudFormation stack.
  • D. Associate a code signing configuration with the Lambda function before updating the CloudFormation stack.
#120 (Accuracy: 100% / 3 votes)
When using the AWS Encryption SDK, how does the developer keep track of the data encryption keys used to encrypt data?
  • A. The developer must manually keep track of the data encryption keys used for each data object.
  • B. The SDK encrypts the data encryption key and stores it (encrypted) as part of the returned ciphertext.
  • C. The SDK stores the data encryption keys automatically in Amazon S3.
  • D. The data encryption key is stored in the Userdata for the EC2 instance.