ExamGecko
Home / Amazon / CLF-C01 / List of questions
Ask Question

Amazon CLF-C01 Practice Test - Questions Answers, Page 58

List of questions

Question 571

Report
Export
Collapse

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 )

The new AMIs do not fulfill the specified conditions in the CloudFormation template
The new AMIs do not fulfill the specified conditions in the CloudFormation template
The service quota for the number of EC2 vCPUs in the AWS Region has been exceeded. .
The service quota for the number of EC2 vCPUs in the AWS Region has been exceeded. .
The security group that is specified in the CloudFormation template does not exist
The security group that is specified in the CloudFormation template does not exist
CloudFormation does not recognize the template change as an update
CloudFormation does not recognize the template change as an update
CloudFormation does not have sufficient 1AM permissions to make the changewww.VCEplus.is o
CloudFormation does not have sufficient 1AM permissions to make the changewww.VCEplus.is o
Suggested answer: A, B
asked 16/09/2024
HC KONG
42 questions

Question 572

Report
Export
Collapse

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:

Amazon CLF-C01 image Question 572 1333 09162024005437000000

What should be done to prepare the template so that it can be deployed using the AWS CLI command aws cloudforroation deploy?

Use aws cloudformacion compile to base64 encode and embed the source file into a modified CloudFormation template.
Use aws cloudformacion compile to base64 encode and embed the source file into a modified CloudFormation template.
Use aws cloudformacion package to upload the source code to an Amazon S3 bucket and produce a modified CloudFormation template
Use aws cloudformacion package to upload the source code to an Amazon S3 bucket and produce a modified CloudFormation template
Use aws lambda zip to package the source file together with the CloudFormation template and deploy the resulting zip archive
Use aws lambda zip to package the source file together with the CloudFormation template and deploy the resulting zip archive
Use aws serveriess create-package to embed the source file directly into the existing CloudFormation template
Use aws serveriess create-package to embed the source file directly into the existing CloudFormation template
Suggested answer: B
asked 16/09/2024
Sana Mehak
40 questions

Question 573

Report
Export
Collapse

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?

Install an AWS SDK on the on-premises server to automatically send logs to CloudWatch.
Install an AWS SDK on the on-premises server to automatically send logs to CloudWatch.
Download the CloudWatch agent to the on-premises server Configure the agent to use I AM user credentials with permissions for CloudWatch
Download the CloudWatch agent to the on-premises server Configure the agent to use I AM user credentials with permissions for CloudWatch
Upload log files from the on-premises server to Amazon S3 and have CloudWatch read the files.
Upload log files from the on-premises server to Amazon S3 and have CloudWatch read the files.
Upload log files from the on-premises server to an Amazon EC2 instance and have the instance forward the logs to CloudWatch
Upload log files from the on-premises server to an Amazon EC2 instance and have the instance forward the logs to CloudWatch
Suggested answer: B
asked 16/09/2024
Shaharyar Chaudhry
42 questions

Question 574

Report
Export
Collapse

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?

Improves legibility and stylistic convention
Improves legibility and stylistic convention
Takes advantage of runtime environment reuse
Takes advantage of runtime environment reuse
Provides better error handling
Provides better error handling
Creates a new SDK instance for each invocation
Creates a new SDK instance for each invocation
Suggested answer: B
asked 16/09/2024
Aaron Ford Jr
46 questions

Question 575

Report
Export
Collapse

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.)

Provide a different access key and secret access key in the application code for registered users and guest users to provide read access to the objects.
Provide a different access key and secret access key in the application code for registered users and guest users to provide read access to the objects.
Use S3 bucket policies to restrict read access to specific IAM users
Use S3 bucket policies to restrict read access to specific IAM users
Use Amazon Cognito to provide access using authenticated and unauthenticated roles
Use Amazon Cognito to provide access using authenticated and unauthenticated roles
Create a new 1AM user for each user and grant read access
Create a new 1AM user for each user and grant read access
Use the AWS 1AM service and let the application assume the different roles using the AWS Security Token Service (AWS STS) AssumeRole action depending on the type of user and provide read access to Amazon S3 using theassumed role.
Use the AWS 1AM service and let the application assume the different roles using the AWS Security Token Service (AWS STS) AssumeRole action depending on the type of user and provide read access to Amazon S3 using theassumed role.
Suggested answer: C, E
asked 16/09/2024
Yan Nguyen
32 questions

Question 576

Report
Export
Collapse

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.)

sam mit
sam mit
sam validate
sam validate
sam build
sam build
sam deploy
sam deploy
sam publish
sam publish
Suggested answer: C, D
asked 16/09/2024
Mr Fraser Watson
32 questions

Question 577

Report
Export
Collapse

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?

Configure Amazon CloudWatch Logs to save the error messages to a separate log stream
Configure Amazon CloudWatch Logs to save the error messages to a separate log stream
Create a new SQS queue. Set the new queue as a dead-letter queue for the application queue Configure the Maximum Receives setting.
Create a new SQS queue. Set the new queue as a dead-letter queue for the application queue Configure the Maximum Receives setting.
Change the SQS queue to a FIFO queue Configure the message retention penod to 0 seconds
Change the SQS queue to a FIFO queue Configure the message retention penod to 0 seconds
Configure an Amazon CloudWatch alarm for Lambda function errors Publish messages to an Amazon Simple Notification Service (Amazon SNS) topic to notify administrator users
Configure an Amazon CloudWatch alarm for Lambda function errors Publish messages to an Amazon Simple Notification Service (Amazon SNS) topic to notify administrator users
Suggested answer: B
asked 16/09/2024
Gift Thanyane
33 questions

Question 578

Report
Export
Collapse

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?

Amazon CloudFront
Amazon CloudFront
Amazon ElastiCache for Memcached
Amazon ElastiCache for Memcached
Amazon ElastiCache for Redis in cluster mode
Amazon ElastiCache for Redis in cluster mode
Amazon DynamoDB Accelerator (DAX)
Amazon DynamoDB Accelerator (DAX)
Suggested answer: C
asked 16/09/2024
Meghan Crofford
39 questions

Question 579

Report
Export
Collapse

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?

AWS AppSync
AWS AppSync
Amazon Cognito identrtv pools
Amazon Cognito identrtv pools
Amazon Cognito user pools
Amazon Cognito user pools
Amazon Lambda@Edge
Amazon Lambda@Edge
Suggested answer: B
asked 16/09/2024
Pedram Habibi
37 questions

Question 580

Report
Export
Collapse

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?

Create an IAM role that has permissions to access the database Attach the role to the EC2 instance
Create an IAM role that has permissions to access the database Attach the role to the EC2 instance
Use AWS Secrets Manager to store the credentials Retrieve the credentials from Secrets Manager as needed
Use AWS Secrets Manager to store the credentials Retrieve the credentials from Secrets Manager as needed
Store the credentials in an encrypted text file in an Amazon S3 bucket Configure the EC2 instance's user data to download the credentials from Amazon S3 as the instance boots.
Store the credentials in an encrypted text file in an Amazon S3 bucket Configure the EC2 instance's user data to download the credentials from Amazon S3 as the instance boots.
Store the user name and password credentials directly in the source code No further action is needed because the source code is stored in a private repository
Store the user name and password credentials directly in the source code No further action is needed because the source code is stored in a private repository
Suggested answer: B
asked 16/09/2024
Richard Drayer Camacho
37 questions
Total 944 questions
Go to page: of 95
Search