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 261–270 of 492

Q261

You are configuring IAM policies for a development team. What happens when policies are combined if one allows an action and another denies it?

  • A Deny takes precedence
  • B Allow takes precedence
  • C No effect at all
  • D Combined effect applied
Explanation In IAM, explicit denies always take precedence over allows, effectively blocking the action, which isn't impacted by other cases in this scenario.
Q262

Which AWS service provides automation for infrastructure deployment?

  • A AWS CloudFormation
  • B AWS Lambda
  • C AWS CodeDeploy
  • D AWS Elastic Beanstalk
Explanation AWS CloudFormation automates infrastructure provisioning; others focus on application deployment or compute services.
Q263

A company needs to offload its database storage to a highly scalable solution; what should it choose?

  • A AWS S3
  • B Amazon RDS
  • C Amazon DynamoDB
  • D AWS ElastiCache
Explanation Amazon DynamoDB is a scalable NoSQL database service; S3 is for object storage, RDS for relational databases, and ElastiCache for caching.
Q264

What happens when an IAM role is removed from an EC2 instance while it is running?

  • A Immediate access denial
  • B No effect until reboot
  • C Temporary access loss only
  • D Access issues for existing connections
Explanation Immediate access is denied for actions tied to the role; existing connections won’t maintain permissions if removed.
Q265

Which AWS service can you use for serverless event-driven computation?

  • A AWS Lambda
  • B Amazon EC2
  • C Amazon RDS
  • D AWS Elastic Beanstalk
Explanation AWS Lambda is designed for serverless computing, while the others are not serverless services.
Q266

A company needs ephemeral compute resources for batch processing without managing the infrastructure. Which service would best meet this requirement?

  • A AWS Fargate
  • B Amazon EC2
  • C AWS Lambda
  • D AWS Batch
Explanation AWS Batch is specifically designed for managing batch processing jobs efficiently without infrastructure management.
Q267

You are configuring an IAM policy that denies access to all S3 buckets but allows access to a specific bucket. What happens if the user has an Allow permission in another policy for S3?

  • A Access is allowed to all buckets
  • B Access is denied to all buckets
  • C Access is allowed only to specified bucket
  • D Access behavior cannot be determined
Explanation IAM policies use the deny principle, thus allowing access only to the specified bucket despite other allows.
Q268

Which service provides serverless computing on AWS?

  • A AWS Lambda
  • B Amazon EC2
  • C Amazon RDS
  • D AWS Elastic Beanstalk
Explanation AWS Lambda allows you to execute code without provisioning servers, while the others require different configurations.
Q269

A company needs to monitor its API Gateway for performance metrics. Which AWS service should they use?

  • A AWS CloudTrail
  • B Amazon CloudWatch
  • C AWS X-Ray
  • D Amazon SNS
Explanation Amazon CloudWatch collects and monitors API performance metrics, whereas the others serve different monitoring purposes.
Q270

You are configuring S3 bucket policies. What happens when you specify a Deny statement for a particular IAM user?

  • A User can access bucket
  • B Access is permitted by default
  • C User's access is denied
  • D Access will be logged only
Explanation A Deny statement overrides allow rules, preventing access regardless of other permissions.