ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 352 - SAP-C01 discussion

Report
Export

The Solutions Architect manages a serverless application that consists of multiple API gateways, AWS Lambda functions, Amazon S3 buckets, and Amazon DynamoDB tables. Customers say that a few application components slow while loading dynamic images, and some are timing out with the “504 Gateway Timeout” error. While troubleshooting the scenario, the Solutions Architect confirms that DynamoDB monitoring metrics are at acceptable levels. Which of the following steps would be optimal for debugging these application issues? (Choose two.)

A.
Parse HTTP logs in Amazon API Gateway for HTTP errors to determine the root cause of the errors.
Answers
A.
Parse HTTP logs in Amazon API Gateway for HTTP errors to determine the root cause of the errors.
B.
Parse Amazon CloudWatch Logs to determine processing times for requested images at specified intervals.
Answers
B.
Parse Amazon CloudWatch Logs to determine processing times for requested images at specified intervals.
C.
Parse VPC Flow Logs to determine if there is packet loss between the Lambda function and S3.
Answers
C.
Parse VPC Flow Logs to determine if there is packet loss between the Lambda function and S3.
D.
Parse AWS X-Ray traces and analyze HTTP methods to determine the root cause of the HTTP errors.
Answers
D.
Parse AWS X-Ray traces and analyze HTTP methods to determine the root cause of the HTTP errors.
E.
Parse S3 access logs to determine if objects being accessed are from specific IP addresses to narrow the scope to geographic latency issues.
Answers
E.
Parse S3 access logs to determine if objects being accessed are from specific IP addresses to narrow the scope to geographic latency issues.
Suggested answer: B, D

Explanation:

Firstly “A 504 Gateway Timeout Error means your web server didn’t receive a timely response from another server upstream when it attempted to load one of your web pages. Put simply, your web servers aren’t communicating with each other fast enough”. This specific issue is addressed in the AWS article “Tracing, Logging and Monitoring an API Gateway API”.

Reference:

https://docs.amazonaws.cn/en_us/apigateway/latest/developerguide/monitoring_overview.html

asked 16/09/2024
Karthik Krishnamoorthy
25 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first