306-300 Sample Questions

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.

  1. Question 1Intermediate

    High Availability Cluster Management · Failover Clusters with Pacemaker

    Which of the following Pacemaker commands effectively prevents a specific resource named WebSite from ever running on node3, regardless of load or failure conditions?

    Show answer & explanation

    Correct answer: B

    pcs constraint location WebSite avoids node3 creates 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 ban has no --temporary option (time-limited bans use lifetime=), crm_resource --move --node node3 creates a constraint that moves WebSite TO node3, and pcs order constraints take resources (not nodes) and accept kind/symmetrical options rather than a score.

  2. Question 2Intermediate

    Single Node High Availability · Advanced RAID

    A system administrator is reviewing the mdadm configuration 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.

  3. Question 3Advanced

    High Availability Distributed Storage · Ceph Storage Clusters

    In a Ceph cluster, you need to remove an OSD node osd.5 permanently. 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.

  4. 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.

  5. 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.

  6. Question 6Advanced

    High Availability Cluster Storage · DRBD Configuration and Management

    A DRBD resource r0 is in a split-brain state. You have determined that the data on node srv1 is correct and the data on srv2 should 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 r0 and drbdadm connect --discard-my-data r0; on the survivor (srv1), if its connection state is also StandAlone, run drbdadm disconnect r0 and drbdadm 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 invalidate on 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), and verify only marks differing blocks as out-of-sync.

  7. Question 7IntermediateSelect 2

    Single Node High Availability · Advanced LVM

    You need to create a new LVM Thin Pool named mythinpool in volume group vg0 with 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 mythinpool in vg0. lvcreate --type thin-pool -L 100G -n mythinpool vg0 is 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-pool is implied), and the pool name can be given together with the VG name — the RHEL 7 LVM guide uses exactly lvcreate -L 100M -T vg001/mythinpool. vgcreate has no thin-pool option, and lvconvert --type thin-pool converts an existing LV into a pool and has no -L size option.

    Both commands create a 100 GiB thin pool named mythinpool in vg0. lvcreate --type thin-pool -L 100G -n mythinpool vg0 is 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-pool is implied), and the pool name can be given together with the VG name — the RHEL 7 LVM guide uses exactly lvcreate -L 100M -T vg001/mythinpool. vgcreate has no thin-pool option, and lvconvert --type thin-pool converts an existing LV into a pool and has no -L size option.

  8. Question 8Beginner

    Single Node High Availability · Network High Availability

    When configuring a bonding interface in 802.3ad (LACP) mode, which miimon (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.

  9. 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.

  10. Question 10Intermediate

    High Availability Cluster Storage · DRBD Configuration and Management

    You are editing the /etc/drbd.conf file 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.