LPI 304-200 practice test

LPIC-3 Exam 304: Virtualization & High Availability

Last exam update: Nov 16 ,2024
Page 1 out of 8. Viewing questions 1-15 out of 120

Question 1

Which parameter of vgchange controls whether a volume group is shared within a shared storage
cluster? (Specify ONLY the option name without any values or parameters.)

Answer:

-c, c,
clustered, --clustered

Discussions
0 / 1000

Question 2

When using DRBD in a Pacemaker cluster, which configuration objects must be managed in order to
use the DRBD device as storage for other cluster services? (Choose TWO correct answers.)

  • A. A security resource in order to permit other cluster services to access the data on the DRBD device.
  • B. A health resource in order to check the integrity of the file system.
  • C. A file system resource to mount the device.
  • D. A replication resource that synchronizes the DRBD device's data to all nodes that may take over the device after a failover.
  • E. A constraint to ensure the device is mounted before the dependent services are started.
Answer:

C, E

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 3

Which of the following are Pacemaker components? (Choose TWO correct answers.)

  • A. ccmd
  • B. crmd
  • C. fencer
  • D. pengine
  • E. keepalived
Answer:

B, D

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 4

Which of the following statements is true regarding the quorum in a two node Pacemaker cluster?

  • A. Clusters with one or two nodes cannot have a quorum and require no quorum configuration.
  • B. In a two node cluster, quorum can be determined and handled just as in a cluster with a higher number of nodes.
  • C. In a two node cluster the quorum is always held by the node that first started the cluster software.
  • D. The default quorum policy in a two node cluster must be set to ignore in order to configure a working cluster.
Answer:

D

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 5

In a Pacemaker cluster, which one of the following commands shows the right syntax for fencing the
node on port 3 using the APC rack PDU device which can be found at IP address 192.168.1.145?

  • A. apc_stonith -a 192.168.1.145 -l apc -n 3 -v -o shutdown -r now
  • B. fence_apc -a 192.168.1.145 -l apc -p apc -n 3 -v -o shutdown -r now
  • C. fence_apc -a 192.168.1.145 -l apc -p apc -n 3 -v -o reboot
  • D. apc_stonith -a 192.168.1.145 -l apc -p apc -n 3 -v -o reboot
Answer:

C

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 6

When using the gatewaying/direct routing forwarding method of Linux Virtual Server (LVS), which of
the following statements is true?

  • A. The default route of all backend servers must point to the LVS host.
  • B. Every backend server must accept packets addressed to the IP address of the virtual service.
  • C. On the backend servers, all packets appear to originate from the IP address of the LVS host.
  • D. The link layer addresses of all backend servers must be included in the LVS configuration.
  • E. When using gatewaying/direct routing, only the round robin algorithm is available.
Answer:

B

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 7

Which of the following are tools or services that manage a Linux Virtual Server (LVS) setup? (Choose
TWO correct answers.)

  • A. keepalived
  • B. ldirectord
  • C. lvproxy
  • D. roundrobind
  • E. vserverd
Answer:

A, B

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 8

What is true for a virtual IP address in the context of keepalived? (Choose TWO correct answers.)

  • A. The distinct IP addresses of all backend servers are called virtual IP addresses.
  • B. Every server running keepalived has exactly one virtual IP address and cannot have any additional virtual IP addresses.
  • C. The virtual IP address is the address to which incoming connections are made in order to reach the load balancer.
  • D. keepalived uses VRRP to ensure the availability of the virtual IP address.
  • E. Within the whole LVS cluster managed by keepalived, the virtual IP address never appears on any network interface.
Answer:

C, D

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 9

Which of the following are valid load balancing algorithms for HAProxy? (Choose TWO correct
answers.)

  • A. persistent
  • B. weightedrr
  • C. source
  • D. leastconn
  • E. destination
Answer:

C, D

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 10

When using HAProxy to load balance requests over a set of web servers, what directive is needed in
the HAProxy configuration in order to be able to log, on the backend web servers, the IP address of
the client making a request?

  • A. option reverseproxy
  • B. option forwardfor
  • C. option clientlog
  • D. option exposeclient
Answer:

B

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 11

While setting up a load-balanced HTTP service, Linux Virtual Server was configured with the
commands:
ipvsadm -A -t 198.51.100.2:80 -s rr
ipvsadm -a -t 198.51.100.2:80 -r 192.168.10.1:80 -m
ipvsadm -a -t 198.51.100.2:80 -r 192.168.10.2:80 -m
and all backend servers are using the LVS host as the default router. Which additional command has
to be issued on the LVS host in order to correctly handle incoming HTTP traffic?

  • A. echo "1" > /proc/sys/net/ipv4/ip_forward
  • B. iptables -t nat -Z
  • C. ipvsadmin -L -n
  • D. ipmasq -A 192.168.10.1 -A 192.168.10.2 -p tcp --dport www -j DEMASQ
  • E. netstat -r
Answer:

A

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 12

Which of the following technologies are parts of the Red Hat Enterprise Linux High Availability Add-
On? (Choose THREE correct answers.)

  • A. DRBD
  • B. LVS
  • C. cLVM
  • D. Pacemaker
  • E. OCFS2
Answer:

B, C, D

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 13

How does the command to add a new resource to a Pacemaker cluster using crm begin?

  • A. crm manage cluster
  • B. crm configure resource
  • C. crm service add
  • D. crm configure primitive
  • E. crm resource new
Answer:

D

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 14

Which of the following commands can be used to safely test and preview Pacemaker configuration
changes? (Choose TWO correct answers.)

  • A. crm_test
  • B. crm_simulate
  • C. crm_dryrun
  • D. crm_lab
  • E. crm_shadow
Answer:

B, E

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 15

In the command:
pcs constraint order VHost1IPv4 ____ HTTPD
which missing word is required in order to ensure that the service HTTPD is always started after the
service VHost1IPv4?

Answer:

then, THEN

User Votes:
Discussions
vote your answer:
0 / 1000
To page 2