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.
What happens when you configure an S3 bucket to have public access?
AAll objects are private
BBucket data becomes publicly accessible
CS3 enforces encryptions automatically
DAccess control is revoked
Explanation
Public access settings make bucket content accessible; other options incorrectly state the effects of this setting.
Q52
Which service allows you to create and manage APIs on AWS?
AAWS Lambda
BAmazon API Gateway
CAWS CloudFormation
DAmazon S3
Explanation
Amazon API Gateway is specifically designed for creating and managing APIs, whereas the others serve different purposes.
Q53
A company needs a scalable NoSQL database. Which AWS service should they use?
AAmazon RDS
BAmazon DynamoDB
CAmazon Redshift
DAmazon Aurora
Explanation
Amazon DynamoDB is a fully managed NoSQL database service, while the others are relational databases or data warehouses.
Q54
You are configuring access to an S3 bucket using IAM policies. What happens if a user has both an explicit deny and allow for an action?
AAccess will be granted.
BAccess will be denied.
CAccess depends on the policy order.
DAccess will require MFA.
Explanation
In AWS IAM, an explicit deny takes precedence over an explicit allow, making access denied in this scenario.
Q55
What happens when a Lambda function exceeds its timeout setting?
AFunction is abruptly terminated.
BAutomatically retries execution.
CTriggers a CloudWatch alarm.
DReturns a partial result.
Explanation
The function is abruptly terminated, ending any ongoing processes.
Q56
A company needs to securely expose a REST API. Which service should they use?
AAWS Lambda
BAmazon API Gateway
CAWS IAM
DAWS VPC
Explanation
Amazon API Gateway securely manages API traffic and access controls.
Q57
You are configuring an S3 bucket policy. What is the maximum number of principals you can define in a single policy statement?
A5
B10
CPrincipal count is unlimited.
D1
Explanation
S3 bucket policies can have an unlimited number of principals in a single statement.
Q58
Which service allows event-driven architecture in AWS?
AAWS Lambda
BAmazon RDS
CAmazon EC2
DAWS Direct Connect
Explanation
AWS Lambda allows event-driven execution, unlike the others which require server management or specific connections.
Q59
A company needs to securely manage permissions for its developers. What should they use?
AIAM Roles
BS3 Bucket Policies
CCloudFormation Templates
DEC2 Security Groups
Explanation
IAM Roles grant temporary permissions and are ideal for managing access, while the others focus on resource access or configurations.
Q60
What happens when a CloudFormation stack creation fails?
AAll resources are deleted.
BStack is rolled back.
CStack remains in 'CREATE_FAILED' state.
DResources are kept in optimal state.
Explanation
A failed CloudFormation stack creation triggers a rollback to delete all resources created during the process, preserving the previous state.