Docsity

PrepIQ Linux Network Professional Certification Level 2 Ultimate Exam, Exams of Computer Science

Toggle sidebar
bg1
PrepIQ Linux Network Professional
Certification Level 2 Ultimate Exam
**Question 1.** Which command provides a real-time view of CPU, memory, and
process usage on a Linux system?
A) iostat
B) top
C) ss
D) sar
Answer: B
Explanation: **top** displays an updating list of processes with their CPU and
memory consumption, while iostat focuses on I/O, ss on sockets, and sar on historic
statistics.
**Question 2.** To monitor network bandwidth usage per interface over time, which
tool is most appropriate?
A) vmstat
B) iostat
C) iftop
D) netstat
Answer: C
Explanation: **iftop** shows real-time bandwidth per interface, whereas vmstat and
iostat report system and I/O stats, and netstat lists socket connections.
**Question 3.** When planning capacity, the “growth rate” of a resource is best
visualized using which of the following?
A) Pie chart
B) Scatter plot
C) Histogram
D) Time-series graph
Answer: D
Explanation: A **time-series graph** plots usage over time, revealing trends and
growth rates; the other chart types are less suited for temporal analysis.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51

Partial preview of the text

Download PrepIQ Linux Network Professional Certification Level 2 Ultimate Exam and more Exams Computer Science in PDF only on Docsity!

Certification Level 2 Ultimate Exam

Question 1. Which command provides a real-time view of CPU, memory, and process usage on a Linux system? A) iostat B) top C) ss D) sar Answer: B Explanation: top displays an updating list of processes with their CPU and memory consumption, while iostat focuses on I/O, ss on sockets, and sar on historic statistics. Question 2. To monitor network bandwidth usage per interface over time, which tool is most appropriate? A) vmstat B) iostat C) iftop D) netstat Answer: C Explanation: iftop shows real-time bandwidth per interface, whereas vmstat and iostat report system and I/O stats, and netstat lists socket connections. Question 3. When planning capacity, the “growth rate” of a resource is best visualized using which of the following? A) Pie chart B) Scatter plot C) Histogram D) Time-series graph Answer: D Explanation: A time-series graph plots usage over time, revealing trends and growth rates; the other chart types are less suited for temporal analysis.

Certification Level 2 Ultimate Exam

Question 4. Which of the following tools can collect and store performance metrics for later analysis and graphing? A) ping B) sar C) traceroute D) chmod Answer: B Explanation: sar (System Activity Reporter) gathers performance data that can be reviewed later; ping and traceroute are network utilities, chmod changes file permissions. Question 5. In a Linux system, which directory contains the kernel’s runtime configuration parameters that can be altered with sysctl? A) /etc/sysctl.d/ B) /proc/sys/ C) /var/run/ D) /usr/local/etc/ Answer: B Explanation: /proc/sys/ holds kernel parameters exposed to user space; sysctl reads/writes them. /etc/sysctl.d/ contains configuration files that sysctl reads at boot. Question 6. What is the primary advantage of a modular kernel over a monolithic kernel? A) Faster boot time B) Ability to load/unload drivers at runtime C) Smaller source code size D) Better multi-core scheduling Answer: B Explanation: A modular kernel can insert or remove loadable modules (drivers, filesystems) without rebuilding or rebooting, unlike a strictly monolithic kernel.

Certification Level 2 Ultimate Exam

Question 10. To permanently change the maximum number of file descriptors system-wide, which file should be edited? A) /etc/security/limits.conf B) /proc/sys/fs/file-max C) /etc/sysctl.conf D) /etc/fstab Answer: C Explanation: Adding fs.file-max to /etc/sysctl.conf and reloading sysctl makes the change persistent; limits.conf applies per-user, /proc/sys/... is runtime only. Question 11. Which systemd target is equivalent to the traditional SysV runlevel 3 (multi-user, no GUI)? A) graphical.target B) rescue.target C) multi-user.target D) network-target Answer: C Explanation: multi-user.target provides a full multi-user environment without a graphical interface, matching runlevel 3. Question 12. In SysV init, which script directory contains the scripts that start services during boot? A) /etc/init.d/ B) /etc/rc.d/rc3.d/ C) /usr/lib/systemd/ D) /boot/grub/ Answer: B Explanation: /etc/rc.d/rc3.d/ (or /etc/rc3.d/) holds symlinks to scripts in /etc/init.d/ that are executed for runlevel 3.

Certification Level 2 Ultimate Exam

Question 13. When a Linux system fails to boot because of a corrupted /etc/fstab, which boot option can be used to gain a root shell for repair? A) single B) emergency C) init=/bin/bash D) nomodeset Answer: C Explanation: Adding init=/bin/bash to the kernel command line boots directly into a bash shell before mounting filesystems, allowing manual fixing of fstab. Question 14. Which of the following bootloaders supports network boot via PXE out of the box? A) LILO B) GRUB C) syslinux D) refind Answer: C Explanation: syslinux includes PXELINUX for network booting; GRUB2 can be configured for PXE but does not provide it natively, LILO lacks PXE support, and refind is UEFI-focused. Question 15. To mount a filesystem using its UUID rather than device name, which option is used in /etc/fstab? A) LABEL= B) UUID= C) DEV= D) ID= Answer: B Explanation: The UUID= field tells the mount command to resolve the filesystem by its universally unique identifier.

Certification Level 2 Ultimate Exam

B) 3

C) 4

D) 5

Answer: B Explanation: RAID-5 needs at least three disks to provide parity and data distribution. Question 20. In LVM, which command creates a new volume group named vgdata from the physical volume /dev/sdb1? A) vgcreate vgdata /dev/sdb B) pvcreate /dev/sdb1 && vgcreate vgdata /dev/sdb C) lvcreate -n vgdata /dev/sdb D) vgcreate /dev/sdb1 vgdata Answer: A Explanation: vgcreate vgdata /dev/sdb1 creates the VG directly; the PV must already exist (often created with pvcreate beforehand, but the command itself is as shown). Question 21. Which LVM command creates a snapshot of a logical volume lvhome in volume group vgdata with a size of 2 GB? A) lvcreate -s -n snap_home -L 2G /dev/vgdata/lvhome B) lvcreate -L 2G -n snap_home vgdata/lvhome C) lvcreate -s -L 2G -n snap_home /dev/vgdata/lvhome D) lvcreate -s -L 2G /dev/vgdata/lvhome snap_home Answer: C Explanation: The -s flag creates a snapshot; -L 2G sets its size, -n names it, and the source LV is specified last. Question 22. To improve SSD performance on Linux, which kernel parameter should be tuned? A) vm.swappiness

Certification Level 2 Ultimate Exam

B) scheduler = cfq C) queue/rotational = 0 D) net.ipv4.tcp_congestion_control Answer: C Explanation: Setting /sys/block/sdX/queue/rotational to 0 tells the scheduler the device is non-rotational (SSD), enabling appropriate algorithms. Question 23. Which iSCSI target implementation is included in most modern Linux distributions? A) LIO B) OpenFCoE C) ctld D) iscsiadm Answer: A Explanation: LIO (Linux-IO) is the kernel-based iSCSI target framework shipped with current distros; ctld is a user-space target, iscsiadm is a initiator utility. Question 24. Which command displays the current routing table in a concise format? A) ip route show B) netstat -r C) route -n D) All of the above Answer: D Explanation: ip route show, netstat -r, and route -n all output the routing table; each is acceptable. Question 25. To assign a static IP address to eth0 using systemd-networkd, which file should be created? A) /etc/network/interfaces.d/eth0.cfg B) /etc/systemd/network/10-eth0.network

Certification Level 2 Ultimate Exam

C) zone "." IN { type hint; file "named.root"; }; D) zone "example.com" IN { type hint; }; Answer: C Explanation: The hint zone provides root server information for a caching-only server. Master and slave zones are authoritative; a hint zone for “.” is the only caching-only configuration. Question 29. Which BIND configuration directive enables DNSSEC validation on a recursive server? A) dnssec-enable yes; B) dnssec-validation auto; C) allow-query { any; }; D) response-policy { }; Answer: B Explanation: dnssec-validation auto; tells BIND to automatically validate DNSSEC signatures. The other options are unrelated to DNSSEC. Question 30. To restrict zone transfers for example.com to a single secondary server at 192.168.1.10, which statement is added to the zone definition? A) allow-transfer { 192.168.1.10; }; B) also-notify { 192.168.1.10; }; C) allow-update { 192.168.1.10; }; D) allow-query { 192.168.1.10; }; Answer: A Explanation: allow-transfer controls which IPs may request AXFR/IXFR zone transfers. Question 31. Which Apache directive enables the server to listen on port 8443 for HTTPS connections? A) Listen 8443 B)

Certification Level 2 Ultimate Exam

C) SSLEngine on D) All of the above Answer: D Explanation: Listen 8443 opens the port, **** defines the virtual host, and SSLEngine on activates TLS; all are required for a functional HTTPS listener. Question 32. In Nginx, which directive is used inside a server block to forward all requests to an upstream named app_backend? A) proxy_pass http://app_backend; B) upstream app_backend { … } C) location / { proxy_pass http://app_backend; } D) Both A and C Answer: D Explanation: proxy_pass defines the target; it must be placed inside a location block. Both statements together constitute the complete configuration. Question 33. Which file typically stores the private key for an Apache SSL certificate? A) /etc/ssl/certs/server.crt B) /etc/ssl/private/server.key C) /etc/pki/tls/certs/server.pem D) /etc/httpd/conf.d/ssl.conf Answer: B Explanation: The private key is usually kept in /etc/ssl/private/ (or /etc/pki/tls/private/ on some distros); the other paths hold the public certificate or configuration. Question 34. Which HTTP status code indicates that the requested resource has been permanently moved to a new URL? A) 301 B) 302

Certification Level 2 Ultimate Exam

D) no_root_squash Answer: B Explanation: ro (read-only) limits clients to non-modifying operations; rw grants read/write, sync forces synchronous writes, no_root_squash affects UID mapping. Question 38. Which NFS version introduced built-in support for Kerberos authentication? A) NFSv B) NFSv C) NFSv D) NFSv4. Answer: C Explanation: NFSv4 added strong security mechanisms, including Kerberos (sec=krb5); earlier versions required external RPCSEC_GSS. Question 39. When configuring a DHCP server with isc-dhcp-server, which stanza defines a pool of addresses for a specific subnet? A) subnet 192.168.10.0 netmask 255.255.255.0 { range 192.168.10. 192.168.10.200; } B) pool { range 192.168.10.100 192.168.10.200; } C) host client1 { hardware ethernet 00:11:22:33:44:55; fixed-address 192.168.10.50; } D) option domain-name-servers 8.8.8.8; Answer: A Explanation: The subnet declaration contains the range directive that defines the address pool for that subnet. Question 40. Which PAM module is responsible for checking password strength during a password change? A) pam_unix.so B) pam_pwquality.so

Certification Level 2 Ultimate Exam

C) pam_limits.so D) pam_tally2.so Answer: B Explanation: pam_pwquality enforces password complexity rules; pam_unix handles authentication, limits controls resource limits, tally2 tracks failed logins. Question 41. To integrate Linux authentication with an Active Directory domain using SSSD, which service must be enabled in sssd.conf? A) [nss] B) [pam] C) [domain/AD] D) [sudo] Answer: C Explanation: The [domain/AD] section defines the AD domain parameters; without it SSSD cannot communicate with AD. Question 42. Which OpenLDAP attribute stores the hashed password of a user entry? A) uidNumber B) userPassword C) cn D) shadowLastChange Answer: B Explanation: userPassword holds the password hash; other attributes store IDs, common names, and password aging data. Question 43. In Postfix, which main.cf parameter defines the destination domains that the server will accept mail for? A) myhostname B) mydomain C) mydestination

Certification Level 2 Ultimate Exam

Answer: A Explanation: The nft add rule inet filter input tcp dport 23 drop syntax adds the rule to the nftables filter table; the other options use different firewalls. Question 47. Which tool monitors file integrity by comparing current file hashes against a known baseline? A) Tripwire B) fail2ban C) netstat D) tcpdump Answer: A Explanation: Tripwire is an integrity-checking system; fail2ban bans IPs, netstat shows sockets, tcpdump captures packets. Question 48. In OpenVPN, which file contains the static key used for pre-shared secret authentication? A) ca.crt B) dh.pem C) ta.key D) server.conf Answer: C Explanation: ta.key holds the TLS-auth static key; ca.crt is the certificate authority, dh.pem is Diffie-Hellman parameters, server.conf is the configuration. Question 49. Which IPsec mode is typically used for site-to-site VPNs? A) Transport mode B) Tunnel mode C) ESP only D) AH only Answer: B

Certification Level 2 Ultimate Exam

Explanation: Tunnel mode encapsulates the entire original IP packet, suitable for connecting two networks; transport mode secures only payloads. Question 50. Which systemd unit type is used to start a service that must be active before any multi-user services start? A) socket B) target C) service D) timer Answer: B Explanation: Targets group units; a custom early-boot.target can be ordered before multi-user.target. Service units are actual daemons, sockets activate services, timers trigger actions. Question 51. Which command displays the current kernel version and build information? A) uname -r B) cat /proc/version C) dmesg | grep Linux D) Both A and B Answer: D Explanation: uname -r shows the release number; /proc/version contains full build details. Both are valid. Question 52. Which file is the primary configuration for the GRUB2 bootloader? A) /boot/grub/grub.cfg B) /etc/grub2.cfg C) /etc/default/grub D) /boot/grub2/menu.lst Answer: C

Certification Level 2 Ultimate Exam

Explanation: net.core.somaxconn sets the listen queue limit for incoming connections; the other parameters tune SYN backlog, port range, and FIN timeout. Question 56. Which of the following is a valid LVM command to extend a logical volume lvdata by 10 GB? A) lvextend -L +10G /dev/vg01/lvdata B) lvresize -L +10G /dev/vg01/lvdata C) lvextend -l +100%FREE /dev/vg01/lvdata D) Both A and B Answer: D Explanation: lvextend and lvresize both increase LV size; the -L +10G syntax works for both. Option C expands to all free space, not specifically 10 GB. Question 57. Which command creates a new RAID-1 array named /dev/md0 using /dev/sda1 and /dev/sdb1? A) mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb B) mdadm -C /dev/md0 -l 1 -n 2 /dev/sda1 /dev/sdb C) Both A and B D) mdadm --assemble /dev/md0 /dev/sda1 /dev/sdb Answer: C Explanation: Both --create (long form) and -C (short form) create a RAID- 1 array; --assemble is used for existing arrays. Question 58. Which mount option enables write-back caching for an ext filesystem? A) sync B) async C) data=ordered D) noatime Answer: B

Certification Level 2 Ultimate Exam

Explanation: async allows asynchronous (write-back) caching; sync forces synchronous writes, data=ordered is the default journaling mode, noatime disables access-time updates. Question 59. In a Btrfs filesystem, which command creates a read-only snapshot of /mnt/btrfs/subvol named snap1? A) btrfs subvolume snapshot -r /mnt/btrfs/subvol /mnt/btrfs/snap B) btrfs subvolume create -r /mnt/btrfs/snap C) btrfs subvolume snapshot /mnt/btrfs/subvol /mnt/btrfs/snap D) btrfs filesystem snapshot -r /mnt/btrfs/subvol /mnt/btrfs/snap Answer: A Explanation: The -r flag creates a read-only snapshot; the command syntax in A is correct. Question 60. Which tool can be used to monitor real-time I/O statistics per block device? A) iostat B) vmstat C) top D) sar Answer: A Explanation: iostat reports per-device I/O metrics; vmstat shows overall system stats, top shows processes, sar aggregates historic data. Question 61. Which of the following is the default firewall backend for most modern Fedora installations? A) iptables B) firewalld (nftables) C) ufw D) ipfw Answer: B