Friday, February 17, 2017

Handling Exceptions and Errors

Are you preparing to take the Security+ exam? If so, you need to know about some basic software development principles such as error and exception handling routines.

See if you can answer this sample question.

Q. Web developers are implementing error and exception handling in a web site application. Which of the following represents a best practice for this?

A. Displaying a detailed error message but logging generic information on the error

B. Displaying a generic error message but logging detailed information on the error

C. Displaying a generic error message and logging generic information on the error

D. Displaying a detailed error message and logging detailed information on the error

Check out the answer along with a full explanation here.