Show answerHide answer
Correct answer: A, D Mask personally identifiable information (PII) before including it in a log message.Log all information that is necessary to diagnose the transaction.
Explanation
Answer Option (Which option is correct) A. Mask personally identifiable information (PII) before including it in a log message.Answer Option (Which option is correct) D. Log all information that is necessary to diagnose the transaction.
Explanation:
Log significant events and the context needed to investigate a transaction while protecting sensitive information. Mask personal information when it must appear. Logging credentials or unmasked financial data, or logging everything indiscriminately, creates problems beyond the requested diagnostic purpose.
Why the other options are incorrect:
B. Set the logging level to "info" in the production environment:
A global info setting is a configuration choice. It does not determine whether individual data is safe to log. The question selects content and privacy practices.
C. Set the logging level to "debug" in the production environment when diagnosing a production issue:
Temporary debug logging may assist diagnosis. It still needs appropriate scope and data protection. The PDF does not establish it as the selected blanket practice.
E. Log every transaction to ensure a complete audit trail:
Logging every transaction can produce unnecessary volume. It can also capture unjustified sensitive content. Log the events and context required by the actual audit purpose.
References:
Guidewire Security - Logging sensitive information
Guidewire Security - Logging, monitoring, and audit governance