ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 113 - Certified B2C Commerce Developer discussion

Report
Export

A developer working on a simple web service integration is asked to add appropriate logging to allow future troubleshooting.

According to logging best practices, which code should the developer write to log when an operation succeeds, but has an unexpected outcome that may produce side effects?

A.
Logger.info('Unexpected service response.')
Answers
A.
Logger.info('Unexpected service response.')
B.
Logger.warn('Unexpected service response.')
Answers
B.
Logger.warn('Unexpected service response.')
C.
Logger.error('Unexpected service response.')
Answers
C.
Logger.error('Unexpected service response.')
D.
Logger.debug('Unexpected service response.')
Answers
D.
Logger.debug('Unexpected service response.')
Suggested answer: B
asked 23/09/2024
Srinivasan Krishnamoorthy
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first