🚀 DevOps & SRE Certification Program 📅 Starting: 1st of Every Month 🤝 +91 8409492687 🔍 Contact@DevOpsSchool.com

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Linux Interview Questions and Answer – Part 10

How can we use lsof to display open ports?

  • lsof -i
  • lsof -w
  • lsof -u
  • sudo lsof -i (Ans)

On SUSE which file stores the static hostname

  • /etc/hosts
  • /eyc/hostname
  • /etc/HOSTNAME (Ans)
  • /etc/sysconfig/network

Which file is used for static ARP entries

  • /etc/services
  • /etc/ethers (Ans)
  • /etc/networks
  • /etc/hosts

Who should the group owner of the wall program be?

  • tty (Ans)
  • wall
  • wheel
  • root

Including the LPIC-1 exams how many exams in total do you need to pass for LPIC-2

  • 2
  • 3
  • 4 (Ans)
  • 5

Which option used with sysctl reads and loads the configuration file?

  • -p (Ans)
  • -r
  • -l
  • -m

How are debian source repositories listed in the sources.list file?

  • source
  • deb-src (Ans)
  • deb
  • debian-source

To expand a tar archive in Linux which option is used ?

  • -i
  • -e
  • -x (Ans)
  • -t

What is the name of the nagios service in Ubunto 14.04?

  • ng3
  • nagios3 (Ans)
  • nagios
  • ng

For Red Hat and Centos which repo do we need to add for collectd?

  • LABEL
  • LPEL
  • HTTP
  • EPEL (Ans)

Using ifconfig as a standard user which is the correct syntax to activate an interface?

  • sudo ifconfig eth0 up (Ans)
  • ifconfig eth0 up
  • sudo ifconfig up eth0
  • ifconfig up eth0

Which could be the correct syntax to synchronized with a remote rsync server module?

  • rsync -av server::/doc/ /tmp/
  • rsync -av server:doc/ /tmp/
  • rsync -av server/::doc/ /tmp/
  • rsync -av server::doc/ /tmp/ (Ans)

The output from vmstat show memory used as Cache, what does this represent?

  • Directory listing and file permissions
  • Virtual RAM
  • Disk space
  • File content (Ans)

Which variable to we need to set in the /etc/init.d/hostapd script?

  • DAEMON_CONF (Ans)
  • CONF
  • DAEMON
  • D_CONF

By default which database is used when installing Bacula on Ubuntu?

  • MSSQL
  • MySQL (Ans)
  • PostgreSQL
  • SQLite

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.