ExamGecko
Home Home / Amazon / CLF-C01

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

Question list
Search
Search

List of questions

Search

Related questions











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

A.
Instrument the code by using the AWS X-Ray software development kit (SDK) for Java
A.
Instrument the code by using the AWS X-Ray software development kit (SDK) for Java
Answers
B.
Create an Elastic Beanstalk configuration file to download and install the AWS X-Ray daemon on the underlying Amazon FC2 instances
B.
Create an Elastic Beanstalk configuration file to download and install the AWS X-Ray daemon on the underlying Amazon FC2 instances
Answers
C.
Enable the AWS X-Ray daemon in the Elastic Beanstalk console
C.
Enable the AWS X-Ray daemon in the Elastic Beanstalk console
Answers
D.
Enable Elastic Beanstalk enhanced health reporting
D.
Enable Elastic Beanstalk enhanced health reporting
Answers
E.
Configure AWS CloudTrail to visualize the services map
E.
Configure AWS CloudTrail to visualize the services map
Answers
Suggested answer: B, C

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?

A.
Assign permissions to the Lambda function's execution role to send logs to CloudWatch
A.
Assign permissions to the Lambda function's execution role to send logs to CloudWatch
Answers
B.
Enable CloudWatch Lambda insigne Redeploy the Lambda function
B.
Enable CloudWatch Lambda insigne Redeploy the Lambda function
Answers
C.
Use AWS X-Ray Enable active tracing
C.
Use AWS X-Ray Enable active tracing
Answers
D.
Add CloudWatch as the trusted identity to the Lambda function's execution role
D.
Add CloudWatch as the trusted identity to the Lambda function's execution role
Answers
Suggested answer: B

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?

A.
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.
A.
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.
Answers
B.
Deploy the code on Amazon HC? instances in an Auto Scaling group behind an Application I oad Balancer
B.
Deploy the code on Amazon HC? instances in an Auto Scaling group behind an Application I oad Balancer
Answers
C.
Construct an AWS Cloud Formation template that launches Amazon EC2 instances Install and configure the PHP code by using cfn helper scripts
C.
Construct an AWS Cloud Formation template that launches Amazon EC2 instances Install and configure the PHP code by using cfn helper scripts
Answers
D.
Upload the code for the PHP website into an Amazon S3 bucket Host the website from the S3 bucket.
D.
Upload the code for the PHP website into an Amazon S3 bucket Host the website from the S3 bucket.
Answers
Suggested answer: A

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?

A.
Use the CloudFront geographic restriction feature to block access to users in South Africa
A.
Use the CloudFront geographic restriction feature to block access to users in South Africa
Answers
B.
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
B.
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
Answers
C.
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
C.
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
Answers
D.
Include af-south-1 in the alternate domain name (CNAME) of the CloudFront distribution
D.
Include af-south-1 in the alternate domain name (CNAME) of the CloudFront distribution
Answers
Suggested answer: B

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?

A.
Define an array that includes the environment variables under the environment parameter within the service definition
A.
Define an array that includes the environment variables under the environment parameter within the service definition
Answers
B.
Define an array that includes the environment variables under the environment parameter within the task definition
B.
Define an array that includes the environment variables under the environment parameter within the task definition
Answers
C.
Define an array that includes the environment variables under the entryPoint parameter within the task definition
C.
Define an array that includes the environment variables under the entryPoint parameter within the task definition
Answers
D.
Define an array that includes the environment variables under the entryPoint parameter within the service definition.
D.
Define an array that includes the environment variables under the entryPoint parameter within the service definition.
Answers
Suggested answer: B

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

A.
Contact AWS Support to report an Issue with the Auto Scaling Groups (ASG) service
A.
Contact AWS Support to report an Issue with the Auto Scaling Groups (ASG) service
Answers
B.
Add a DependsOn attribute to the ASGInstanceRole12345678 resource in the Cloud Formation template Then delete the stack
B.
Add a DependsOn attribute to the ASGInstanceRole12345678 resource in the Cloud Formation template Then delete the stack
Answers
C.
Modify the CloudFormation template to retain the ASGInstanceRole12345678 resource Then manually delete the resource after deployment
C.
Modify the CloudFormation template to retain the ASGInstanceRole12345678 resource Then manually delete the resource after deployment
Answers
D.
Add a force parameter when calling CloudFormation with the role-am of ASGInstanceRoiei2345678
D.
Add a force parameter when calling CloudFormation with the role-am of ASGInstanceRoiei2345678
Answers
Suggested answer: B

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?

A.
Use S3 presigned URLs to share the documents with the external users Set an expiration time of 7 days
A.
Use S3 presigned URLs to share the documents with the external users Set an expiration time of 7 days
Answers
B.
Move the documents to an Amazon WorkDocs folder. Share the links of the WorkDocs folder with the external users.
B.
Move the documents to an Amazon WorkDocs folder. Share the links of the WorkDocs folder with the external users.
Answers
C.
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
C.
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
Answers
D.
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
D.
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
Answers
Suggested answer: A

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?

A.
Change the buildspec by adding a post_build phase that uses the commands block to push the Docker image
A.
Change the buildspec by adding a post_build phase that uses the commands block to push the Docker image
Answers
B.
Change the buildspec by adding a post_build phase that uses the finally block to push the Docker image
B.
Change the buildspec by adding a post_build phase that uses the finally block to push the Docker image
Answers
C.
Specify the Docker image in the buildspec's artifacts sequence with an action lo push the image
C.
Specify the Docker image in the buildspec's artifacts sequence with an action lo push the image
Answers
D.
Use a batch build to define a build matrix Use the batch build to push the Docker image
D.
Use a batch build to define a build matrix Use the batch build to push the Docker image
Answers
Suggested answer: A

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?

A.
All at once
A.
All at once
Answers
B.
Rolling
B.
Rolling
Answers
C.
Snapshots
C.
Snapshots
Answers
D.
Immutable
D.
Immutable
Answers
Suggested answer: D

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?

A.
Configure security groups to allow access to Systems Manager
A.
Configure security groups to allow access to Systems Manager
Answers
B.
Create an interface VPC endpoint for Systems Manager
B.
Create an interface VPC endpoint for Systems Manager
Answers
C.
Use an internet gateway from inside the VPC
C.
Use an internet gateway from inside the VPC
Answers
D.
Create a gateway VPC endpoint for Systems Manager
D.
Create a gateway VPC endpoint for Systems Manager
Answers
Suggested answer: D
Total 944 questions
Go to page: of 95