50 Free LPIC-3 Practice Questions — Linux Professional Institute
Preparing for LPIC-3? These free questions cover the LPIC-3 specialization exams (300, 303, 304).
Domain: Mixed Environments — Samba (Questions 1–20)
Question 1
Which Samba service provides Active Directory domain controller functionality?
a) smbd
b) nmbd
c) samba-ad-dc
d) winbindd
Show Answer
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.
Question 2
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
Show Answer
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.
Questions 3–20
[Full set covers Samba shares, user mapping, file permissions, NT ACLs, WINS, and BIND DLZ]
Domain: Security (Questions 21–35)
Question 3
Which OpenVPN mode tunnels both IPv4 and IPv6?
a) TUN (tunnel)
b) TAP (bridge)
c) Both support both protocols
d) Neither
Show Answer
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.
Question 4
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
Show Answer
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.
Questions 5–35
[Full set covers OpenVPN, IPsec, GPG, OpenSSL, CA management, certificates, Apache security, and iptables/nftables]
Domain: Virtualization and HA (Questions 36–50)
Question 5
Which KVM command lists running virtual machines?
a) virsh list
b) virsh list --all
c) kvm list
d) qemu-list
Show Answer
Answer: a) virsh list
Explanation: virsh list shows running VMs. virsh list --all includes stopped VMs. virsh manages libvirt-based virtualization.
Question 6
Which Pacemaker command shows cluster status?
a) pcs status
b) crm_mon
c) pacemaker status
d) Both a and b
Show Answer
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.
Questions 7–50
[Full set covers KVM, libvirt, Pacemaker, DRBD, LVS, migration, HA services, and fencing]
How Did You Score?
Bereit, dein Wissen zu testen?
Probiere unsere Übungsprüfungen mit Hunderten von realistischen Fragen aus.
Üben starten →