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 281–290 of 492

Q281

A company needs to track API usage patterns from multiple services. Which service should they use for logging and monitoring?

  • A AWS CloudTrail
  • B Amazon Route 53
  • C AWS CodeDeploy
  • D AWS Config
Explanation AWS CloudTrail logs API usage across AWS services; Route 53 manages DNS, CodeDeploy deploys code, and Config tracks resource configurations.
Q282

What happens when you increase the size of an Amazon RDS instance?

  • A Days until instance improves
  • B There is no service interruption
  • C Database remains read-only temporarily
  • D RDS instance automatically reverts
Explanation Increasing RDS instance size often occurs without interruption; it does not revert or make it read-only temporarily, nor does it introduce delays.
Q283

Which service provides event-driven serverless compute?

  • A AWS Lambda
  • B Amazon EC2
  • C Amazon EBS
  • D AWS ECS
Explanation AWS Lambda runs code without provisioning servers, whereas others require more management.
Q284

A company needs to securely manage user access to AWS resources. What is the best practice?

  • A Use IAM roles
  • B Hard-code passwords
  • C Share AWS root account
  • D Use Access Key IDs only
Explanation IAM roles provide temporary credentials, ensuring proper permissions without security risks seen in other options.
Q285

You are configuring a VPC peering connection. What happens if the VPCs have overlapping CIDR ranges?

  • A Connection succeeds
  • B Connection fails
  • C Traffic is routed randomly
  • D Only some subnets connect
Explanation VPC peering requires non-overlapping CIDR ranges; overlapping ranges would cause a failure.
Q286

Which service allows you to deploy Docker containers?

  • A AWS Lambda
  • B Amazon ECS
  • C Amazon S3
  • D AWS CloudFormation
Explanation Amazon ECS is designed for container orchestration, while others are not focused on Docker deployments.
Q287

A company needs to ensure that sensitive data in S3 is encrypted at rest. What should they do?

  • A Use versioning on the S3 bucket
  • B Enable S3 Lifecycle Policies
  • C Use server-side encryption (SSE)
  • D Deploy CloudFront for access
Explanation Server-side encryption (SSE) specifically encrypts data at rest in S3, while others do not provide encryption functionality.
Q288

You are configuring an AWS Lambda function. What happens when the function runs out of memory?

  • A The function retries executing itself
  • B Memory usage affects execution time
  • C The function is terminated immediately
  • D CloudWatch Logs failure events occur
Explanation The function is immediately terminated if it exceeds allocated memory, while the other options do not accurately describe the behavior.
Q289

Which AWS service enables you to build APIs quickly?

  • A API Gateway
  • B CloudFormation
  • C Lambda
  • D EC2
Explanation API Gateway is specifically designed for creating APIs, while others serve different purposes.
Q290

A company needs to grant temporary access to an S3 bucket within a specific project. What is the best way to accomplish this?

  • A IAM Role
  • B IAM User
  • C Access Key
  • D Bucket Policy
Explanation An IAM Role allows temporary access, whereas users and access keys provide permanent access.