306-300 Sample Questions & Answers
Managing load-balanced and failover clusters carries the most weight, alongside clustered filesystem storage access and DRBD, distributed storage through GlusterFS and Ceph, and single-node resilience using advanced RAID and LVM.
Launch the full 306-300 simulator →Showing 10 of 20 free samples.
- Question 1Intermediate
High Availability Cluster Management · Failover Clusters with Pacemaker
Which of the following Pacemaker commands effectively prevents a specific resource named
WebSitefrom ever running onnode3, regardless of load or failure conditions?Show answer & explanation
Correct answer: B
pcs constraint location WebSite avoids node3creates a location constraint with the default score INFINITY, i.e. a -INFINITY preference for node3; Red Hat: "A value of INFINITY for score in a pcs constraint location rsc avoids command indicates that the resource will never run on that node, even if no other node is available."pcs resource banhas no--temporaryoption (time-limited bans uselifetime=),crm_resource --move --node node3creates a constraint that moves WebSite TO node3, and pcs order constraints take resources (not nodes) and accept kind/symmetrical options rather than a score. - Question 2Intermediate
Single Node High Availability · Advanced RAID
A system administrator is reviewing the
mdadmconfiguration for a RAID 6 array. One drive,/dev/sdc1, has failed. After replacing the physical drive, which command sequence is required to restore full redundancy?Show answer & explanation
Correct answer: C
First, the failed logical partition must be removed from the array configuration. Then, the new partition (assuming it has been partitioned correctly) is added back. The array will then begin the rebuild process.
- Question 3Advanced
High Availability Distributed Storage · Ceph Storage Clusters
In a Ceph cluster, you need to remove an OSD node
osd.5permanently. Which step must be performed FIRST to ensure data is safely rebalanced to other OSDs before you stop the daemon?Show answer & explanation
Correct answer: A
Marking the OSD as 'out' instructs the CRUSH algorithm to re-map the Placement Groups (PGs) residing on that OSD to other OSDs. The cluster will begin backfilling data. Once the cluster is healthy (active+clean), the OSD can be safely stopped and removed.
- Question 4Intermediate
High Availability Cluster Management · Load Balanced Clusters
You are implementing a Linux Virtual Server (LVS) with Keepalived. The backend servers are on a different subnet than the load balancer, and you cannot modify their default gateway. Which LVS forwarding method is the ONLY valid choice for this topology?
Show answer & explanation
Correct answer: B
LVS-TUN encapsulates the IP packet within another IP packet (IPIP). This allows the real servers to be on different networks or even across the internet, as long as they can decapsulate the packet and reply directly to the client (or via a gateway). LVS-NAT requires the load balancer to be the gateway. LVS-DR requires the load balancer and real servers to be on the same L2 segment.
- Question 5Beginner
High Availability Distributed Storage · GlusterFS Storage Clusters
Which GlusterFS volume type should be selected to optimize for high read performance and data redundancy across 4 servers, where each server contributes one brick?
Show answer & explanation
Correct answer: D
A Replicated volume copies files to multiple bricks. With 4 servers and a replica count of 4 (or 2x2 distributed-replicated), read performance improves because clients can read from any copy. It provides redundancy.
- Question 6Advanced
High Availability Cluster Storage · DRBD Configuration and Management
A DRBD resource
r0is in a split-brain state. You have determined that the data on nodesrv1is correct and the data onsrv2should be discarded. Select the correct sequence of commands to resolve this.Show answer & explanation
Correct answer: D
Manual split-brain recovery (DRBD 9 User's Guide): on the split-brain victim (srv2, whose changes are discarded) run
drbdadm disconnect r0,drbdadm secondary r0anddrbdadm connect --discard-my-data r0; on the survivor (srv1), if its connection state is also StandAlone, rundrbdadm disconnect r0anddrbdadm connect r0(if it is already Connecting it reconnects automatically). On connection srv2 becomes SyncTarget and only its local modifications are rolled back and replaced by srv1's data - no full resync.drbdadm invalidateon srv1 would replace the GOOD data with srv2's, taking srv2 down/up and forcing srv1 to Primary leaves the divergent data in place (split brain is detected again at the next handshake), andverifyonly marks differing blocks as out-of-sync. - Question 7IntermediateSelect 2
Single Node High Availability · Advanced LVM
You need to create a new LVM Thin Pool named
mythinpoolin volume groupvg0with a size of 100G. Which TWO commands achieve this? (Select TWO)Show answer & explanation
Correct answers: A, C
Both commands create a 100 GiB thin pool named
mythinpoolinvg0.lvcreate --type thin-pool -L 100G -n mythinpool vg0is the single-step form documented in lvmthin(7) (lvcreate --type thin-pool -L LargeSize -n ThinPoolLV VG). With-T|--thin, a size and no virtual size, lvcreate also creates a thin pool (--type thin-poolis implied), and the pool name can be given together with the VG name — the RHEL 7 LVM guide uses exactlylvcreate -L 100M -T vg001/mythinpool.vgcreatehas no thin-pool option, andlvconvert --type thin-poolconverts an existing LV into a pool and has no-Lsize option.Both commands create a 100 GiB thin pool named
mythinpoolinvg0.lvcreate --type thin-pool -L 100G -n mythinpool vg0is the single-step form documented in lvmthin(7) (lvcreate --type thin-pool -L LargeSize -n ThinPoolLV VG). With-T|--thin, a size and no virtual size, lvcreate also creates a thin pool (--type thin-poolis implied), and the pool name can be given together with the VG name — the RHEL 7 LVM guide uses exactlylvcreate -L 100M -T vg001/mythinpool.vgcreatehas no thin-pool option, andlvconvert --type thin-poolconverts an existing LV into a pool and has no-Lsize option. - Question 8Beginner
Single Node High Availability · Network High Availability
When configuring a bonding interface in
802.3ad(LACP) mode, whichmiimon(MII monitoring) interval is generally recommended to ensure rapid link failure detection without causing excessive CPU overhead?Show answer & explanation
Correct answer: C
A value of 100ms is the standard recommendation for
miimon. It provides a good balance between fast detection (0.1 seconds) and low system overhead. The LACP standard also defines 'fast' and 'slow' rates for LACP PDUs, but miimon checks the carrier state locally. - Question 9Beginner
High Availability Cluster Management · HA Concepts and Theory
Which of the following is the correct definition of the 'STONITH' concept in a high-availability cluster?
Show answer & explanation
Correct answer: D
STONITH (Shoot The Other Node In The Head) is a fencing implementation. It physically isolates a node (usually by cutting power via IPMI/PDU) to prevent it from writing to shared storage during a split-brain or malfunction.
- Question 10Intermediate
High Availability Cluster Storage · DRBD Configuration and Management
You are editing the
/etc/drbd.conffile to optimize performance over a high-latency link. Which protocol should be chosen if write performance on the Primary node is paramount and you can accept losing the most recent writes if the Primary fails and a forced failover to the Secondary occurs?Show answer & explanation
Correct answer: C
Protocol A is asynchronous replication: a write is complete on the Primary as soon as it has reached the local disk and the replication packet has been placed in the local TCP send buffer. It gives the lowest write latency on long, high-latency links (it is the protocol typically used for long-distance replication, often together with DRBD Proxy), but after a forced failover the most recent writes may be lost. Protocol B (memory-synchronous) waits until the packet has reached the peer and only loses writes if both nodes lose power and the Primary's storage is destroyed at the same time; Protocol C (synchronous, the default) waits for the remote disk write. There is no Protocol D.
Ready for the real thing?
The full 306-300 simulator has every exam-style question, timed mode, and instant scoring.