CompTIA Linux+ Certification Quiz
5 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Which command should the administrator use to identify the correct version of the /boot/vmlinuz file?

  • cat /etc/centos-release; rpm -Uvh --nodeps
  • rpm -qa | grep kernel; uname -a (correct)
  • yum -y update; shutdown -r now
  • telinit 1; restorecon -Rv /boot
  • Which file should the cloud engineer modify to change the secure remote login port from 22 to 49000?

  • /etc/hostname
  • /etc/ssh/sshd_config (correct)
  • /etc/host.conf
  • /etc/services
  • What should the administrator do to resolve the issue of the accidentally deleted /boot/vmlinuz file before rebooting the server?

  • Run 'yum -y update; shutdown -r now'
  • Run 'telinit 1; restorecon -Rv /boot'
  • Run 'rpm -qa | grep kernel; uname -a' (correct)
  • Run 'cat /etc/centos-release; rpm -Uvh --nodeps'
  • What does the command 'rpm -qa | grep kernel; uname -a' do?

    <p>Identifies the correct version of the /boot/vmlinuz file</p> Signup and view all the answers

    What is the purpose of modifying the /etc/ssh/sshd_config file?

    <p>To change the secure remote login port</p> Signup and view all the answers

    More Like This

    Use Quizgecko on...
    Browser
    Browser