Interview practice question
A debug endpoint exposes environment variables
Cloud & DevOps · DevSecOps · Intermediate
A security researcher reports that a debug endpoint in production displays all environment variables, including secrets. How do you respond?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Disable endpoint immediately.
- Rotate all exposed secrets.
- Check logs for access.
- Fix config: debug off in prod, framework settings.
- Scan for similar endpoints; tests.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.