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 341–350 of 492

Q341

A company needs to encrypt their S3 bucket data at rest. What should they enable?

  • A S3 Transfer Acceleration
  • B S3 Object Versioning
  • C S3 Server-Side Encryption
  • D S3 Inventory Reports
Explanation S3 Server-Side Encryption provides encryption for data at rest, unlike the others.
Q342

What happens when an IAM user is assigned two policies with conflicting permissions?

  • A Deny takes precedence over allow
  • B Allow takes precedence over deny
  • C Policies merge with no conflict
  • D Conflict results in no permissions
Explanation In IAM, a deny permission always overrides allow permissions from any other policies.
Q343

Which service would you use to run code in response to events without provisioning servers?

  • A AWS Lambda
  • B EC2 Instances
  • C Elastic Beanstalk
  • D AWS Fargate
Explanation AWS Lambda executes code in response to events without server management, while others require provisioning or managing instances.
Q344

A company needs a cost-effective way to archive large amounts of data with infrequent access. Which storage option should they choose?

  • A S3 Intelligent-Tiering
  • B S3 Glacier
  • C EBS Provisioned IOPS
  • D S3 Standard
Explanation S3 Glacier is specifically designed for cost-effective archiving of infrequently accessed data, unlike the others which serve different access patterns.
Q345

You are configuring an IAM Policy that allows users to list EC2 instances but denies them access to terminate instances. What will happen if a user tries to terminate an instance?

  • A The action will succeed.
  • B The action will be denied.
  • C The user will be notified.
  • D The instance will stop instead.
Explanation The explicit deny for termination calls takes precedence over allow permissions, resulting in access being denied.
Q346

Which AWS service helps you run Docker containers?

  • A AWS Fargate
  • B AWS Lambda
  • C AWS CodeDeploy
  • D AWS Elastic Beanstalk
Explanation AWS Fargate is specifically designed for running containers without managing servers; other options don't focus solely on container management.
Q347

A company needs to control access to AWS resources for different users. Which service should it primarily use?

  • A AWS CloudTrail
  • B AWS IAM
  • C AWS Config
  • D AWS CloudFormation
Explanation AWS IAM provides user and permissions management, unlike other options which serve different purposes.
Q348

What happens when you increase the size of an EBS volume attached to an instance?

  • A Increased IOPS immediately available
  • B Resize without downtime
  • C Data loss occurs
  • D Must stop instance first
Explanation EBS volume resizing can be done online, allowing greater flexibility without downtime; other options are incorrect or misleading.
Q349

Which service provides managed NoSQL database in AWS?

  • A DynamoDB
  • B RDS
  • C Aurora
  • D Redshift
Explanation DynamoDB is AWS's managed NoSQL database service; RDS and Aurora are SQL-based, and Redshift is used for data warehousing.
Q350

A company needs to securely share files across multiple AWS accounts. What is the best solution?

  • A Use S3 with bucket policies
  • B Deploy an EC2 instance for sharing
  • C Utilize IAM roles for access
  • D Set up a CloudFront distribution
Explanation S3 with bucket policies allows secure file sharing; EC2 requires more management and IAM roles aren't for direct file sharing.