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 store data in a way that is both cost-effective and highly durable. Which storage option should they choose?
AAmazon S3
BAmazon EBS
CAmazon RDS
DAWS Lambda
Explanation
Amazon S3 offers high durability and low-cost object storage for large amounts of data, unlike the other options.
Q312
What happens when an IAM policy explicitly denies an action?
AThe action is allowed.
BThe action is denied.
CThe action is evaluated at runtime.
DThe IAM policy has no effect.
Explanation
An explicit deny in IAM policies takes precedence over allow policies, blocking the action.
Q313
Which AWS service facilitates secure access control?
AAWS Identity and Access Management
BAmazon RDS
CAWS CloudFormation
DAmazon EC2
Explanation
AWS Identity and Access Management allows you to manage access secure, while the other options do not focus on access control.
Q314
A company needs to store frequently accessed data with low latency. Which storage option should they choose?
AS3 Glacier
BAmazon EFS
CS3 Standard
DS3 Intelligent-Tiering
Explanation
S3 Standard is optimized for frequent access while the others prioritize different use cases.
Q315
What happens when an AWS Lambda function times out during execution?
ALambda automatically retries the function
BThe function execution will succeed
CLambda returns an error message only
DLambda stops without notification
Explanation
AWS Lambda will attempt to retry depending on the event source; the other options misinterpret the timeout consequence.
Q316
Which service allows you to set up a scalable, managed NoSQL database?
AAmazon DynamoDB
BAmazon RDS
CAmazon Redshift
DAmazon EFS
Explanation
DynamoDB is a fully managed NoSQL database; RDS is relational, Redshift is for data warehousing, and EFS is for file storage.
Q317
A company needs to deploy a web application on AWS with high availability across multiple regions. What should they use?
AAWS Lambda
BEC2 Auto Scaling
CRoute 53
DAWS CloudFormation
Explanation
Route 53 enables DNS routing across regions for high availability; Lambda and Auto Scaling are application deployment methods, while CloudFormation automates resource management.
Q318
What happens when an IAM user is created with no permissions attached?
AThey have full permissions
BThey have no permissions
CThey can only access logs
DThey can create users only
Explanation
An IAM user with no permissions cannot perform any actions on AWS; option A is incorrect as it suggests full access, C is not accurate, and D misrepresents IAM user roles.
Q319
Which service is used for long-term storage of infrequently accessed data?
AS3 Glacier
BS3 Standard
CEBS Snapshot
DCloudFront
Explanation
S3 Glacier is designed for infrequent access, while the others serve different or more frequent use cases.
Q320
A company needs to securely store API keys and sensitive information. Which AWS service is best suited for this task?
AAWS Secrets Manager
BAmazon S3
CAmazon RDS
DAmazon EC2
Explanation
AWS Secrets Manager is specifically designed for securely storing and managing secrets, unlike the others.