CompTIA Linux+ XK0-006 (V8) Practice Question

While reviewing an Ubuntu Server's network configuration you find three Netplan definition files:

  • /lib/netplan/00-default.yaml
  • /etc/netplan/50-vm.yaml
  • /run/netplan/50-vm.yaml

Each file configures the same interface (ens192). After editing /lib/netplan/00-default.yaml to set a new static address you run "sudo netplan apply", but the system still boots with the old address.

According to Netplan's file-processing rules, which statement best explains why the change was ignored?

  • The definition in /run/netplan/50-vm.yaml is processed last (highest directory priority and later filename), so its settings override those in /lib/netplan/00-default.yaml.

  • Netplan skips YAML files whose names start with 00, causing your edited file to be excluded from processing.

  • Because Netplan keeps the first file it encounters, the earlier /etc/netplan/50-vm.yaml configuration took precedence over all others.

  • /lib/netplan files are ignored once the system has booted, so editing 00-default.yaml cannot influence a running configuration.

CompTIA Linux+ XK0-006 (V8)
System Management
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot