exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 401 discussion

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.
  • 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.
  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
LunchTime
Highly Voted 3 years, 7 months ago
B and D are correct. 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”. https://docs.amazonaws.cn/en_us/apigateway/latest/developerguide/monitoring_overview.html The article specifically discusses using AWS X-Ray, AWS CloudTrail and AWS CloudWatch as the tools to utilized for debugging in this scenario. The two options that encompass using AWS CloudWatch and AWS X-Ray are B and D respectively. AWS CloudTrail is not mentioned in any of the answers.
upvoted 36 times
student22
3 years, 5 months ago
Also, http errors checked by A is already covered by D. Another reason to select B over A.
upvoted 2 times
student22
3 years, 5 months ago
Answer B,D
upvoted 1 times
...
...
rockc
1 year, 11 months ago
The doc url was updated: https://docs.amazonaws.cn/en_us/apigateway/latest/developerguide/security-monitoring.html
upvoted 1 times
...
...
sb333
Highly Voted 3 years, 7 months ago
The correct answers are BD. https://docs.aws.amazon.com/en_pv/apigateway/latest/developerguide/monitoring_overview.html
upvoted 22 times
...
SkyZeroZx
Most Recent 1 year, 10 months ago
Selected Answer: BD
The optimal steps for debugging the application issues are as follows: B. Parse Amazon CloudWatch Logs to determine processing times for requested images at specified intervals. By analyzing the CloudWatch Logs, you can identify the processing times for requested images. This will help in identifying any performance bottlenecks or delays in processing the dynamic images. D. Parse AWS X-Ray traces and analyze HTTP methods to determine the root cause of the HTTP errors. By using AWS X-Ray, you can trace and analyze the execution of your application components. Analyzing the X-Ray traces will provide insights into the execution flow and help identify any issues with the HTTP methods that could be causing the 504 Gateway Timeout errors.
upvoted 1 times
...
Heer
2 years, 2 months ago
OPTION A & D OUTPUT from Chat GBT Both options of parsing the HTTP logs in Amazon API Gateway and parsing Amazon CloudWatch Logs are valuable for debugging the issues in the serverless application. Parsing the HTTP logs in Amazon API Gateway is useful for identifying and resolving the 504 Gateway Timeout error, as it provides information about the specific requests that are timing out and any related error messages. Parsing Amazon CloudWatch Logs is useful for identifying performance bottlenecks and resolving slowdowns in the application components, as it provides information about the processing times for the images and can help identify any potential issues with processing speed. It may be best to implement both options to gain a comprehensive understanding of the issues and effectively resolve them.
upvoted 1 times
...
jj22222
3 years ago
Selected Answer: BD
b and d look right
upvoted 2 times
...
AzureDP900
3 years, 4 months ago
B,D is right
upvoted 1 times
...
moon2351
3 years, 5 months ago
Answer is B&D
upvoted 2 times
...
andylogan
3 years, 5 months ago
It's B D
upvoted 1 times
...
macshild
3 years, 5 months ago
The correct answer is BD
upvoted 1 times
...
WhyIronMan
3 years, 5 months ago
I'll go with B,D
upvoted 2 times
...
AJBA
3 years, 5 months ago
https://aws.amazon.com/premiumsupport/knowledge-center/api-gateway-504-errors/
upvoted 1 times
...
Kian1
3 years, 5 months ago
Ans B,D for me
upvoted 3 times
...
bnagaraja9099
3 years, 5 months ago
D for sure. X-Ray is basic for performance monitoring. Between A and B, 504 is the gateway timeout returned by the API gateway. But B talks about processing time in other components which most likely is what caused the time out. So I vote for B. B& D B & D
upvoted 2 times
...
Ebi
3 years, 5 months ago
Answer is BD E is irrelevant
upvoted 3 times
...
SachinJha
3 years, 6 months ago
B & D is the correct answer.
upvoted 3 times
...
gookseang
3 years, 6 months ago
I will go B&D
upvoted 1 times
...
T14102020
3 years, 6 months ago
Correct answer is BD
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago