Amazon AWS
AWS Certified Developer – Associate
DVA-C02
Popular
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.
492 questions
0 views
Free
Questions 11–20 of 492
A company needs to grant additional permissions to an existing IAM policy. What should they use?
A
Modify existing policy
B
Create a new policy
C
Attach a role
D
Delete the policy
Reveal Answer
Explanation
Modifying the existing policy is appropriate for adding permissions, while creating a new policy duplicates effort.
What happens when you set the S3 bucket policy to 'Block Public Access'?
A
Only IAM users can access it
B
Everyone can access files
C
Bucket can be accessed anonymously
D
Public access is blocked entirely
Reveal Answer
Explanation
Setting 'Block Public Access' blocks public access completely, unlike the other options which misstate access levels.
Which service can you use for serverless compute operations?
A
AWS Lambda
B
Amazon EC2
C
Amazon RDS
D
AWS Batch
Reveal Answer
Explanation
AWS Lambda enables serverless compute, while EC2 and RDS are not serverless options and AWS Batch is for batch processing.
A company needs to automate its CI/CD pipeline with AWS. What should they use?
A
AWS CodePipeline
B
Amazon CloudWatch
C
AWS IAM
D
AWS CloudFormation
Reveal Answer
Explanation
AWS CodePipeline is specifically designed for automating CI/CD, while the other options serve different purposes.
You are configuring S3 bucket policies. What happens if you specify an explicit DENY?
A
Access is granted if allowed elsewhere
B
Access is denied regardless of other rules
C
Only public access is denied
D
It overrides permissions for administrators
Reveal Answer
Explanation
An explicit DENY takes precedence over any allow policies, while the other options incorrectly assume alternative behavior.
Which service allows you to run code without provisioning servers?
A
AWS Lambda
B
AWS EC2
C
Amazon RDS
D
Amazon S3
Reveal Answer
Explanation
AWS Lambda is designed for serverless computing, while the others require server management.
A company needs to store sensitive customer information. Which storage service provides encryption at rest by default?
A
Amazon S3
B
Amazon EBS
C
Amazon Glacier
D
DynamoDB
Reveal Answer
Explanation
DynamoDB automatically encrypts data at rest, while others need configuration for this.
What happens when a CloudFormation stack fails during creation?
A
Stack is rolled back
B
Resources remain partially created
C
All resources are deleted
D
No resources are created
Reveal Answer
Explanation
CloudFormation rolls back the stack to the previous state in case of failure.
Which service is used for serverless compute?
A
AWS Lambda
B
Amazon EC2
C
AWS Elastic Beanstalk
D
Amazon RDS
Reveal Answer
Explanation
AWS Lambda enables serverless compute without servers, while EC2, Elastic Beanstalk, and RDS require server management.
A company needs to securely store API keys for their application. Which AWS service should they use?
A
AWS Secrets Manager
B
Amazon S3
C
AWS Systems Manager Parameter Store
D
AWS Key Management Service
Reveal Answer
Explanation
AWS Secrets Manager specifically manages secrets like API keys, whereas others store general data or encrypt keys.