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 an AWS Lambda function times out?
AThe function automatically retries.
BAn error is logged and execution stops.
CFunction returns partial results.
DExecution resumes the next invocation.
Explanation
When a Lambda function times out, execution stops and logs an error, while other options imply unintended behavior.
Q142
Which service is best for serverless architectures?
AAWS Lambda
BAmazon EC2
CAmazon RDS
DAWS CloudFormation
Explanation
AWS Lambda is designed specifically for serverless computations, while the others are not.
Q143
What happens when an Amazon S3 bucket policy denies access?
AAccess is permanently revoked
BAccess can still be overridden
CAccess is granted if user is admin
DAccess is denied regardless of permissions
Explanation
A deny in a bucket policy always overrides permissions.
Q144
A company needs to ensure its Lambda function is triggered only after a specific S3 object is fully uploaded. Which S3 event type should it use?
As3:ObjectCreated:CompleteMultipartUpload
Bs3:ObjectCreated:Put
Cs3:ObjectRemove:Delete
Ds3:ObjectRestore:Post
Explanation
The complete multipart upload event indicates the file is fully uploaded.
Q145
Which service provides event-driven architecture for AWS Lambda functions?
AAmazon EventBridge
BAmazon SQS
CAWS Step Functions
DAmazon SNS
Explanation
Amazon EventBridge is designed for event-driven architectures, while the other options serve different communication or orchestration functions.
Q146
A company needs to grant temporary access to a third-party contractor to an S3 bucket. What should be used?
AIAM user
BIAM role
CBucket policy
DAccess key
Explanation
An IAM role provides temporary credentials for external entities, unlike users or access keys that are long-term.
Q147
What happens when you configure a DynamoDB table with provisioned capacity that is exceeded?
ARequests are throttled
BData is lost
CDynamoDB scales automatically
DCPU usage increases dramatically
Explanation
Exceeding provisioned capacity throttles requests rather than scaling or losing data.
Q148
Which AWS service allows you to run code without provisioning servers?
AAWS Lambda
BAmazon EC2
CAmazon RDS
DAWS CodeDeploy
Explanation
AWS Lambda enables serverless execution of code, unlike EC2 which requires server provisioning.
Q149
A company needs to automatically scale its applications based on traffic. Which service should they consider using?
AAWS Auto Scaling
BAmazon CloudFront
CAWS Direct Connect
DAmazon SES
Explanation
AWS Auto Scaling dynamically adjusts resources based on demand, while the other services do not perform automatic scaling.
Q150
What happens when you try to access S3 bucket files without proper IAM permissions?
AAccess denied error
BFiles become public
CFiles are deleted
DAccess is granted automatically
Explanation
Without proper IAM permissions, you encounter an access denied error; the other options do not accurately reflect IAM behavior.