Computer Science > EXAM > AWS Developer 2022 - Practice Exam 7| WITH COMPLETE SOLUTIONS (All)
A developer is migrating code to an AWS Lambda function that will an Amazon Aurora MySQL database.What is the MOST secure way to authenticate the function to the database? A. Store the database cre... dentials as encrypted parameters in AWS Systems Manager Parameters Store. Obtain the credentials from Systems Manager when the Lambda function needs to connect to the database. B. Store the database credentials in AWS Secrets Manager. Let Secrets Manager handle the rotation of the credentials, as required. C. Store the database credentials in an Amazon S3 bucket that has a restrictive bucket policy for the Lambda role when accessing the credentials. Use AWS KMS to encrypt the data. D. Create a policy with rds-db:connect access to the database and attach it to the role assigned to the Lambda function. Correct Answer: B. Store the database credentials in AWS Secrets Manager. Let Secrets Manager handle the rotation of the credentials, as required. A development team uses AWS Elastic Beanstalk for application deployment. The team has configured the application version lifecycle policy to limit the number of application versions to 25. However, even with the lifecycle policy, the source bundle is deleted from the Amazon S3 source bucket. What should a developer do in the Elastic Beanstalk application version lifecycle settings to retain the source code in the S3 bucket? A. Change the Set the application versions limit by total count setting to zero. B. Disable the Lifecycle policy setting. C. Change the Set the application version limit by age setting to zero. D. Set Retention to Retain source bundle in S3. Correct Answer: D. Set Retention to Retain source bundle in S3. 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? A. The cache is not being invalidated when the price of the item is changed B. The price of the item is being retrieved using a write-through ElastiCache cluster C. The DynamoDB table was provisioned with insufficient read capacity D. The DynamoDB table was provisioned with insufficient write capacity Correct Answer: A. The cache is not being invalidated when the price of the item is changed A developer is provided with an HTTPS clone URL for an AWS CodeCommit repository.What needs to be configured before cloning this repository? A. Use AWS KMS to set up public and private keys for use with AWS CodeCommit. B. Set up the Git credential helper to use an AWS credential pro [Show More]
Last updated: 2 years ago
Preview 1 out of 16 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Nov 23, 2022
Number of pages
16
Written in
This document has been written for:
Uploaded
Nov 23, 2022
Downloads
0
Views
55
In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·