Which command can be utilized to view log entries of NGINX system events in real time?

IT Exam Items RepositoryCategory: CCNA CyberOpsWhich command can be utilized to view log entries of NGINX system events in real time?

Which command can be utilized to view log entries of NGINX system events in real time?

  • sudo journalctl –u nginx.service -f
  • sudo journalctl –f
  • sudo journalctl –until "1 hour ago"
  • sudo journalctl –u nginx.services

Explanation: The journalctl command supports mixing options to achieve a desired filter set. The –u option allows filtering on the desired unit, whereas the –f option follows the specific log, thus monitoring the event in real time.

Related exam: CCNA Cyber Ops (v1.1) – Chapter 3 Exam Answers