Amazon AWS Certified Developer Associate Exam Practice Questions (P. 4)
- Full Access (443 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #31
A Developer is migrating an on-premises application to AWS. The application currently takes user uploads and saves them to a local directory on the server. All uploads must be saved and made immediately available to all instances in an Auto Scaling group.
Which approach will meet these requirements?
Which approach will meet these requirements?
- AUse Amazon EBS and configure the application AMI to use a snapshot of the same EBS instance on boot.
- BUse Amazon S3 and rearchitect the application so all uploads are placed in S3.Most Voted
- CUse instance storage and share it between instances launched from the same Amazon Machine Image (AMI).
- DUse Amazon EBS and file synchronization software to achieve eventual consistency among the Auto Scaling group.
Correct Answer:
D
D
send
light_mode
delete
Question #32
A developer is creating a script to automate the deployment process for a serverless application. The developer wants to use an existing AWS Serverless
Application Model (AWS SAM) template for the application.
What should the developer use for the project? (Choose two.)
Application Model (AWS SAM) template for the application.
What should the developer use for the project? (Choose two.)
- ACall aws cloudformation package to create the deployment package. Call aws cloudformation deploy to deploy the package afterward.Most Voted
- BCall sam package to create the deployment package. Call sam deploy to deploy the package afterward.Most Voted
- CCall aws s3 cp to upload the AWS SAM template to Amazon S3. Call aws lambda update-function-code to create the application.
- DCreate a ZIP package locally and call aws serverlessrepo create-application to create the application.
- ECreate a ZIP package and upload it to Amazon S3. Call aws cloudformation create-stack to create the application.
Correct Answer:
CE
Reference:
https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-getting-started-hello-world.html https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-cli-package.html
CE
Reference:
https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-getting-started-hello-world.html https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-cli-package.html
send
light_mode
delete
Question #33
A developer has built a market application that stores pricing data in Amazon DynamoDB with Amazon ElastiCache in front. The prices of items in the market change frequently. Sellers have begun complaining that, after they update the price of an item, the price does not actually change in the product listing.
What could be causing this issue?
What could be causing this issue?
- AThe cache is not being invalidated when the price of the item is changedMost Voted
- BThe price of the item is being retrieved using a write-through ElastiCache cluster
- CThe DynamoDB table was provisioned with insufficient read capacity
- DThe DynamoDB table was provisioned with insufficient write capacity
Correct Answer:
A
A
send
light_mode
delete
Question #34
The developer is creating a web application that collects highly regulated and confidential user data through a POST request. The web application is served through Amazon CloudFront. User names and phone numbers must be encrypted at the edge and must remain encrypted throughout the entire application stack.
What is the MOST secure way to meet these requirements?
What is the MOST secure way to meet these requirements?
- AEnforce Match Viewer with HTTPS Only on CloudFront.
- BUse only the newest TLS security policy on CloudFront.
- CEnforce a signed URL on CloudFront on the front end.
- DUse field-level encryption on CloudFront.Most Voted
Correct Answer:
D
Reference:
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/data-protection-summary.html
D
Reference:
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/data-protection-summary.html

send
light_mode
delete
Question #35
A Developer has been asked to create an AWS Lambda function that is triggered any time updates are made to items in an Amazon DynamoDB table. The function has been created, and appropriate permissions have been added to the Lambda execution role. Amazon DynamoDB streams have been enabled for the table, but the function is still not being triggered.
Which option would enable DynamoDB table updates to trigger the Lambda function?
Which option would enable DynamoDB table updates to trigger the Lambda function?
- AChange the StreamViewType parameter value to NEW_AND_OLD_IMAGES for the DynamoDB table
- BConfigure event source mapping for the Lambda functionMost Voted
- CMap an Amazon SNS topic to the DynamoDB streams
- DIncrease the maximum execution time (timeout) setting of the Lambda function
Correct Answer:
A
Reference:
https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html
A
Reference:
https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html
send
light_mode
delete
Question #36
A company maintains a REST service using Amazon API Gateway and the API Gateway native API key validation. The company recently launched a new registration page, which allows users to sign up for the service. The registration page creates a new API key using CreateApiKey and sends the new key to the user. When the user attempts to call the API using this key, the user receives a 403 Forbidden error. Existing users are unaffected and can still call the API.
What code updates will grant these new users access to the API?
What code updates will grant these new users access to the API?
- AThe createDeployment method must be called so the API can be redeployed to include the newly created API key.
- BThe updateAuthorizer method must be called to update the API's authorizer to include the newly created API key.
- CThe importApiKeys method must be called to import all newly created API keys into the current stage of the API.
- DThe createUsagePlanKey method must be called to associate the newly created API key with the correct usage plan.Most Voted
Correct Answer:
C
C
send
light_mode
delete
Question #37
An application uploads photos to an Amazon S3 bucket. Each photo that is uploaded to the S3 bucket must be resized to a thumbnail image by the application.
Each thumbnail image is uploaded with a new name in the same S3 bucket.
Which AWS service can a developer configure to directly process each single S3 event for each S3 object upload?
Each thumbnail image is uploaded with a new name in the same S3 bucket.
Which AWS service can a developer configure to directly process each single S3 event for each S3 object upload?
- AAmazon EC2
- BAmazon Elastic Container Service (Amazon ECS)
- CAWS Elastic Beanstalk
- DAWS LambdaMost Voted
Correct Answer:
D
Reference:
https://docs.aws.amazon.com/lambda/latest/dg/with-s3-example.html
D
Reference:
https://docs.aws.amazon.com/lambda/latest/dg/with-s3-example.html
send
light_mode
delete
Question #38
A company is running a Docker application on Amazon ECS. The application must scale based on user load in the last 15 seconds.
How should a Developer instrument the code so that the requirement can be met?
How should a Developer instrument the code so that the requirement can be met?
- ACreate a high-resolution custom Amazon CloudWatch metric for user activity data, then publish data every 30 seconds
- BCreate a high-resolution custom Amazon CloudWatch metric for user activity data, then publish data every 5 secondsMost Voted
- CCreate a standard-resolution custom Amazon CloudWatch metric for user activity data, then publish data every 30 seconds
- DCreate a standard-resolution custom Amazon CloudWatch metric for user activity data, then publish data every 5 seconds
Correct Answer:
B
B
send
light_mode
delete
Question #39
Where should the appspec.yml file be placed in order for AWS CodeDeploy to work?
- AIn the root of the application source code directory structureMost Voted
- BIn the bin folder along with all the complied code
- CIn an S3 bucket
- DIn the same folder as the application configuration files
Correct Answer:
A
Reference:
https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file.html
A
Reference:
https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file.html

send
light_mode
delete
Question #40
A Developer is working on an application that handles 10MB documents that contain highly-sensitive data. The application will use AWS KMS to perform client- side encryption.
What steps must be followed?
What steps must be followed?
- AInvoke the Encrypt API passing the plaintext data that must be encrypted, then reference the customer managed key ARN in the KeyId parameter
- BInvoke the GenerateRandom API to get a data encryption key, then use the data encryption key to encrypt the data
- CInvoke the GenerateDataKey API to retrieve the encrypted version of the data encryption key to encrypt the data
- DInvoke the GenerateDataKey API to retrieve the plaintext version of the data encryption key to encrypt the dataMost Voted
Correct Answer:
A
A
send
light_mode
delete
All Pages