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 51–60 of 492

Q51

What happens when you configure an S3 bucket to have public access?

  • A All objects are private
  • B Bucket data becomes publicly accessible
  • C S3 enforces encryptions automatically
  • D Access control is revoked
Explanation Public access settings make bucket content accessible; other options incorrectly state the effects of this setting.
Q52

Which service allows you to create and manage APIs on AWS?

  • A AWS Lambda
  • B Amazon API Gateway
  • C AWS CloudFormation
  • D Amazon S3
Explanation Amazon API Gateway is specifically designed for creating and managing APIs, whereas the others serve different purposes.
Q53

A company needs a scalable NoSQL database. Which AWS service should they use?

  • A Amazon RDS
  • B Amazon DynamoDB
  • C Amazon Redshift
  • D Amazon Aurora
Explanation Amazon DynamoDB is a fully managed NoSQL database service, while the others are relational databases or data warehouses.
Q54

You are configuring access to an S3 bucket using IAM policies. What happens if a user has both an explicit deny and allow for an action?

  • A Access will be granted.
  • B Access will be denied.
  • C Access depends on the policy order.
  • D Access will require MFA.
Explanation In AWS IAM, an explicit deny takes precedence over an explicit allow, making access denied in this scenario.
Q55

What happens when a Lambda function exceeds its timeout setting?

  • A Function is abruptly terminated.
  • B Automatically retries execution.
  • C Triggers a CloudWatch alarm.
  • D Returns a partial result.
Explanation The function is abruptly terminated, ending any ongoing processes.
Q56

A company needs to securely expose a REST API. Which service should they use?

  • A AWS Lambda
  • B Amazon API Gateway
  • C AWS IAM
  • D AWS VPC
Explanation Amazon API Gateway securely manages API traffic and access controls.
Q57

You are configuring an S3 bucket policy. What is the maximum number of principals you can define in a single policy statement?

  • A 5
  • B 10
  • C Principal count is unlimited.
  • D 1
Explanation S3 bucket policies can have an unlimited number of principals in a single statement.
Q58

Which service allows event-driven architecture in AWS?

  • A AWS Lambda
  • B Amazon RDS
  • C Amazon EC2
  • D AWS Direct Connect
Explanation AWS Lambda allows event-driven execution, unlike the others which require server management or specific connections.
Q59

A company needs to securely manage permissions for its developers. What should they use?

  • A IAM Roles
  • B S3 Bucket Policies
  • C CloudFormation Templates
  • D EC2 Security Groups
Explanation IAM Roles grant temporary permissions and are ideal for managing access, while the others focus on resource access or configurations.
Q60

What happens when a CloudFormation stack creation fails?

  • A All resources are deleted.
  • B Stack is rolled back.
  • C Stack remains in 'CREATE_FAILED' state.
  • D Resources are kept in optimal state.
Explanation A failed CloudFormation stack creation triggers a rollback to delete all resources created during the process, preserving the previous state.