Free LPI 702-100 Actual Exam Questions - Question 14 Discussion
the full name of the file, including path.)

That file sets interface parameters directly, so /etc/hostname.em0 makes complete sense.
I think it’s definitely /etc/hostname.em0 because OpenBSD uses those “hostname.interface” files to set up each network interface individually. Other files like dhclient.conf handle DHCP client options but aren’t the core config for that interface. So if the question is about the main network interface config file, /etc/hostname.em0 is the one they want.
The question asks specifically for the file configuring em0, so /etc/hostname.em0 fits best. Other files like dhclient.conf are more general and not specific to em0, so they wouldn’t be the main config.
The key config file for em0 on OpenBSD is definitely /etc/hostname.em0. Other files like dhclient.conf are secondary and not specific to that interface. So, /etc/hostname.em0 is the main answer here.
The key file is definitely /etc/hostname.em0. It’s the standard place OpenBSD looks for interface configs, no matter DHCP or static. Other files like dhclient.conf don’t replace this main config.
Config files for interfaces are always in /etc with hostname plus interface name.
Exactly, the file is /etc/hostname.em0. It’s straightforward since each interface has its own config file named after it in /etc. No need to overcomplicate here.
/dev/null? Just kidding. It’s /etc/hostname.em0 on OpenBSD. That’s where the network interface settings go.