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

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

List of questions

Question 601

Report
Export
Collapse

A developer has created a Java application that runs on AWS Elastic Beanstalk with the default Elastic Beanstalk instance profile. The developer needs to visualize a map of the application's interactions with AWS services to help identify and debug issues with the application Which combination of steps should the developer take to meet this requirement with the LEAST operational effort? (Select TWO.)

Instrument the code by using the AWS X-Ray software development kit (SDK) for Java
Instrument the code by using the AWS X-Ray software development kit (SDK) for Java
Create an Elastic Beanstalk configuration file to download and install the AWS X-Ray daemon on the underlying Amazon FC2 instances
Create an Elastic Beanstalk configuration file to download and install the AWS X-Ray daemon on the underlying Amazon FC2 instances
Enable the AWS X-Ray daemon in the Elastic Beanstalk console
Enable the AWS X-Ray daemon in the Elastic Beanstalk console
Enable Elastic Beanstalk enhanced health reporting
Enable Elastic Beanstalk enhanced health reporting
Configure AWS CloudTrail to visualize the services map
Configure AWS CloudTrail to visualize the services map
Suggested answer: B, C
asked 16/09/2024
wilson rodriguez
40 questions

Question 602

Report
Export
Collapse

A developer is deploying an AWS Lambda function that writes to Amazon DynamoDB. Amazon CloudWatch metrics tor the Lambda function show that errors have occurred during some invocations of tho function However, there are no entries available in the CloudWatch logs for the function. The source code for the function shows that the function writes tog data before saving data What should the developer do to address the missing CloudWatch log entries of the Lambda function?

Assign permissions to the Lambda function's execution role to send logs to CloudWatch
Assign permissions to the Lambda function's execution role to send logs to CloudWatch
Enable CloudWatch Lambda insigne Redeploy the Lambda function
Enable CloudWatch Lambda insigne Redeploy the Lambda function
Use AWS X-Ray Enable active tracing
Use AWS X-Ray Enable active tracing
Add CloudWatch as the trusted identity to the Lambda function's execution role
Add CloudWatch as the trusted identity to the Lambda function's execution role
Suggested answer: B
asked 16/09/2024
Lampros Diamantopoulos
31 questions

Question 603

Report
Export
Collapse

A developer wants to run a PHP website with an NGINX proxy and package them as Docker containers in one environment. The developer wants a managed environment with automated provisioning and load balancing. The developer cannot change the configuration and must minimize operational overhead How should the developer build the website to meet these requirements?

Create a new application in AWS Elastic Beanstalk that is preconfigured for a multicontamer Docker environment Upload the code, and deploy it to a web server environment.
Create a new application in AWS Elastic Beanstalk that is preconfigured for a multicontamer Docker environment Upload the code, and deploy it to a web server environment.
Deploy the code on Amazon HC? instances in an Auto Scaling group behind an Application I oad Balancer
Deploy the code on Amazon HC? instances in an Auto Scaling group behind an Application I oad Balancer
Construct an AWS Cloud Formation template that launches Amazon EC2 instances Install and configure the PHP code by using cfn helper scripts
Construct an AWS Cloud Formation template that launches Amazon EC2 instances Install and configure the PHP code by using cfn helper scripts
Upload the code for the PHP website into an Amazon S3 bucket Host the website from the S3 bucket.
Upload the code for the PHP website into an Amazon S3 bucket Host the website from the S3 bucket.
Suggested answer: A
asked 16/09/2024
Romain Casagrande
36 questions

Question 604

Report
Export
Collapse

A global company has a mobile app with static data stored in an Amazon S3 bucket in the us-east-1 Region. The company serves the content through an Amazon CloudFront distribution The company is launching the mobile app In South Africa The data must reside in the af south 1 Region The company does not want to deploy a specific, mobile client for South Africa What should the company do to meet these requirements?

Use the CloudFront geographic restriction feature to block access to users in South Africa
Use the CloudFront geographic restriction feature to block access to users in South Africa
Create a Lambda@Edge function Associate the Lambda@Edge function as an origin request trigger with the CloudFront distribution to change the S3 origin Region
Create a Lambda@Edge function Associate the Lambda@Edge function as an origin request trigger with the CloudFront distribution to change the S3 origin Region
Create a Lambda@Edge function. Associate the Lambda@Edge function as a viewer response trigger with the CloudFront distribution to change the S3 origin Region
Create a Lambda@Edge function. Associate the Lambda@Edge function as a viewer response trigger with the CloudFront distribution to change the S3 origin Region
Include af-south-1 in the alternate domain name (CNAME) of the CloudFront distribution
Include af-south-1 in the alternate domain name (CNAME) of the CloudFront distribution
Suggested answer: B
asked 16/09/2024
Kefash White
38 questions

Question 605

Report
Export
Collapse

A developer needs to deploy an application running on AWS Fargate using Amazon ECS The application has environment variables that must be passed to a container for the application to initialize How should the environment variables be passed to the container?

Define an array that includes the environment variables under the environment parameter within the service definition
Define an array that includes the environment variables under the environment parameter within the service definition
Define an array that includes the environment variables under the environment parameter within the task definition
Define an array that includes the environment variables under the environment parameter within the task definition
Define an array that includes the environment variables under the entryPoint parameter within the task definition
Define an array that includes the environment variables under the entryPoint parameter within the task definition
Define an array that includes the environment variables under the entryPoint parameter within the service definition.
Define an array that includes the environment variables under the entryPoint parameter within the service definition.
Suggested answer: B
asked 16/09/2024
Josiah Pardee
46 questions

Question 606

Report
Export
Collapse

A developer received the following error message during an AWS Cloud Formation deployment: Which action should the developer lake lo resolve this error?

Contact AWS Support to report an Issue with the Auto Scaling Groups (ASG) service
Contact AWS Support to report an Issue with the Auto Scaling Groups (ASG) service
Add a DependsOn attribute to the ASGInstanceRole12345678 resource in the Cloud Formation template Then delete the stack
Add a DependsOn attribute to the ASGInstanceRole12345678 resource in the Cloud Formation template Then delete the stack
Modify the CloudFormation template to retain the ASGInstanceRole12345678 resource Then manually delete the resource after deployment
Modify the CloudFormation template to retain the ASGInstanceRole12345678 resource Then manually delete the resource after deployment
Add a force parameter when calling CloudFormation with the role-am of ASGInstanceRoiei2345678
Add a force parameter when calling CloudFormation with the role-am of ASGInstanceRoiei2345678
Suggested answer: B
asked 16/09/2024
Gokul Kalaiselvi Loganathan
47 questions

Question 607

Report
Export
Collapse

A company is hosting a workshop for external users and wants to share the reference documents with the external users for 7 days. The company stores the reference documents In an Amazon S3 bucket that the company owns. What is the MOST secure way to share the documents with the external users?

Use S3 presigned URLs to share the documents with the external users Set an expiration time of 7 days
Use S3 presigned URLs to share the documents with the external users Set an expiration time of 7 days
Move the documents to an Amazon WorkDocs folder. Share the links of the WorkDocs folder with the external users.
Move the documents to an Amazon WorkDocs folder. Share the links of the WorkDocs folder with the external users.
Create temporary 1AM users that have read only access to the S3 bucket Share the access keys with the external users Expire the credentials alter 7 days
Create temporary 1AM users that have read only access to the S3 bucket Share the access keys with the external users Expire the credentials alter 7 days
Create a role that has read-only access to the S3 bucket Share the Amazon Resource Name (ARN) of this role with the external users
Create a role that has read-only access to the S3 bucket Share the Amazon Resource Name (ARN) of this role with the external users
Suggested answer: A
asked 16/09/2024
Haider Nassiry
40 questions

Question 608

Report
Export
Collapse

A software company is using AWS CodeButld to build an application. The buildspec runs the application build and creates a Docker imago that contains the application The company needs to push the Docker imago to Amazon Elastic Container Registry (Amazon ECR) only upon the completion of each successful build Which solution meets these requirements?

Change the buildspec by adding a post_build phase that uses the commands block to push the Docker image
Change the buildspec by adding a post_build phase that uses the commands block to push the Docker image
Change the buildspec by adding a post_build phase that uses the finally block to push the Docker image
Change the buildspec by adding a post_build phase that uses the finally block to push the Docker image
Specify the Docker image in the buildspec's artifacts sequence with an action lo push the image
Specify the Docker image in the buildspec's artifacts sequence with an action lo push the image
Use a batch build to define a build matrix Use the batch build to push the Docker image
Use a batch build to define a build matrix Use the batch build to push the Docker image
Suggested answer: A
asked 16/09/2024
Baljit Bhadare
39 questions

Question 609

Report
Export
Collapse

A company has a website that is developed in PHP and is launched using AWS Elastic Beanstalk.

There is a new version of the website that needs to be deployed In the Elastic Beanstalk environment. The company cannot tolerate having the website offline if an update fails Deployments must have minimal impact and rollback as soon as possible What deployment method should be used?

All at once
All at once
Rolling
Rolling
Snapshots
Snapshots
Immutable
Immutable
Suggested answer: D
asked 16/09/2024
Feras Al Babtain
27 questions

Question 610

Report
Export
Collapse

A company has a serverless application that uses AWS Lambda functions and AWS Systems Manager parameters to store configuration data The company moves the Lambda functions inside the VPC and into private subnets The Lambda functions are now producing errors in their attempts to access Systems Manager parameters.

Which solution will allow the Lambda functions to access Systems Manager parameters inside the VPC?

Configure security groups to allow access to Systems Manager
Configure security groups to allow access to Systems Manager
Create an interface VPC endpoint for Systems Manager
Create an interface VPC endpoint for Systems Manager
Use an internet gateway from inside the VPC
Use an internet gateway from inside the VPC
Create a gateway VPC endpoint for Systems Manager
Create a gateway VPC endpoint for Systems Manager
Suggested answer: D
asked 16/09/2024
Christopher Harden
46 questions
Total 944 questions
Go to page: of 95
Search