Amazon AWS

AWS Certified Developer – Associate

DVA-C02
Popular

The AWS Certified Developer – Associate (DVA-C02) exam tests your proficiency in developing applications on AWS. It is designed for developers looking to validate their skills in AWS development.

492 questions 0 views Free
Start Mock Test Timed · Full-length · Scored

Questions 11–20 of 492

Q11

A company needs to grant additional permissions to an existing IAM policy. What should they use?

  • A Modify existing policy
  • B Create a new policy
  • C Attach a role
  • D Delete the policy
Explanation Modifying the existing policy is appropriate for adding permissions, while creating a new policy duplicates effort.
Q12

What happens when you set the S3 bucket policy to 'Block Public Access'?

  • A Only IAM users can access it
  • B Everyone can access files
  • C Bucket can be accessed anonymously
  • D Public access is blocked entirely
Explanation Setting 'Block Public Access' blocks public access completely, unlike the other options which misstate access levels.
Q13

Which service can you use for serverless compute operations?

  • A AWS Lambda
  • B Amazon EC2
  • C Amazon RDS
  • D AWS Batch
Explanation AWS Lambda enables serverless compute, while EC2 and RDS are not serverless options and AWS Batch is for batch processing.
Q14

A company needs to automate its CI/CD pipeline with AWS. What should they use?

  • A AWS CodePipeline
  • B Amazon CloudWatch
  • C AWS IAM
  • D AWS CloudFormation
Explanation AWS CodePipeline is specifically designed for automating CI/CD, while the other options serve different purposes.
Q15

You are configuring S3 bucket policies. What happens if you specify an explicit DENY?

  • A Access is granted if allowed elsewhere
  • B Access is denied regardless of other rules
  • C Only public access is denied
  • D It overrides permissions for administrators
Explanation An explicit DENY takes precedence over any allow policies, while the other options incorrectly assume alternative behavior.
Q16

Which service allows you to run code without provisioning servers?

  • A AWS Lambda
  • B AWS EC2
  • C Amazon RDS
  • D Amazon S3
Explanation AWS Lambda is designed for serverless computing, while the others require server management.
Q17

A company needs to store sensitive customer information. Which storage service provides encryption at rest by default?

  • A Amazon S3
  • B Amazon EBS
  • C Amazon Glacier
  • D DynamoDB
Explanation DynamoDB automatically encrypts data at rest, while others need configuration for this.
Q18

What happens when a CloudFormation stack fails during creation?

  • A Stack is rolled back
  • B Resources remain partially created
  • C All resources are deleted
  • D No resources are created
Explanation CloudFormation rolls back the stack to the previous state in case of failure.
Q19

Which service is used for serverless compute?

  • A AWS Lambda
  • B Amazon EC2
  • C AWS Elastic Beanstalk
  • D Amazon RDS
Explanation AWS Lambda enables serverless compute without servers, while EC2, Elastic Beanstalk, and RDS require server management.
Q20

A company needs to securely store API keys for their application. Which AWS service should they use?

  • A AWS Secrets Manager
  • B Amazon S3
  • C AWS Systems Manager Parameter Store
  • D AWS Key Management Service
Explanation AWS Secrets Manager specifically manages secrets like API keys, whereas others store general data or encrypt keys.