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 321–330 of 492

Q321

What happens when an EC2 instance is terminated?

  • A Data on EBS is lost.
  • B The instance state is saved.
  • C EBS volumes are detached.
  • D Public IP is released.
Explanation When an EC2 instance is terminated, its associated public IP is released, but data can be retained if using EBS volumes with the right settings.
Q322

A company needs a cost-effective solution for developing mobile applications. Which AWS service is most appropriate?

  • A AWS Amplify
  • B AWS Lambda
  • C Amazon EC2
  • D Amazon S3
Explanation AWS Amplify specifically is designed for mobile application development, while the others serve different purposes.
Q323

What happens when you enable versioning on an S3 bucket?

  • A All objects are encrypted
  • B You can retrieve previous object versions
  • C Bucket size is limited
  • D All deleted objects are permanently lost
Explanation Enabling versioning allows retrieval of all object versions, while the other options are inaccurate regarding versioning behavior.
Q324

You are configuring an IAM role for an EC2 instance to access DynamoDB. Which component must you attach to the instance?

  • A EBS Volume
  • B IAM Policy
  • C Network ACL
  • D IAM Role
Explanation You must attach an IAM Role to grant EC2 permissions while the other options do not provide access control for this scenario.
Q325

Which AWS service allows you to deploy serverless applications?

  • A AWS Lambda
  • B Amazon EC2
  • C AWS Fargate
  • D Amazon VPC
Explanation AWS Lambda is specifically designed for serverless applications, while EC2 and Fargate provide servers and VPC is a networking service.
Q326

A company needs to automate the deployment of its applications using Infrastructure as Code. Which AWS service should they use?

  • A AWS CloudFormation
  • B AWS CodePipeline
  • C AWS OpsWorks
  • D AWS Elastic Beanstalk
Explanation AWS CloudFormation implements Infrastructure as Code for automating resource management, whereas others support CI/CD or app deployment.
Q327

What happens when an IAM user tries to access a resource they do not have permissions for?

  • A Access is granted
  • B Access is denied
  • C Access is requested
  • D Access is logged
Explanation Access is denied if permissions are not granted, while logging is a separate operation done by services.
Q328

Which AWS service provides managed Kubernetes?

  • A Amazon EKS
  • B AWS Fargate
  • C Amazon ECS
  • D AWS Step Functions
Explanation Amazon EKS specifically provides managed Kubernetes, while the others serve different orchestration and computing purposes.
Q329

A company needs to securely share files within a team using AWS. Which service should they use?

  • A Amazon RDS
  • B Amazon EFS
  • C Amazon S3
  • D AWS Lambda
Explanation Amazon EFS is designed for sharing files across instances securely, unlike the others which handle different types of data or services.
Q330

What happens when you configure an IAM role with 'sts:AssumeRole' permission for multiple users?

  • A Only the first user can assume it.
  • B All users can assume the role.
  • C No user can assume it.
  • D Only admins can use the role.
Explanation All users with the permission can assume the role simultaneously, enabling shared access.