Free AWS-CERTIFIED-DEVELOPER-ASSOCIATE-DVA-C02 Amazon AWS-CERTIFIED-DEVELOPER-ASSOCIATE-DVA-C02 Practice Test Question

Loading demo links...

Showing 46–48 of 56 questions

Question 46 (Topic 1)

A developer is writing a web application that must share secure documents with end users. The documents are stored in a private Amazon S3 bucket. The application must allow only authenticated users to download specific documents when requested, and only for a duration of 15 minutes. How can the developer meet these requirements?

Select an option, then click Submit answer.

  • Copy the documents to a separate S3 bucket that has a lifecycle policy for deletion after 15 minutes.
  • Create a presigned S3 URL using the AWS SDK with an expiration time of 15 minutes.
  • Use server-side encryption with AWS KMS managed keys (SSE-KMS) and download the documents using HTTPS.
  • Modify the S3 bucket policy to only allow specific users to download the documents. Revert the change after 15 minutes.
Question 47 (Topic 1)

A development team has an Amazon API Gateway REST API that is backed by an AWS Lambda function. Users have reported performance issues for the Lambda function. The development team identified the source of the issues as a cold start of the Lambda function. The development team needs to reduce the time needed for the Lambda function to initialize. Which solution will meet this requirement?

Select an option, then click Submit answer.

  • Change the Lambda concurrency to reserved concurrency.
  • Increase the timeout of the Lambda function.
  • Increase the memory allocation of the Lambda function.
  • Configure provisioned concurrency for the Lambda function.
Question 48 (Topic 1)

A company offers a business-to-business software service that runs on dedicated infrastructure deployed in each customer’s AWS account. Before a feature release, the company needs to run integration tests on real AWS test infrastructure. The test infrastructure consists of Amazon EC2 instances and an Amazon RDS database. A developer must set up a continuous delivery process that will provision the test infrastructure across the different AWS accounts. The developer then must run the integration tests. Which solution will meet these requirements with the LEAST administrative effort?

Select an option, then click Submit answer.

  • Use AWS CodeDeploy with AWS CloudFormation StackSets to deploy the infrastructure. Use Amazon CodeGuru to run the tests.
  • Use AWS CodePipeline with AWS CloudFormation StackSets to deploy the infrastructure. Use AWS CodeBuild to run the tests.
  • Use AWS CodePipeline with AWS CloudFormation change sets to deploy the infrastructure. Use a CloudFormation custom resource to run the tests.
  • Use AWS Serverless Application Model (AWS SAM) templates with AWS CloudFormation change sets to deploy the infrastructure. Use AWS CodeDeploy to run the tests.