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.
Which service helps run code without provisioning servers?
AAWS Lambda
BAmazon S3
CAmazon EC2
DAWS Codestar
Explanation
AWS Lambda allows code execution in response to events without server management, while S3 and EC2 are storage and compute services, respectively.
Q92
A company needs to gather detailed metrics from various AWS resources. Which service should be deployed?
AAWS CloudTrail
BAmazon CloudWatch
CAWS X-Ray
DAmazon SNS
Explanation
Amazon CloudWatch collects and tracks metrics for AWS resources; CloudTrail logs API calls, X-Ray analyzes apps, and SNS is for notifications.
Q93
You are configuring an S3 bucket for static website hosting. What must be enabled to access the website?
ABucket policy
BIAM role
CCloudFront distribution
DData encryption
Explanation
A bucket policy must allow public access to enable static website hosting; IAM roles and encryption do not affect accessibility in this context.
Q94
Which service allows you to run code without provisioning servers?
AAWS Lambda
BAmazon EC2
CAmazon RDS
DAWS Elastic Beanstalk
Explanation
AWS Lambda enables serverless compute without provisioning servers, while the others require server management.
Q95
A company needs to automate its deployment pipeline. Which AWS service should they primarily use?
AAWS CloudFormation
BAWS CodeDeploy
CAWS CodePipeline
DAWS Elastic Beanstalk
Explanation
AWS CodePipeline is designed for automating deployment pipelines, while the other options serve different purposes.
Q96
What happens when a user is denied access due to an IAM policy?
AThey can still access the resource
BTheir access is granted in the next request
CAccess is immediately denied
DThey receive a notification
Explanation
Access is immediately denied, while the other options reflect incorrect behaviors of IAM policies.
Q97
Which service is primarily used for serverless computing?
AAWS Lambda
BAmazon EC2
CAmazon S3
DAWS RDS
Explanation
AWS Lambda is designed for serverless execution, while EC2, S3, and RDS are not serverless services.
Q98
A company needs to ensure secure access control for its secrets management. Which AWS service should they use?
AAWS Secrets Manager
BAWS CodeCommit
CAWS CloudTrail
DAmazon S3
Explanation
AWS Secrets Manager is specifically designed for managing secrets securely, unlike CodeCommit, CloudTrail, and S3.
Q99
What happens when you enable versioning on an S3 bucket?
AAll previous versions are deleted
BYou can restore previous versions
CVersioning can’t be disabled
DStorage costs decrease
Explanation
Enabling versioning allows restoration of previous object versions, while the other options are incorrect regarding versioning behavior.
Q100
Which service allows you to run code without provisioning servers?
AAWS Lambda
BEC2
CS3
DRDS
Explanation
AWS Lambda runs code in response to events without server management, while EC2 requires server provisioning.