CompTIA Linux+ Certification Quiz

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

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 (C)</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 (B)</p> Signup and view all the answers

Flashcards are hidden until you start studying

More Like This

Use Quizgecko on...
Browser
Browser