Amazon CLF-C01 Practice Test - Questions Answers, Page 58
List of questions
Question 571
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
A developer uses a single AWS CloudFormation template to configure the test environment and the production environment for an application The developer handles environment-specific requirements in the CloudFormation template. The developer decides to update the Amazon EC2 Auto Scaling launch template with new Amazon Machine Images (AMIs) for each environment The CloudFormation update for the new AMIs is successful in the test environment but the update fails in the production environment.
What are the possible causes of the CloudFormation update failure in the production environment?
(Select TWO )
Question 572
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
Given the source code for an AWS Lambda function in the local file store, py containing a handler function called get_store and the following AWS CloudFormation template:
What should be done to prepare the template so that it can be deployed using the AWS CLI command aws cloudforroation deploy?
Question 573
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
A developer has a legacy application that is hosted on-premises Other applications hosted on AWS depend on the on-premises application for proper functioning In case of any application errors, the developer wants to be able to use Amazon CloudWatch to monitor and troubleshoot all applications from one place. How can the developer accomplish this?
Question 574
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
A developer is building a serverless application that is based on AWS Lambd a. The developer initializes the AWS software development kit (SDK) outside of the Lambda handler function. What is the PRIMARY benefit of this action?
Question 575
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
A company has an application where reading objects from Amazon S3 is based on the type of user.
The user types are registered user and guest user. The company has 25.000 users and is growing.
Information is pulled from an S3 bucket depending on the user type.
Which approaches are recommended to provide access to both user types? (Select TWO.)
Question 576
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
A developer must extend an existing application that is based on the AWS Serverless Application Model (AWS SAM) The developer has used the AWS SAM CLI to create the project. The project contains different AWS Lambda functions. Which combination of commands must the developer use to redeploy the AWS SAM application?
(Select TWO.)
Question 577
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
A company created an application to consume and process dat a. The application uses Amazon Simple Queue Service (Amazon SQS) and AWS Lambda functions.
The application is currently working as expected, but it occasionally receives several messages that it cannot process properly The company needs to clear these messages to prevent the queue from becoming blocked A developer must implement a solution that makes queue processing always operational. The solution must give the company the ability to defer the messages with errors and save these messages for further analysis What is the MOST operationally efficient solution that meets these requirements?
Question 578
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
A company is using Amazon RDS as the backend database for its application After a recent marketing campaign, a surge of read requests to the database increased the latency of data retrieval from the database. The company has decided to implement a caching layer in front of the database. The cached content must be encrypted and must be highly available Which solution will meet these requirements?
Question 579
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
A developer needs to create an application that supports Security Assertion Markup Language (SAML) and authentication with social media providers. It must also allow access to AWS services such as Amazon DynamoDB. Which AWS service or feature will meet these requirements with the LEAST amount of additional coding?
Question 580
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
An application running on Amazon EC2 opens connections to an Amazon RDS SQL Server database The developer does not want to store the user name and password for the database in the code. The developer would also like to automatically rotate the credentials.
What is the MOST secure way to store and access the database credentials?
Question