CompTIA Exam Questions

what file will temporarily prevent all users except root from logging into the system?

The presence of what file will temporarily prevent all users except root from logging into the system? (Specify the full name
of the file, including path.)

A.
/etc/nologin