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 211–220 of 492

Q211

A developer needs to provision persistent storage for a Kubernetes pod in AWS. Which service should they use?

  • A EFS (Elastic File System)
  • B EC2 (Elastic Compute Cloud)
  • C DynamoDB
  • D S3 (Simple Storage Service)
Explanation EFS provides scalable file storage for use with AWS services and supports persistent storage for pods, while EC2, DynamoDB, and S3 serve different purposes.
Q212

What happens when an IAM user tries to access a resource they do not have permission for?

  • A The request is denied.
  • B The request is logged only.
  • C The request is granted automatically.
  • D The request is forwarded to the admin.
Explanation IAM denies access to resources by default if the user lacks explicit permissions; the other options describe incorrect outcomes.
Q213

You are configuring an AWS Lambda function to process S3 uploads. What should you do to trigger the Lambda?

  • A Set an S3 event notification.
  • B Use an EC2 instance.
  • C Directly invoke the function.
  • D Configure AWS CloudTrail.
Explanation Setting up an S3 event notification correctly triggers the Lambda function when an upload occurs; other options do not achieve this purpose.
Q214

Which service is best for real-time data analytics?

  • A Amazon Kinesis
  • B AWS Lambda
  • C Amazon S3
  • D Amazon RDS
Explanation Amazon Kinesis is designed for real-time analytics, while the others serve different purposes like storage or compute.
Q215

A company needs to share a large file between their Amazon S3 bucket and external client securely; what should they do?

  • A Generate a pre-signed URL
  • B Change bucket policy to public
  • C Copy file to EC2 instance
  • D Use AWS Transfer Family
Explanation A pre-signed URL allows secure and limited-time access to private files.
Q216

What happens when you set a public access block on an S3 bucket?

  • A All permissions are removed
  • B It overrides IAM policies
  • C Access is always denied
  • D Public access is restricted
Explanation Public access block settings restrict public access regardless of permissions, unlike the others.
Q217

Which AWS service provides a fully managed NoSQL database?

  • A DynamoDB
  • B RDS
  • C S3
  • D ElastiCache
Explanation DynamoDB is specifically designed as a NoSQL database, while RDS and others cater to SQL databases or different use cases.
Q218

A company needs to store large amounts of unstructured data. Which service is the most suitable?

  • A RDS
  • B EFS
  • C S3
  • D Lambda
Explanation S3 is optimized for storing unstructured data, while RDS is for relational data and EFS is for file storage in the cloud.
Q219

What happens when an AWS Lambda function reaches its maximum execution time?

  • A Function retries automatically
  • B Execution completes successfully
  • C Function runs indefinitely
  • D Execution fails with timeout error
Explanation Once the maximum timeout is reached, the function execution fails and is terminated with a timeout error, not retrying.
Q220

Which service provides automated scaling of containerized applications?

  • A AWS Lambda
  • B Amazon ECS
  • C AWS CloudFormation
  • D Amazon CloudWatch
Explanation Amazon ECS provides automated scaling features for containerized applications; AWS Lambda is serverless, CloudFormation is for infrastructure deployment, and CloudWatch is for monitoring.