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 351–360 of 492

Q351

You are configuring an AWS Lambda function with a timeout of 5 seconds. What happens if the function runs longer than this?

  • A The function will succeed silently
  • B An error message is returned
  • C The function stops and returns an error
  • D The function retries automatically
Explanation If a Lambda function exceeds its timeout, it stops executing and returns an error; it does not return a success message or retry automatically.
Q352

Which service provides a fully managed environment for running Docker containers?

  • A Amazon ECS
  • B AWS Lambda
  • C Amazon EC2
  • D AWS Batch
Explanation Amazon ECS is specifically designed for orchestrating Docker containers, whereas the other options serve different purposes.
Q353

A company needs to securely store API keys without hardcoding them in their application. What should they use?

  • A AWS Secrets Manager
  • B AWS CloudTrail
  • C AWS IAM Roles
  • D Amazon RDS
Explanation AWS Secrets Manager is designed for securely managing sensitive data like API keys, while the other options do not meet this specific need.
Q354

What happens when an AWS Lambda function times out?

  • A The function restarts automatically.
  • B It throws an error and stops.
  • C Future invocations will fail.
  • D Event messages queue up.
Explanation When a Lambda function times out, it throws an error and does not complete; other options are incorrect regarding timeout behavior.
Q355

Which service provides a fully managed NoSQL database?

  • A Amazon DynamoDB
  • B Amazon RDS
  • C Amazon Aurora
  • D Amazon Redshift
Explanation DynamoDB is specifically designed for NoSQL databases, while the others are SQL-based services.
Q356

A company needs to process an incoming stream of data in real-time. What is the best AWS service to use?

  • A Amazon S3
  • B Amazon Kinesis
  • C AWS Lambda
  • D AWS Batch
Explanation Amazon Kinesis is ideal for real-time data processing, whereas S3 is for storage, Lambda for event handling, and Batch is for batch processing.
Q357

You are configuring a CloudFormation template with cross-account resource access. What should you include?

  • A IAM policies
  • B S3 bucket policies
  • C Role assumption
  • D API Gateway
Explanation Role assumption allows resources in one account to access resources in another, while the others don't pertain to cross-account access in this context.
Q358

Which service is best for monitoring AWS resources in real-time?

  • A AWS CloudTrail
  • B Amazon CloudWatch
  • C AWS Config
  • D AWS X-Ray
Explanation Amazon CloudWatch provides real-time monitoring and metrics, while the others serve different purposes.
Q359

A company needs to allow users to access their resources from multiple geographic locations. Which service should they use?

  • A AWS Lambda
  • B Amazon RDS
  • C Amazon Route 53
  • D AWS S3
Explanation Amazon Route 53 is a global DNS service that can route users based on location, unlike the other services listed.
Q360

What happens when you modify an IAM policy attached to a user?

  • A User permissions are updated immediately
  • B User permissions are not applied until reboot
  • C User permissions remain unchanged
  • D It triggers an API error
Explanation Changes to an IAM policy are applied immediately, affecting user permissions without any delays.