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 191–200 of 492

Q191

A company needs to store access keys for IAM users securely. What is the best practice?

  • A Store in plaintext on servers
  • B Use AWS Secrets Manager
  • C Embed in application code
  • D Email to developers
Explanation AWS Secrets Manager securely stores credentials; others pose security risks.
Q192

You are configuring an S3 bucket to allow only specific users to upload files. What would you set?

  • A Bucket policy
  • B S3 storage class
  • C Object tagging
  • D Bucket lifecycle policy
Explanation A bucket policy controls user permissions; others do not manage permissions.
Q193

Which service automatically scales your EC2 instances?

  • A Auto Scaling
  • B CloudFormation
  • C CloudWatch
  • D Elastic Load Balancing
Explanation Auto Scaling automatically adjusts the number of EC2 instances, while others provide different functionalities.
Q194

A company needs to create a secure VPN connection. Which AWS service should they use?

  • A AWS Direct Connect
  • B AWS Site-to-Site VPN
  • C AWS Transit Gateway
  • D AWS CloudTrail
Explanation AWS Site-to-Site VPN securely connects on-premises networks to AWS, while others connect different resources.
Q195

What happens when two IAM policies are attached to a user?

  • A Policies are combined with OR
  • B Policies are applied sequentially
  • C One policy overrides the other
  • D User has no permissions
Explanation IAM policies are combined with an OR condition; if either allows an action, it is permitted.
Q196

A company needs to deploy a microservices application. Which AWS service should they use to manage container orchestration?

  • A AWS Fargate
  • B AWS Lambda
  • C Amazon EC2
  • D AWS CodePipeline
Explanation AWS Fargate manages containers without servers; Lambda is for serverless functions.
Q197

You are configuring an IAM policy to allow users to list S3 buckets, but you want to restrict them from deleting any bucket. What is essential to include in the policy?

  • A s3:DeleteBucket
  • B s3:ListBucket
  • C s3:GetObject
  • D s3:PutObject
Explanation s3:ListBucket allows listing; DeleteBucket should be explicitly denied or omitted.
Q198

What happens when an RDS instance is set to Multi-AZ deployment but you only use one Availability Zone?

  • A Automatic failover to another AZ.
  • B Increased cost with no benefits.
  • C Data loss on failure.
  • D Enhanced performance guaranteed.
Explanation Multi-AZ incurs higher costs but offers benefits only when multiple AZs are used.
Q199

Which service would you use to automate deployment in AWS?

  • A AWS CodeDeploy
  • B Amazon EC2
  • C AWS Lambda
  • D Amazon S3
Explanation AWS CodeDeploy specifically automates deployment processes, while the others serve different functions.
Q200

A company needs quicker access to frequently accessed database data. Which AWS service is most suitable?

  • A Amazon S3
  • B Amazon DynamoDB
  • C Amazon RDS
  • D Amazon ElastiCache
Explanation Amazon ElastiCache is ideal for caching and quick access, while the others are more general database services.