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 developer needs to provision persistent storage for a Kubernetes pod in AWS. Which service should they use?
AEFS (Elastic File System)
BEC2 (Elastic Compute Cloud)
CDynamoDB
DS3 (Simple Storage Service)
Explanation
EFS provides scalable file storage for use with AWS services and supports persistent storage for pods, while EC2, DynamoDB, and S3 serve different purposes.
Q212
What happens when an IAM user tries to access a resource they do not have permission for?
AThe request is denied.
BThe request is logged only.
CThe request is granted automatically.
DThe request is forwarded to the admin.
Explanation
IAM denies access to resources by default if the user lacks explicit permissions; the other options describe incorrect outcomes.
Q213
You are configuring an AWS Lambda function to process S3 uploads. What should you do to trigger the Lambda?
ASet an S3 event notification.
BUse an EC2 instance.
CDirectly invoke the function.
DConfigure AWS CloudTrail.
Explanation
Setting up an S3 event notification correctly triggers the Lambda function when an upload occurs; other options do not achieve this purpose.
Q214
Which service is best for real-time data analytics?
AAmazon Kinesis
BAWS Lambda
CAmazon S3
DAmazon RDS
Explanation
Amazon Kinesis is designed for real-time analytics, while the others serve different purposes like storage or compute.
Q215
A company needs to share a large file between their Amazon S3 bucket and external client securely; what should they do?
AGenerate a pre-signed URL
BChange bucket policy to public
CCopy file to EC2 instance
DUse AWS Transfer Family
Explanation
A pre-signed URL allows secure and limited-time access to private files.
Q216
What happens when you set a public access block on an S3 bucket?
AAll permissions are removed
BIt overrides IAM policies
CAccess is always denied
DPublic access is restricted
Explanation
Public access block settings restrict public access regardless of permissions, unlike the others.
Q217
Which AWS service provides a fully managed NoSQL database?
ADynamoDB
BRDS
CS3
DElastiCache
Explanation
DynamoDB is specifically designed as a NoSQL database, while RDS and others cater to SQL databases or different use cases.
Q218
A company needs to store large amounts of unstructured data. Which service is the most suitable?
ARDS
BEFS
CS3
DLambda
Explanation
S3 is optimized for storing unstructured data, while RDS is for relational data and EFS is for file storage in the cloud.
Q219
What happens when an AWS Lambda function reaches its maximum execution time?
AFunction retries automatically
BExecution completes successfully
CFunction runs indefinitely
DExecution fails with timeout error
Explanation
Once the maximum timeout is reached, the function execution fails and is terminated with a timeout error, not retrying.
Q220
Which service provides automated scaling of containerized applications?
AAWS Lambda
BAmazon ECS
CAWS CloudFormation
DAmazon CloudWatch
Explanation
Amazon ECS provides automated scaling features for containerized applications; AWS Lambda is serverless, CloudFormation is for infrastructure deployment, and CloudWatch is for monitoring.