LPIC-3 304v1 Flashcards

1
Q

what’a an alias for hypervisor?

A

virtual machine monitor (VMM)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what’s the difference between a hypervisor and hardware emulation?

A

In hardware emulation, a piece of hardware imitates another, while in hardware virtualization, a hypervisor (a piece of software) imitates a particular piece of computer hardware

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what’s the name of the cli tool for OpenVZ?

A

vzctl

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

which cpu flag provides a intel VT cpu for full virtualisation?

A

vmx (virtual machine extensions)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

which cpu flag provides a amd-v cpu for full virtualisation?

A

svm (secure virtual machine)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

where can you see, if xen supports HVM?

A

/sys/hypervisor/properties/capabilities

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

LVS: what’s the VIP (Virtual IP Address)?

A

The IP address used by the director to provide services to client computers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

LVS: what’s the RIP (Real IP address)?

A

The IP address used to connect to the cluster nodes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

LVS: what’s the DIP (Directors IP address)?

A

The IP address used by the director to connect to network of real IP addresses

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

LVS: what’s the CIP (Client IP address)?

A

The IP address assigned to a client computer, that it uses as the source IP address for requests being sent to the cluster

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

which sysctl settings need to be adjusted in order to prevent the loopback device from responding to ARP?

A

net. ipv4.conf.lo.rp_filter = 0
net. ipv4.conf.all.arp_announce = 2
net. ipv4.conf.all.arp_ignore = 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

define the main syntax of genhash

A

genhash -s -p -u

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

how can genhash use SSL and what’s the option to define a virtual Host?

A

SSL= -S, virtualHost= -u

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

ipvsadm: add a new service

A

-A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

ipvsadm: define a tcp service address

A

-t

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

ipvsadm: define the scheduler

A

-s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

ipvsadm: add a new server

A

-a

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

ipvsadm: add a real server

A

-r

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

ipvsadm: use masquerading

A

-m

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

ipvsadm: save rules to stdout

A

-S

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

ipvsadm: read rules from stdin

A

-R

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

ipvsadm: name the scheduling methods and declare each

A
rr - round robin
wrr - weighted RR
lc - least connection
lblc - locality based least connection
lblcr - locality based least connection with replication
dh - destination hashing
sh - source hashing
sed - shortest expected delay
nq - never queue
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

which option of keepalived defines the LVS syncd interface?

A

lvs_sync_daemon_interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

VRRP? What’s it doing?

A

Virtual Router Redundancy Protocol, used to communicate between routers/loadbalancers to define a master holding an IP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

IPVS?

A

IP Virtual Server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

what is LVS Localnode and what purpose can it serve?

A

use the local node (loadbalancer) as a real server, can be good for a sorry server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

what is LVS IP Tunneling?

A

packets are encapsulated and answered directly by the real server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

what is LVS NAT?

A

the loadbalancer translates external IP to internal and vice versa

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

what is LVS DR?

A

the packets are forwarded by the loadbalancer directly to the real server and is also answered by the real server

30
Q

what’s SSI related to LinuxPMI?

A

single system image

31
Q

what’s the directory LPI is asking for but nobody knows of?

A

/usr/lib/heartbeat/ResourceManager

32
Q

where’s the cluster config file of red hats cluster suite located?

A

/etc/cluster/cluster.conf

33
Q

how can you create a skelton config for red hats cluster suite?

A

ccs_tool create

34
Q

deploy cluster.conf to all nodes in red hats cluster suite

A

ccs_tool update /etc/cluster/cluster.conf

35
Q

rhcs: show cluster status

A

clustat

36
Q

rhcs: start/enable a service

A

clusvcadm -e

37
Q

rhcs: stop/disable a service

A

clusvcadm -d

38
Q

definition of cman?

A

“cluster manager” - decides if cluster has quorum

39
Q

what is rgmanager?

A

counterpart of pacemaker

40
Q

CCS?

A

Cluster Configuration System

41
Q

rgmanager?

A

resource group manager

42
Q

OCF?

A

Open Cluster Framework

43
Q

where are red hats RA located?

A

/usr/share/cluster

44
Q

which variable determines if ocfs can start?

A

O2CB_ENABLED

45
Q

config file of OCFS?

A

/etc/ocfs2/cluster.conf

46
Q

name the typical options for a ocfs node in cluster.conf

A

name, cluster, number, ip_address, ip_port

47
Q

name the typical options for a ocfs cluster in cluster.conf

A

name, node_count

48
Q

DLM (filesystem)?

A

Distributed Lock Manager

49
Q

which options defines the name of the locking protocol for gfs2?

A

-p

50
Q

which option defines the name of the lock table for gfs2?

A

-t

51
Q

where’s the haproxy config located?

A

/etc/haproxy/haproxy.cfg

52
Q

name haproxy’s 5 config sections

A
global
defaults
listen
frontend
backend
53
Q

are haproxy acl’s case sensitive?

A

yes

54
Q

which chars are allowed for haproxy acl’s?

A
upper and lower case
digits
_
.
\:
-
55
Q

which acl flags are supported by haproxy?

A
  • i
  • f
  • -
56
Q

haproxy acl’s can match on which tcp layers?

A

4 and 7

57
Q

which option of haproxy sets the loadbalancing algorithm?

A

balance

58
Q

which loadbalancing algorithms are available for haproxy?

A
roundrobin
static-rr
leastconn
source
uri
uril_param
hdr
rdp-cookie
59
Q

which binary creates the qdiskd filesystem?

A

mkqdisk

60
Q

how many nodes can be in an qdisk managed cluster?

A

16

61
Q

what’s the name of the KVM kernel module?

A

kvm.ko

62
Q

KVM loads a processor specific module, which two exist?

A

kvm-intel.ko and kvm-amd.ko

63
Q

what’s the name of the kvm daemon?

A

libvirt-bin

64
Q

which cli tool can create VMs?

A

virtinst

65
Q

which cli tool can start/stop VMs?

A

virsh

66
Q

which command lists KVMs virtual machines?

A

virsh -c qemu:///system list

67
Q

which file is read by kvm_stat?

A

/sys/kernel/debug/kvm

68
Q

which binary can specify disk images for guests?

A

qemu-kvm

69
Q

create a 10G disk image called file.img with qemu in qcow format

A

qemu-img create -f qcow file.img 10G

70
Q

which storage interface of qemu is faster than IDE?

A

virtio