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.
A company needs to track API usage patterns from multiple services. Which service should they use for logging and monitoring?
AAWS CloudTrail
BAmazon Route 53
CAWS CodeDeploy
DAWS 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?
ADays until instance improves
BThere is no service interruption
CDatabase remains read-only temporarily
DRDS 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?
AAWS Lambda
BAmazon EC2
CAmazon EBS
DAWS 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?
AUse IAM roles
BHard-code passwords
CShare AWS root account
DUse 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?
AConnection succeeds
BConnection fails
CTraffic is routed randomly
DOnly 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?
AAWS Lambda
BAmazon ECS
CAmazon S3
DAWS 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?
AUse versioning on the S3 bucket
BEnable S3 Lifecycle Policies
CUse server-side encryption (SSE)
DDeploy 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?
AThe function retries executing itself
BMemory usage affects execution time
CThe function is terminated immediately
DCloudWatch 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?
AAPI Gateway
BCloudFormation
CLambda
DEC2
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?
AIAM Role
BIAM User
CAccess Key
DBucket Policy
Explanation
An IAM Role allows temporary access, whereas users and access keys provide permanent access.