Knowee
Questions
Features
Study Tools

You are refactoring an Amazon EC2 based application to use several AWS Lambda functions. During testing you realize some of the test events are failing. However, you are unsure which functions are failing and why.What services can you use to identify and troubleshoot the functions that are failing?Use the Amazon CloudWatch Lambda Insights Multi-Function dashboard to identify and troubleshoot the failing functions.Use Amazon CloudWatch metrics to identify the failing functions and CloudWatch Logs to troubleshoot the function output.Use AWS X-Ray to analyze the Amazon CloudWatch metrics and logs to identify and troubleshoot the failing functions.Use AWS CloudTrail metrics to identify the failing functions and CloudTrail logs to analyze the function output.

Question

You are refactoring an Amazon EC2 based application to use several AWS Lambda functions. During testing you realize some of the test events are failing. However, you are unsure which functions are failing and why.What services can you use to identify and troubleshoot the functions that are failing?Use the Amazon CloudWatch Lambda Insights Multi-Function dashboard to identify and troubleshoot the failing functions.Use Amazon CloudWatch metrics to identify the failing functions and CloudWatch Logs to troubleshoot the function output.Use AWS X-Ray to analyze the Amazon CloudWatch metrics and logs to identify and troubleshoot the failing functions.Use AWS CloudTrail metrics to identify the failing functions and CloudTrail logs to analyze the function output.

...expand
🧐 Not the exact question you are looking for?Go ask a question

Solution

You can use Amazon CloudWatch Lambda Insights Multi-Function dashboard to identify and troubleshoot the failing functions. This service provides a centralized view of your Lambda functions' performance and operational health.

You can also use Amazon CloudWatch metrics to identify which functions are failing. CloudWatch metrics provide data about the performance of your systems, which you can use to analyze patterns, identify bottlenecks, and understand how your system is performing over time.

To troubleshoot the function output, you can use CloudWatch Logs. These logs record the events that happen in your function, which can help you understand what went wrong.

AWS X-Ray is another service you can use. It provides insights into the behavior of your applications, helping you understand how they are performing and where bottlenecks are occurring. You can use X-Ray to analyze the CloudWatch metrics and logs to identify and troubleshoot the failing functions.

Finally, AWS CloudTrail metrics can be used to identify the failing functions. CloudTrail logs, on the other hand, can be used to analyze the function output. These logs record the API calls made on your account and deliver log files to you. The recorded information includes the identity of the API caller, the time of the API call, the source IP address of the API caller, the request parameters, and the response elements returned by the AWS service.

This problem has been solved

Similar Questions

Question 4How can the AWS CLI help when working with Lambda functions?1 pointProvides templatesEnables multi-region deploymentsAutomates load testingSimplifies invocation and inspection

explain AWS Lambda

Your company has a serverless application with Amazon API Gateway and AWS Lambda having both read, as well as, write APIs. The developers make frequent changes to the Lambda code and run load tests on the application after every change. The regular load testing has resulted in a spike in the cost.What are the best practices and cost savings options available on their Lambda compute usage? (Select TWO)Changing Lambda code does not necessarily require load testing. Unit and integration tests are sufficient.User reserve concurrency for the lambda functions and set the concurrency to a lower value.Use compute savings plan for lambda (discounted Savings Plans rates of up to 17% for a 1 or 3 year term, up to the commitment level.)Use Amazon EC2 instead of lambda.Use caching on Amazon API Gateway.

You are employed at a company that is highly regulated. You are tasked with monitoring operational and risk auditing as well as compliance of your AWS account. Which AWS service can help you meet these audit requirements? (Select TWO)Amazon Trusted AdvisorAWS ConfigAWS CloudTrailAmazon CloudWatchAmazon Inspector

True or False: AWS Lambda is a compute service that runs code without the need to provision or manage servers. Lambda runs code on a high-availability compute infrastructure. It also performs all the administration of compute resources, including server and operating system maintenance, capacity provisioning and automatic scaling, and logging. Lambda can run code for virtually any type of application or backend service.1 pointTrueFalse

1/1

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.