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 111–120 of 492

Q111

What happens when you delete an S3 bucket that contains versioned objects?

  • A All versions are permanently deleted.
  • B Only the latest version is deleted.
  • C Versions are restored automatically.
  • D Bucket is deleted but versions remain.
Explanation All versions are permanently deleted upon bucket deletion; only the latest version remains if versioning is not configured.
Q112

Which AWS service provides a managed container orchestration solution?

  • A Amazon Fargate
  • B Amazon SageMaker
  • C AWS Lambda
  • D Amazon EC2
Explanation Amazon Fargate manages containers, while the others do not specialize in orchestration.
Q113

A company needs to run a serverless application that processes files uploaded to S3. What service should they use?

  • A AWS Batch
  • B AWS Step Functions
  • C AWS Lambda
  • D Amazon EC2
Explanation AWS Lambda is designed for serverless processing of events, including S3 uploads.
Q114

What happens when an IAM policy denies permissions that another policy allows?

  • A Allow permissions take precedence
  • B Deny permissions take precedence
  • C Policy results in a conflict
  • D Permissions are combined
Explanation In IAM, explicit deny always takes precedence over allow permissions.
Q115

Which service is best for caching API responses in AWS?

  • A Amazon ElastiCache
  • B AWS Glacier
  • C AWS Step Functions
  • D Amazon DynamoDB
Explanation ElastiCache is designed specifically for caching, while the others serve different purposes.
Q116

You are configuring IAM roles for an application on EC2. Which policy type should you use for allowing access to specific S3 buckets?

  • A Managed Policy
  • B Inline Policy
  • C Service Control Policy
  • D Resource Policy
Explanation Inline Policies are specific to an identity (role in this case) and can grant bucket access.
Q117

What happens when an EC2 instance is abruptly stopped without creating an AMI?

  • A Data on instance store is retained
  • B Data on instance store is lost
  • C Data is stored in S3
  • D Instance automatically restarts
Explanation Data on instance store volumes is ephemeral and lost when the instance stops without preservation.
Q118

Which service provides managed message queuing?

  • A Amazon SQS
  • B AWS Lambda
  • C Amazon SNS
  • D Amazon CloudWatch
Explanation Amazon SQS is a fully managed message queuing service; others do not serve this purpose.
Q119

A company needs to deploy applications in multiple regions with zero downtime. Which strategy should they use?

  • A Single region with High Availability
  • B Multi-Region Active-Active architecture
  • C Use AWS Lambda only
  • D Centralized database in one region
Explanation A Multi-Region Active-Active architecture ensures high availability across regions; other options don’t fulfill zero downtime requirement effectively.
Q120

You are configuring an IAM user with permissions to access S3. What happens if you do not attach a policy?

  • A User has full access to S3
  • B User can read S3 objects only
  • C User cannot access S3
  • D User can write S3 objects only
Explanation Without an attached policy, the user has no permissions and cannot access S3; other options inaccurately imply some access rights.