CCD-102 practice question 18 of 30
Which two items are appropriate content of custom logs implemented at checkout? Choose 2 answers:
Full set: 206 questionsAppropriate logging during a checkout process is critical for diagnostics and security. Logging order failure information (B) and payment gateway service response codes (D) provides essential data for developers and support teams to troubleshoot issues without exposing sensitive information. These logs help identify problems like system errors, inventory issues, or payment processing failures. Conversely, logging sensitive data like passwords or full credit card numbers is a severe security vulnerability and a violation of compliance standards such as the Payment Card Industry Data Security Standard (PCI DSS).
1. PCI Security Standards Council. (2022). Payment Card Industry Data Security Standard (PCI DSS) v4.0. Page 49, Requirement 3.2. The standard explicitly states, "Do not store sensitive authentication data after authorization (even if encrypted)." This includes data like the CVV. Logging this information would constitute prohibited storage.
2. OWASP Foundation. (n.d.). OWASP Logging Cheat Sheet. Retrieved from https://cheatsheetseries.owasp.org/cheatsheets/LoggingCheatSheet.html. In the section "Data not to be logged," the guide explicitly lists "Application user passwords" and "Payment card information." Conversely, the "What to Log" section recommends logging events like "Outgoing requests to other systems," which includes payment gateway responses.
3. Saltzer, J. H., & Schroeder, M. D. (1975). The Protection of Information in Computer Systems. Communications of the ACM, 18(7), 387-402. (Cited in numerous university security courses, e.g., MIT 6.858). This foundational paper outlines the principle of least privilege. Logging sensitive data like passwords and credit card numbers violates this principle by granting the log files access to information they do not need, unnecessarily increasing risk.
Keep practicing
Take the free CCD-102 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CCD-102 practice questions
- Question 1A developer has a sandbox with code to log a message during execution, and the following …
- Question 3Server.get(‘Show’, consentTracking.consent, cache.applyDefaultCache, function (req,res,ne…
- Question 4A developer needs to update the package.json file so that it points to the hock file for …
- Question 5A developer wants to create in Business Manager extension with the cartridge named plugin…
- Question 6A client uses tax tables in Business Manager to calculate tax. They recently started ship…
- Question 7A Digital Developer has a site export file on their computer that needs to be imported in…
