Free AWS Certified Developer - Associate DVA-C02 Exam Braindumps
AWS Certified Developer - Associate DVA-C02 Questions 146–150 (page: 31)

Updated On: 10-Feb-2026

A developer is building an application that uses AWS API Gateway APIs, AWS Lambda functions, and AWS DynamoDB tables. The developer uses the AWS Serverless Application Model (AWS SAM) to build and run serverless applications on AWS. Each time the developer pushes changes for only to the Lambda functions, all the artifacts in the application are rebuilt.
The developer wants to implement AWS SAM Accelerate by running a command to only redeploy the Lambda functions that have changed.
Which command will meet these requirements?

  1. sam deploy --force-upload
  2. sam deploy --no-execute-changeset
  3. sam package
  4. sam sync --watch

Answer(s): D



A developer is building an application that gives users the ability to view bank accounts from multiple sources in a single dashboard. The developer has automated the process to retrieve API credentials for these sources. The process invokes an AWS Lambda function that is associated with an AWS CloudFormation custom resource.
The developer wants a solution that will store the API credentials with minimal operational overhead.
Which solution will meet these requirements in the MOST secure way?

  1. Add an AWS Secrets Manager GenerateSecretString resource to the CloudFormation template. Set the value to reference new credentials for the CloudFormation resource.
  2. Use the AWS SDK ssm:PutParameter operation in the Lambda function from the existing custom resource to store the credentials as a parameter. Set the parameter value to reference the new credentials. Set the parameter type to SecureString.
  3. Add an AWS Systems Manager Parameter Store resource to the CloudFormation template. Set the CloudFormation resource value to reference the new credentials. Set the resource NoEcho attribute to true.
  4. Use the AWS SDK ssm:PutParameter operation in the Lambda function from the existing custom resource to store the credentials as a parameter. Set the parameter value to reference the new credentials. Set the parameter NoEcho attribute to true.

Answer(s): B



A developer is trying to get data from an Amazon DynamoDB table called demoman-table. The developer configured the AWS CLI to use a specific IAM user’s credentials and ran the following command:
aws dynamodb get-item --table-name demoman-table --key '{"id": {"N":"1993"}}'
The command returned errors and no rows were returned.
What is the MOST likely cause of these issues?

  1. The command is incorrect; it should be rewritten to use put-item with a string argument.
  2. The developer needs to log a ticket with AWS Support to enable access to the demoman-table.
  3. Amazon DynamoDB cannot be accessed from the AWS CLI and needs to be called via the REST API.
  4. The IAM user needs an associated policy with read access to demoman-table.

Answer(s): D



An organization is using Amazon CloudFront to ensure that its users experience low-latency access to its web application. The organization has identified a need to encrypt all traffic between users and CloudFront, and all traffic between CloudFront and the web application.
How can these requirements be met? (Choose two.)

  1. Use AWS KMS to encrypt traffic between CloudFront and the web application.
  2. Set the Origin Protocol Policy to “HTTPS Only”.
  3. Set the Origin’s HTTP Port to 443.
  4. Set the Viewer Protocol Policy to “HTTPS Only” or “Redirect HTTP to HTTPS”.
  5. Enable the CloudFront option Restrict Viewer Access.

Answer(s): B,D



A developer is planning to migrate on-premises company data to Amazon S3. The data must be encrypted, and the encryption keys must support automatic annual rotation. The company must use AWS Key Management Service (AWS KMS) to encrypt the data.
Which type of keys should the developer use to meet these requirements?

  1. Amazon S3 managed keys
  2. Symmetric customer managed keys with key material that is generated by AWS
  3. Asymmetric customer managed keys with key material that is generated by AWS
  4. Symmetric customer managed keys with imported key material

Answer(s): B



Viewing page 31 of 113
Viewing questions 151 - 155 out of 610 questions


Post your Comments and Discuss Amazon AWS Certified Developer - Associate DVA-C02 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!