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.
You are configuring an AWS Lambda function with a timeout of 5 seconds. What happens if the function runs longer than this?
AThe function will succeed silently
BAn error message is returned
CThe function stops and returns an error
DThe 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?
AAmazon ECS
BAWS Lambda
CAmazon EC2
DAWS 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?
AAWS Secrets Manager
BAWS CloudTrail
CAWS IAM Roles
DAmazon 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?
AThe function restarts automatically.
BIt throws an error and stops.
CFuture invocations will fail.
DEvent 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?
AAmazon DynamoDB
BAmazon RDS
CAmazon Aurora
DAmazon 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?
AAmazon S3
BAmazon Kinesis
CAWS Lambda
DAWS 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?
AIAM policies
BS3 bucket policies
CRole assumption
DAPI 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?
AAWS CloudTrail
BAmazon CloudWatch
CAWS Config
DAWS 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?
AAWS Lambda
BAmazon RDS
CAmazon Route 53
DAWS 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?
AUser permissions are updated immediately
BUser permissions are not applied until reboot
CUser permissions remain unchanged
DIt triggers an API error
Explanation
Changes to an IAM policy are applied immediately, affecting user permissions without any delays.