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

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

List of questions

Question 561

Report
Export
Collapse

A company has a web application that runs on Amazon EC2 instances with a custom Amazon Machine Image (AMI) The company uses AWS CloudFormation to provision the application. The application runs in the us-east-1 Region, and the company needs to deploy the application to the uswest- 1 Region An attempt to create the AWS CloudFormation stack in us-west-1 fails An error message states that the AMI ID does not exist A developer must resolve this error with a solution that uses the least amount of operational overhead. Which solution meets these requirements?

Change the AWS CloudFormation templates for us-east-1 and us-west-1 to use an AWS AMI Relaunch the stack for both Regions
Change the AWS CloudFormation templates for us-east-1 and us-west-1 to use an AWS AMI Relaunch the stack for both Regions
Copy the custom AMI from us-east-1 to us-west-1 Update the AWS CloudFormation template for us-west-1 to refer to AMI ID for the copied AMI. Relaunch the stack.
Copy the custom AMI from us-east-1 to us-west-1 Update the AWS CloudFormation template for us-west-1 to refer to AMI ID for the copied AMI. Relaunch the stack.
Build the custom AMI in us-west-1 Create a new AWS CloudFormation template to launch the stack in us-west-1 with the new AMI ID
Build the custom AMI in us-west-1 Create a new AWS CloudFormation template to launch the stack in us-west-1 with the new AMI ID
Manually deploy the application outside AWS CloudFormation in us-west-1
Manually deploy the application outside AWS CloudFormation in us-west-1
Suggested answer: B
asked 16/09/2024
Mathijn Smit
41 questions

Question 562

Report
Export
Collapse

A developer is creating an AWS Lambda function that generates a new file each time it runs Each new file must be checked into an AWS CodeCommit repository hosted in the same AWS account How should the developer accomplish this?

When the Lambda function starts, use the Git CLI to clone the repository Check the new file into the cloned repository and push the change.
When the Lambda function starts, use the Git CLI to clone the repository Check the new file into the cloned repository and push the change.
After the new file is created in Lambda, use cURL to invoke the CodeCommit API Send the file to the repository
After the new file is created in Lambda, use cURL to invoke the CodeCommit API Send the file to the repository
Use an AWS SDK to instantiate a CodeCommit client Invoke the put_file method to add the file to the repository
Use an AWS SDK to instantiate a CodeCommit client Invoke the put_file method to add the file to the repository
Upload the new file to an Amazon S3 bucket Create an AWS Step Function to accept S3 events In the Step Function, add the new file to the repository
Upload the new file to an Amazon S3 bucket Create an AWS Step Function to accept S3 events In the Step Function, add the new file to the repository
Suggested answer: C
asked 16/09/2024
Ben Appelman
36 questions

Question 563

Report
Export
Collapse

A gaming application stores scores for players in an Amazon DynamoDB table that has four attributes user_id. user_name, user_score: and userrank The users are allowed to update their names only. A user is authenticated by web identity federation.

Which set of conditions should be added in the policy attached to the role for the dynamodb Putltem API call?

Suggested answer: A
asked 16/09/2024
Sasha Grib
44 questions

Question 564

Report
Export
Collapse

A company is using an AWS Lambda function to process records from an Amazon Kinesis data stream The company recently observed slow processing of the records .A developer notices that the iterator age metric for the function is increasing and that the Lambda run duration is constantly above normal.

Which actions should the developer take to increase the processing speed? (Select TWO.)

Increase the number of shards of the Kinesis data stream.
Increase the number of shards of the Kinesis data stream.
Decrease the timeout of the Lambda function
Decrease the timeout of the Lambda function
Increase the memory that is allocated to the Lambda function
Increase the memory that is allocated to the Lambda function
Decrease the number of shards of the Kinesis data stream
Decrease the number of shards of the Kinesis data stream
Increase the timeout of the Lambda function.
Increase the timeout of the Lambda function.
Suggested answer: A, C
asked 16/09/2024
Katlego Nkwane
45 questions

Question 565

Report
Export
Collapse

A developer has created a web API that uses Amazon Elastic Container Service (Amazon ECS) and an Application Load Balancer (ALB) An Amazon CloudFront distribution uses the API as an origin for web clients The application has received millions of requests with a JSON Web Token (JWT) that is not valid in the authorization header The developer has scaled out the application to handle the unauthenticated requests What should the developer do to reduce the number of unauthenticated requests to the API?

Add a request routing rule to the ALB to return a 401 status code if the authorization header is missing
Add a request routing rule to the ALB to return a 401 status code if the authorization header is missing
Add a container to the ECS task definition to validate JWTs Set the new container as a dependency of the application container
Add a container to the ECS task definition to validate JWTs Set the new container as a dependency of the application container
Create a CloudFront function for the distribution Use the crypto module in the function to validate the JWT
Create a CloudFront function for the distribution Use the crypto module in the function to validate the JWT
Add a custom authorizer for AWS Lambda to the CloudFront distribution to validate the JWT
Add a custom authorizer for AWS Lambda to the CloudFront distribution to validate the JWT
Suggested answer: D
asked 16/09/2024
k Solaimalai Raghu Raman
47 questions

Question 566

Report
Export
Collapse

A company is using continuous integration/continuous delivery (CI/CD) systems A developer must automate the deployment of an application software package to Amazon EC2 instances and virtual servers that run on premises Which AWS service should the developer use to meet these requirements?

AWS Cloud9
AWS Cloud9
AWS CodeBuild
AWS CodeBuild
AWS Elastic Beanstalk
AWS Elastic Beanstalk
AWS CodeDeploy
AWS CodeDeploy
Suggested answer: D
asked 16/09/2024
Allen J Tyson
30 questions

Question 567

Report
Export
Collapse

An application needs to encrypt data that is written to Amazon S3 where the keys are managed in an on-premises data center and the encryption is handled by S3 Which type of encryption should be used?

Use server-side encryption with Amazon S3-managed keys
Use server-side encryption with Amazon S3-managed keys
Use server-side encryption with AWS KMS-managed keys
Use server-side encryption with AWS KMS-managed keys
Use client-side encryption with AWS KMS-managed keys
Use client-side encryption with AWS KMS-managed keys
Use server-side encryption with customer-provided keys.
Use server-side encryption with customer-provided keys.
Suggested answer: D
asked 16/09/2024
Christopher Castillo
35 questions

Question 568

Report
Export
Collapse

A developer is writing a new AWS Serverless Application Model (AWS SAM) template with a new AWS Lambda function. The Lambda function runs complex code. T he developer wants to test the Lambda function with more CPU power

What should the developer do to meet this requirement?

Increase the runtime engine version
Increase the runtime engine version
Increase the timeout
Increase the timeout
Increase the number of Lambda layers
Increase the number of Lambda layers
Increase the memory.
Increase the memory.
Suggested answer: D
asked 16/09/2024
Karol Ligeza
37 questions

Question 569

Report
Export
Collapse

A developer needs to modify an application architecture to meet new functional requirements Application data is stored in Amazon DynamoDB and processed for analysis in a nightly batch. The system analysts do not want to wait until the next day to view the processed data and have asked to have it available in near-real time. Which application architecture pattern would enable the data to be processed as it is received?

Event driven
Event driven
Client-server driven
Client-server driven
Fan-out driven
Fan-out driven
Schedule driven
Schedule driven
Suggested answer: A

Explanation:

Explanation:

asked 16/09/2024
Charles Manser
48 questions

Question 570

Report
Export
Collapse

A developer has written code for an application and wants to share it with other developers on the team to receive feedback. The shared application code needs to be stored long-term with multiple versions and batch change tracking Which AWS service should the developer use?

AWS CodeBuild
AWS CodeBuild
Amazon S3
Amazon S3
AWS CodeCommit
AWS CodeCommit
AWS Cloud9
AWS Cloud9
Suggested answer: C
asked 16/09/2024
Deshawn Sharpe
35 questions
Total 944 questions
Go to page: of 95
Search