Question 78 of 270 from exam CAS-003: CompTIA CASP+

Question 78 of 270 from exam CAS-003: CompTIA CASP+

Question

The code snippet below controls all electronic door locks to a secure facility in which the doors should only fail open in an emergency.

In the code, 'criticalValue' indicates if an emergency is underway:

try {
if (criticalvalue)
openDoors=true
else
OpenDoors=false
} catch (e) {
OpenDoors=true

Which of the following is the BEST course of action for a security analyst to recommend to the software developer?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

B.