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 301–310 of 492

Q301

Which AWS service provides a serverless compute engine?

  • A AWS Lambda
  • B Amazon EC2
  • C Amazon EBS
  • D AWS CloudFormation
Explanation AWS Lambda allows you to run code without provisioning servers; EC2 requires instance management, EBS is for storage, and CloudFormation is for infrastructure as code.
Q302

A company needs to store backups of sensitive user data securely. Which option ensures this data is encrypted both in transit and at rest?

  • A Amazon S3 with Server-Side Encryption
  • B Amazon S3 without encryption enabled
  • C AWS CodeCommit
  • D Amazon EFS without encryption
Explanation Amazon S3 with Server-Side Encryption guarantees encryption in transit and at rest; other options either lack encryption or use different services not designed for this purpose.
Q303

You are configuring a VPC. What happens if you do not provide an IPv4 CIDR block while creating the VPC?

  • A Creation will fail
  • B Default CIDR is assigned
  • C VPC will have no subnets
  • D Public subnets can't be created
Explanation Creation will fail because a CIDR block is mandatory; other options are incorrect as default settings do not apply without manual input.
Q304

Which service is best for serverless computing?

  • A AWS Lambda
  • B Amazon EC2
  • C Amazon RDS
  • D AWS Elastic Beanstalk
Explanation AWS Lambda provides a serverless architecture, while others require server management.
Q305

A company needs to ensure that data in S3 is not publicly accessible. What is an optimal first step?

  • A Enable versioning
  • B Change bucket policy
  • C Set public access settings
  • D Reduce object size
Explanation Setting public access settings blocks all public access.
Q306

You are configuring IAM roles. What happens when a permission policy is attached to a role?

  • A Role becomes non-functional
  • B Permissions are granted immediately
  • C Permissions are deleted
  • D Role cannot assume other roles
Explanation Permissions become effective as soon as the policy is attached.
Q307

Which service automatically scales applications based on load?

  • A AWS Auto Scaling
  • B Amazon EC2
  • C Elastic Load Balancing
  • D AWS Lambda
Explanation AWS Auto Scaling automatically adjusts capacity based on demand; the others do not provide this auto-scalability feature.
Q308

A company needs to securely access AWS from a public environment. What should they use?

  • A IAM access keys
  • B VPN connection
  • C AWS Single Sign-On
  • D Amazon RDS
Explanation A VPN connection provides secure access to AWS resources over the internet; IAM keys and others do not address the secure environment required.
Q309

What happens when an IAM policy is misconfigured to allow everyone access?

  • A Access will be limited.
  • B It is ignored by AWS.
  • C All users may gain unrestricted access.
  • D Only admins have access.
Explanation Misconfigured IAM policies can lead to inadvertent unrestricted access for all users, which is a serious security risk.
Q310

Which service allows for scalable messaging between services?

  • A AWS SQS
  • B AWS CloudTrail
  • C AWS Lambda
  • D AWS VPC
Explanation AWS SQS is specifically designed for message queuing, while the others serve different purposes.