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 231–240 of 492

Q231

What happens when you configure an Auto Scaling group with a desired capacity of 3 and a static minimum of 2?

  • A Only 2 instances will launch.
  • B 3 instances will launch immediately.
  • C Scaling will be disabled.
  • D It ignores the minimum setting.
Explanation The desired capacity setting overrides the minimum, so 3 instances are launched.
Q232

Which service is used for serverless compute with event-driven architecture?

  • A AWS Lambda
  • B Amazon EC2
  • C AWS Fargate
  • D Amazon RDS
Explanation AWS Lambda provides serverless compute for events; EC2 requires manual server management, Fargate is for containers, and RDS is for databases.
Q233

A company needs to securely manage and rotate API secrets. Which AWS service should they use?

  • A AWS Secrets Manager
  • B AWS Systems Manager
  • C Amazon Cognito
  • D AWS Lambda
Explanation AWS Secrets Manager specifically manages and rotates API secrets securely; Systems Manager is for instance management, Cognito is for user authentication, and Lambda is for running code without managing servers.
Q234

What happens when you enable EC2 instance termination protection?

  • A Instance cannot be stopped
  • B Instance cannot be rebooted
  • C Instance cannot be terminated
  • D Instance cannot be resized
Explanation Enabling termination protection prevents the instance from being terminated, while it can still be stopped, rebooted, or resized; stopping and rebooting are unaffected by this setting.
Q235

Which service provides a Python-based environment for creating serverless applications?

  • A AWS Lambda
  • B AWS Batch
  • C Amazon EC2
  • D AWS Fargate
Explanation AWS Lambda allows for serverless computing using various languages including Python, while the others are not serverless options.
Q236

A company needs to run multiple applications in containers without managing servers. What should they use?

  • A Amazon EC2
  • B AWS Lambda
  • C AWS Fargate
  • D Elastic Beanstalk
Explanation AWS Fargate enables the deployment of containers without managing servers, unlike the other options.
Q237

What happens when you change an IAM policy attached to a user in a user group?

  • A All users inherit the policy.
  • B Only the specific user is affected.
  • C Group policies override user policies.
  • D The user loses all permissions.
Explanation Changes in group policies affect all users in that group; individual policies cannot contradict this.
Q238

Which service allows automatic scaling of resources?

  • A AWS Auto Scaling
  • B Amazon CloudFront
  • C AWS Lambda
  • D Amazon RDS
Explanation AWS Auto Scaling adjusts resources automatically based on demand, while the other services do not primarily focus on scaling.
Q239

A company needs to deploy applications in multiple regions. Which AWS service would best facilitate this?

  • A Amazon S3
  • B AWS Regions
  • C AWS CloudFormation
  • D AWS Elastic Beanstalk
Explanation AWS Elastic Beanstalk supports multi-region deployment seamlessly, unlike others which are not designed specifically for application deployment across regions.
Q240

What happens when you attach an IAM policy with 'Deny' to a user?

  • A Grants user all permissions
  • B Denies specified permissions
  • C Overrides other policies
  • D Has no effect
Explanation A 'Deny' policy explicitly denies permissions, while other options either incorrectly suggest granting or no actions taken.