Master LPIC-1 101-500: hardware configuration, boot process, disk partitioning, package management, and system maintenance with command examples.
Test your LPIC-1 knowledge with free practice questions covering the 101-500 and 102-500 exam objectives. Detailed answers and explanations included.
Preparing for LPIC-3? These free questions cover the LPIC-3 specialization exams (300, 303, 304).
Which Samba service provides Active Directory domain controller functionality?
a) smbd b) nmbd c) samba-ad-dc d) winbindd
Answer: c) samba-ad-dc
Explanation: The samba-ad-dc service provides AD Domain Controller with LDAP, Kerberos, DNS, and authentication. smbd provides file/print services, nmbd provides NetBIOS, winbindd integrates with AD.
Which command joins a Linux machine to a Samba Active Directory domain?
a) net ads join
b) realm join
c) samba-tool domain join
d) Both a and b
Answer: d) Both a and b
Explanation: net ads join (classic Samba) and realm join (SSSD/realmd) are both used to join Linux to AD domains. realm join is preferred on modern systems.
[Full set covers Samba shares, user mapping, file permissions, NT ACLs, WINS, and BIND DLZ]
Which OpenVPN mode tunnels both IPv4 and IPv6?
a) TUN (tunnel) b) TAP (bridge) c) Both support both protocols d) Neither
Answer: a) TUN (tunnel)
Explanation: OpenVPN TUN mode operates at Layer 3 and tunnels IP packets. TAP operates at Layer 2 (bridges Ethernet). TUN is more common for VPNs.
Which GPG command encrypts a file for a recipient?
a) gpg -e -r recipient file
b) gpg --encrypt -r recipient file
c) gpg -c -r recipient file
d) gpg -s -r recipient file
Answer: a) gpg -e -r recipient file
Explanation: -e encrypts, -r specifies the recipient (by key ID or email). -c is symmetric encryption. -s signs. -d decrypts.
[Full set covers OpenVPN, IPsec, GPG, OpenSSL, CA management, certificates, Apache security, and iptables/nftables]
Which KVM command lists running virtual machines?
a) virsh list
b) virsh list --all
c) kvm list
d) qemu-list
Answer: a) virsh list
Explanation: virsh list shows running VMs. virsh list --all includes stopped VMs. virsh manages libvirt-based virtualization.
Which Pacemaker command shows cluster status?
a) pcs status
b) crm_mon
c) pacemaker status
d) Both a and b
Answer: d) Both a and b
Explanation: pcs status (Pacemaker/Corosync stack) and crm_mon (older CRM) both show cluster status, node health, and resource states.
[Full set covers KVM, libvirt, Pacemaker, DRBD, LVS, migration, HA services, and fencing]
Access all LPIC-3 practice questions →