Question 870
A Python app logs a database password when a Key Vault secret retrieval fails. What result MOST directly verifies that the solution works?
Explanation
Correct Answer
Protected storage does not help if a client writes retrieved secrets into ordinary diagnostics. The observed result “A failure simulation contains no secret values in exported traces or logs” would confirm the change “Redact sensitive configuration and credential fields from application logs and error messages” in this situation: A Python app logs a database password when a Key Vault secret retrieval fails.
Incorrect Answers
Credential resilience must balance temporary caching against rotation and revocation requirements. The situation here is: A Python app logs a database password when a Key Vault secret retrieval fails. A test of this alternative would miss the specific outcome “A failure simulation contains no secret values in exported traces or logs”.
Explicit environment scoping prevents accidental cross-environment configuration and secret changes. The situation here is: A Python app logs a database password when a Key Vault secret retrieval fails. A test of this alternative would miss the specific outcome “A failure simulation contains no secret values in exported traces or logs”.
Separating configuration from secrets reduces misuse of secret-management systems for ordinary settings. The situation here is: A Python app logs a database password when a Key Vault secret retrieval fails. A test of this alternative would miss the specific outcome “A failure simulation contains no secret values in exported traces or logs”.