702-100 Free Sample Questions

Bsd Specialist Practice Test
10/256 questions ยท Unlock full access
Q1

A system administrator is hardening a new FreeBSD server that will host critical financial data. A primary requirement is to prevent any modifications to kernel modules at runtime, even by the root user, once the system is fully booted. Which configuration in `/etc/sysctl.conf` will achieve this specific security objective?

Q2

During a post-incident review of a compromised NetBSD server, an analyst needs to determine the exact commands executed by a specific user, 'rogueuser', during their logged-in sessions. Which command should the analyst use to get the most detailed process accounting information for this purpose?

Q3

An administrator is setting up a new OpenBSD firewall. To ensure maximum security and adhere to the principle of least privilege, they want to prevent the resolution of DNS queries for any domain not explicitly listed in `/etc/hosts`. Which of the following lines, when added to `/etc/resolv.conf`, will enforce this policy?

Q4

A developer needs to compile a custom application on a FreeBSD server that has several build-time dependencies. They want to ensure that all required dependencies are installed automatically before the compilation begins, using the native source-based package management system. Which command should be executed from within the application's source directory in the ports tree?

Q5

A systems administrator is scripting a backup solution for a NetBSD server. The script needs to create a compressed archive of the `/etc` directory. The administrator wants to use `tar` and pipe its output to `xz` for high-ratio compression. Which of the following commands correctly achieves this?

Q6Multiple answers

A consultant is tasked with auditing a mixed environment of FreeBSD, OpenBSD, and NetBSD servers. They need to create a script that reliably identifies the specific BSD variant and its release version on each machine. Which combination of commands would be the most effective and portable across all three platforms for this task? (Select TWO).

Q7

An administrator is trying to find all files in the `/var/log` directory on a FreeBSD system that have been modified in the last 24 hours and contain the case-insensitive string "error". Which of the following commands will accomplish this most efficiently?

Q8

A new administrator is working on an OpenBSD server and notices that the root filesystem is nearly full. They need to identify which subdirectories within `/` are consuming the most space. Which command provides a human-readable summary of disk usage for the immediate subdirectories of the root directory?

Q9

True or False: In a default OpenBSD installation, the `pkg_add` command will automatically use a CDN mirror for fetching packages without any manual configuration of mirror paths.

Q10

A research institution is deploying a fleet of NetBSD servers for data analysis. The lead architect has mandated that all servers must synchronize their time with the institution's internal stratum 1 NTP servers. The administrator needs to configure the NTP client daemon. In which file should the list of internal NTP servers be primarily configured on a NetBSD system?