Introduction to Troubleshooting and Debugging
A symptom-to-cause guide for the errors developers meet most often on AWS, and how to diagnose them.
- 2 lessons
- Module quiz
Domain 4 of the exam, Troubleshooting and Optimization, accounts for 18% of the score, and debugging questions also appear in the other domains. A typical question describes a symptom, such as an error message, a timeout or messages processed twice, and asks for its cause or the fix.
This module brings together material from across the course. Rather than introducing a service, it sets out a method for diagnosing problems on AWS and a playbook of the errors developers meet most often, organised by service, with their most likely causes. Most troubleshooting questions test one of these well-known causes, so recognising them is an efficient way to gain marks.
How to use this module
The most important step in any diagnosis is the first: reading the full error message. AWS error messages often name the identity, action, resource and reason, and the fix follows directly. The playbook is most useful after the service modules have been studied, as a review that connects each symptom to the service behaviour that causes it.
How this module is organised
Applying a Method for Debugging on AWS explains the five categories of error, the tool that best reveals each one, and why reading the error comes first. Recognising Common Errors and Their Causes lists the most frequent symptoms in Lambda, API Gateway, data and messaging services, and deployment tools, with their causes.