1 Simulado - LPIC-3 305 Flashcards

1
Q

Which of the following is a popular container orchestrator for managing containerized applications?
a) Docker
b) Kubernetes
c) OpenShift
d) OpenStack

A

b) Kubernetes - Kubernetes is widely used for automating deployment, scaling, and management of containerized applications.

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

In a Type 1 hypervisor, where does the hypervisor software typically run?
a) On top of the host operating system
b) As a standalone application
c) Directly on the physical hardware
d) Inside a container

A

c) Directly on the physical hardware - In a Type 1 hypervisor, the hypervisor software runs directly on the physical hardware.

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

What does the acronym ‘OCI’ stand for in the context of container virtualization?
a) Orchestrated Container Integration
b) Open Container Infrastructure
c) Optimized Container Isolation
d) Open Container Initiative

A

d) Open Container Initiative - OCI stands for Open Container Initiative, which aims to create open industry standards around container formats and runtime.

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

What is the name of the command-line tool used for managing KVM hypervisor on Linux?
a) qemu-kvm
b) virt-install
c) virsh
d) libvirt

A

c) virsh - virsh is a command-line tool used for managing KVM hypervisor on Linux.

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

Which of the following is an example of a Type 1 hypervisor that is open-source and commonly used in Linux environments?
a) Hyper-V
b) KVM
c) VMware ESXi
d) Xen

A

b) KVM - KVM (Kernel-based Virtual Machine) is an example of a Type 1 hypervisor that is open-source and commonly used in Linux environments.

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

Which of the following is a common limitation of full virtualization compared to container virtualization?
a) Easier to migrate between different host operating systems
b) Larger performance overhead
c) More efficient resource utilization
d) Greater isolation between virtual environments

A

b) Larger performance overhead - One common limitation of full virtualization compared to container virtualization is a larger performance overhead due to the hypervisor layer.

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

What is the purpose of a container runtime that supports OCI standards in container virtualization?
a) To create and manage container images
b) To provide container security
c) To manage container orchestrators
d) To run and manage containers

A

d) To run and manage containers - A container runtime that supports OCI standards is used to run and manage containers based on industry-standard container image specifications.

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

Which of the following tools can be used for container image management and distribution in a container platform?
a) Ansible
b) Kubernetes
c) Terraform
d) Docker Registry

A

d) Docker Registry - Docker Registry is a tool used for container image management and distribution within a container platform.

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

Which of the following is not a feature of live migration in virtualization?
a) Reducing power consumption by consolidating VMs on fewer physical hosts
b) Moving a running VM from one physical host to another without disrupting its operation
c) Zero downtime for maintenance
d) Automatic failover in case of physical host failure

A

d) Automatic failover in case of physical host failure - Automatic failover in case of physical host failure is not a feature of live migration in virtualization.

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

Which of the following tools is commonly used for automating the deployment of virtual machines in a cloud environment?
a) Docker
b) Puppet
c) Vagrant
d) Ansible

A

d) Ansible - Ansible is a popular tool for automating the provisioning and deployment of virtual machines in cloud environments.

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

What is the primary benefit of using container virtualization over traditional virtualization technologies?
a) Better support for running legacy applications
b) Lower overhead for running multiple instances
c) Easier management of network configurations
d) Improved hypervisor-level security

A

b) Lower overhead for running multiple instances - Container virtualization provides lower overhead for running multiple instances compared to traditional virtualization.

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

Which of the following tools can be used to manage multiple hypervisors from different vendors in a centralized manner?
a) vCenter Server
b) QEMU
c) OpenStack
d) Proxmox Virtual Environment

A

c) OpenStack - OpenStack can be used to manage multiple hypervisors from different vendors in a centralized manner.

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

Which container technology uses a ‘runtime class’ to select the specific container runtime for running pods in a Kubernetes cluster?
a) Podman
b) Docker
c) CRI-O
d) Containerd

A

c) CRI-O - CRI-O uses a ‘runtime class’ to select the specific container runtime for running pods within a Kubernetes cluster.

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

Which virtualization technology provides the ability to create isolated virtual networks among VMs and hosts?
a) VPN (Virtual Private Network)
b) VLAN (Virtual Local Area Network)
c) Vagrant
d) VXLAN (Virtual Extensible LAN)

A

d) VXLAN (Virtual Extensible LAN) - VXLAN provides the ability to create isolated virtual networks among VMs and hosts.

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

Which of the following storage technologies is commonly used for providing shared storage in a virtualized environment?
a) Network-attached storage (NAS)
b) Direct-attached storage (DAS)
c) Storage area network (SAN)
d) Solid-state drive (SSD)

A

c) Storage area network (SAN) - SAN is commonly used for providing shared storage in a virtualized environment.

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

Which technology allows for the creation of portable VM images that can be migrated across different hypervisors?
a) CDN (Content Delivery Network)
b) EUC (End User Computing)
c) VDI (Virtual Desktop Infrastructure)
d) OVF (Open Virtualization Format)

A

d) OVF (Open Virtualization Format) - OVF allows for the creation of portable VM images that can be migrated across different hypervisors.

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

When deploying virtual machines, what is the term used to describe the process of creating multiple instances of a VM template?
a) Templating
b) Cloning
c) Snapshotting
d) Replicating

A

b) Cloning - Cloning involves creating multiple instances of a virtual machine template to deploy multiple identical VMs.

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

What is the process of adding storage resources to a running virtual machine without disrupting its operation called?
a) Live migration
b) Storage hot-add
c) Dynamic resource allocation
d) Virtual resource pooling

A

b) Storage hot-add - Storage hot-add allows administrators to add storage resources to a running virtual machine without downtime.

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

Which of the following is not a Type 1 hypervisor?
a) KVM
b) Microsoft Hyper-V
c) VMware ESXi
d) Oracle VirtualBox

A

d) Oracle VirtualBox - Oracle VirtualBox is a Type 2 hypervisor, whereas VMware ESXi, Microsoft Hyper-V, and KVM are Type 1 hypervisors.

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

When deploying a virtual machine, which of the following hypervisors provides full virtualization capabilities?
a) Microsoft Hyper-V
b) Docker
c) VMware ESXi
d) KVM

A

c) VMware ESXi - VMware ESXi is a type 1 hypervisor that provides full virtualization capabilities.

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

Which of the following container technologies uses a container format that is not compatible with the Docker image format?
a) Podman
b) LXC
c) Rkt
d) Docker

A

c) Rkt - Rkt uses a different container format than Docker, which is not compatible with the Docker image format.

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

When creating a virtual machine template, which of the following components should be included for efficient deployment?
a) Operating system
b) Device drivers
c) Installed applications
d) All of the above

A

d) All of the above - Including all these components would ensure that the virtual machine template is fully configured and ready for deployment.

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

Which Linux kernel feature is essential for container virtualization to provide isolated environments to run applications?
a) SELinux
b) cgroups
c) AppArmor
d) LXC

A

b) cgroups - Control groups (cgroups) are a kernel feature essential for container virtualization to manage and isolate resource usage.

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

Which container technology uses a ‘pod’ as the fundamental unit of deployment and manages multiple containers within each pod?
a) OpenShift
b) Kubernetes
c) Docker
d) LXC

A

b) Kubernetes - Kubernetes uses the concept of a ‘pod’ as the fundamental unit of deployment, allowing multiple containers to share resources and network in a single pod.

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

Which tool facilitates the automated deployment and provisioning of virtual machines, containers, and physical servers?
a) SaltStack
b) Chef
c) Ansible
d) Puppet

A

c) Ansible - Ansible facilitates the automated deployment and provisioning of virtual machines, containers, and physical servers.

26
Q

What is the process of assigning physical NICs to a particular virtual machine in VMware vSphere called?
a) NIC passthrough
b) NIC allocation
c) NIC pooling
d) NIC bridging

A

a) NIC passthrough - The process of assigning physical NICs to a particular virtual machine in VMware vSphere is called NIC passthrough.

27
Q

What is the purpose of a Dockerfile in containerization?
a) To create container volumes
b) To store container runtime settings
c) To define the container image
d) To manage container networking

A

c) To define the container image - A Dockerfile is used to define the contents and configuration of a container image.

28
Q

What is the purpose of container virtualization platforms such as Docker and Podman?
a) To run and manage containers
b) To manage virtual machines
c) To run virtual networks
d) To provide hypervisor-level isolation

A

a) To run and manage containers - Container virtualization platforms like Docker and Podman are used to run and manage containers on a host system.

29
Q

In virtualization, what is the purpose of a snapshot?
a) To return a VM to a previous state
b) To create a compressed backup of a VM
c) To take a screenshot of the VM’s display
d) To create a new VM from an existing one

A

a) To return a VM to a previous state - In virtualization, a snapshot allows a VM to be returned to a previous state if necessary.

30
Q

What is the purpose of a container network interface (CNI) in container virtualization?
a) To manage container networking
b) To monitor container resource usage
c) To provide container security
d) To create and manage container images

A

a) To manage container networking - A container network interface (CNI) is used to manage container networking, including configuring and handling network connections for containers.

31
Q

Which type of deployment model involves the use of pre-configured virtual appliances for quickly deploying VMs?
a) VaaS (Virtualization as a Service)
b) SaaS (Software as a Service)
c) IaaS (Infrastructure as a Service)
d) PaaS (Platform as a Service)

A

a) VaaS (Virtualization as a Service) - VaaS involves the use of pre-configured virtual appliances for quickly deploying VMs.

32
Q

What is a key benefit of using virtualization for testing and development?
a) Isolation of testing environments from production environments
b) Faster deployment of new testing environments
c) Reduced hardware costs
d) All of the above

A

d) All of the above - Using virtualization for testing and development offers reduced hardware costs, isolation of testing environments from production environments, and faster deployment of new testing environments.

33
Q

What is the primary function of a container runtime?
a) Managing container images
b) Running and managing containers
c) Managing virtual machines
d) Networking configuration for containers

A

b) Running and managing containers - A container runtime is responsible for running and managing containers on a host system.

34
Q

Which command-line tool is commonly used for provisioning and managing virtual machines in a Linux environment?
a) virsh
b) Vagrant
c) docker
d) Xen

A

a) virsh - The ‘virsh’ command-line tool is commonly used for provisioning and managing virtual machines in a Linux environment.

35
Q

What is the purpose of a container orchestrator in container virtualization?
a) To configure container networking
b) To monitor container performance
c) To create and manage container images
d) To manage and scale containerized applications

A

d) To manage and scale containerized applications - A container orchestrator is used to automate the deployment, scaling, and management of containerized applications across a cluster of hosts.

36
Q

How does container virtualization help improve application portability and consistency across different environments?
a) By emulating different hardware architectures
b) By providing seamless integration with bare-metal servers
c) By minimizing dependencies on specific host operating systems
d) By offering hypervisor-level isolation for security

A

c) By minimizing dependencies on specific host operating systems - Container virtualization minimizes dependencies on specific host operating systems, improving application portability and consistency across different environments.

37
Q

What is the term used to describe the VM state when it has been stopped and no longer consumes resources in a virtualized environment?
a) Halted
b) Suspended
c) Powered off
d) Stopped

A

c) Powered off - The term ‘powered off’ is used to describe the VM state when it has been stopped and no longer consumes resources in a virtualized environment.

38
Q

Which of the following options are part of the VM provisioning process?
a) Resource allocation
b) Virtual network configuration
c) Operating system installation
d) All of the above

A

d) All of the above - All of the options listed are part of the VM provisioning process.

39
Q

What is the primary benefit of full virtualization compared to running applications directly on physical hardware?
a) Greater flexibility and agility
b) Improved security and isolation
c) More efficient resource utilization
d) Better performance

A

a) Greater flexibility and agility - The primary benefit of full virtualization compared to running applications directly on physical hardware is greater flexibility and agility.

40
Q

What is the name of the hypervisor technology developed by VMware that allows multiple virtual machines to run on a single physical host at the same time?
a) KVM
b) VMware vSphere
c) Xen
d) Hyper-V

A

b) VMware vSphere - VMware vSphere is a popular hypervisor technology that enables virtualization of multiple machines on a single physical host.

41
Q

What is the purpose of the VMware Tools software in a virtual machine?
a) It provides drivers and utilities to enhance VM performance and management
b) It allows the VM to run on any hypervisor platform
c) It enables secure remote access to the VM
d) It provides a user interface for configuring networking in the VM

A

a) It provides drivers and utilities to enhance VM performance and management - VMware Tools provides drivers and utilities to enhance VM performance and management.

42
Q

Which protocol is commonly used for automating the deployment of virtual machines in a networked environment?
a) SNMP (Simple Network Management Protocol)
b) SSH (Secure Shell)
c) RDP (Remote Desktop Protocol)
d) PXE (Preboot Execution Environment)

A

d) PXE (Preboot Execution Environment) - PXE is commonly used for automating the deployment of virtual machines in a networked environment.

43
Q

Which feature allows for automatic scaling of VM resources based on workload demands?
a) VM snapshots
b) Static resource allocation
c) VM power management
d) Dynamic resource allocation

A

d) Dynamic resource allocation - Dynamic resource allocation allows for automatic scaling of VM resources based on workload demands.

44
Q

Which of the following is true regarding memory overcommitment in virtualization?
a) It can lead to performance issues if not carefully managed
b) It is a feature only available in Type 2 hypervisors
c) It is a feature that allows a physical host to have less physical memory than the combined memory of its virtual machines
d) It is not supported by any hypervisor

A

a) It can lead to performance issues if not carefully managed - Memory overcommitment in virtualization can lead to performance issues if not carefully managed.

45
Q

What is the hypervisor type used by the KVM virtualization platform?
a) Type 4
b) Type 3
c) Type 2
d) Type 1

A

d) Type 1 - KVM uses a Type 1 hypervisor, which runs directly on the host’s hardware.

46
Q

Which container runtime is commonly used as the default in a Kubernetes environment?
a) Docker
b) rkt
c) Podman
d) Containerd

A

d) Containerd - Containerd is commonly used as the default container runtime in a Kubernetes environment.

47
Q

In container virtualization, what is the purpose of a container image registry?
a) To run and manage containers
b) To monitor container resource usage
c) To store and distribute container images
d) To manage container networking

A

c) To store and distribute container images - A container image registry is used to store and distribute container images across a container platform or environment.

48
Q

Which container technology provides an additional layer of isolation by running a completely independent Linux server on a single physical server?
a) Kubernetes pods
b) Rkt containers
c) Docker containers
d) LXD containers

A

d) LXD containers - LXD containers provide system container technology, offering a lightweight virtualization solution with added security and isolation.

49
Q

In VM deployment, which method is used to ensure that the deployed VMs are identical to the source VM?
a) Migration
b) Cloning
c) Virtualization
d) Snapshot

A

b) Cloning - Cloning is used to ensure that the deployed VMs are identical to the source VM.

50
Q

Which technology allows the automatic allocation of computing resources to virtual machines based on their specific needs?
a) Virtual CPU scheduling
b) Elastic scaling
c) Dynamic resource management
d) Load balancing

A

c) Dynamic resource management - Dynamic resource management enables automatic allocation of resources based on the needs of virtual machines deployed.

51
Q

What is the maximum number of virtual CPUs that can be assigned to a single guest VM in VMware vSphere 7?
a) 32
b) 16
c) 128
d) 64

A

d) 64 - In VMware vSphere 7, a single guest VM can be assigned up to 64 virtual CPUs.

52
Q

Which of the following is a feature of paravirtualization hypervisors?
a) They require hardware support for virtualization (VT-x or AMD-V)
b) They offer better isolation between virtual machines
c) They do not support running multiple operating systems simultaneously
d) They require modification of the guest operating system

A

d) They require modification of the guest operating. system - Paravirtualization hypervisors require modification of the guest operating system to achieve better performance.

53
Q

What is a common tool used for VM deployment and provisioning in a Linux environment?
a) Vagrant
b) Ansible
c) Kubernetes
d) Docker

A

a) Vagrant - Vagrant is commonly used for VM deployment and provisioning in a Linux environment.

54
Q

When provisioning a virtual machine, which of the following methods allows for creating identical VMs from a single golden image?
a) Manual installation
b) Containerization
c) Cloning
d) Scripted installation

A

c) Cloning - Cloning allows for creating identical VMs from a single golden image.

55
Q

What is the purpose of a virtual switch in a virtualized environment?
a) It isolates virtual machines from the rest of the network
b) It provides routing between physical and virtual networks
c) It allows multiple virtual machines to communicate with each other
d) It manages the storage of virtual machine images

A

c) It allows multiple virtual machines to communicate with each other within a virtualized environment.

56
Q

What is a template that includes a preconfigured set of operating system settings and applications, used to deploy VMs?
a) Cloning
b) Golden image
c) Snapshot
d) Hypervisor

A

b) Golden image - A golden image is a template used to deploy VMs that includes preconfigured operating system settings and applications.

57
Q

Which command is used to create a new Docker container?
a) docker create
b) docker pull
c) docker build
d) docker run

A

d) docker run - The ‘docker run’ command is used to create and start a new Docker container based on an image.

58
Q

Which tool or technology is commonly used for VM image management and provisioning in a cloud environment?
a) Vagrant
b) OpenStack
c) Terraform
d) Ansible

A

b) OpenStack - OpenStack is commonly used for VM image management and provisioning in a cloud environment.

59
Q

In VM provisioning, which tool is used to define and manage multi-machine virtual environments?
a) Terraform
b) Docker
c) Vagrant
d) Ansible

A

c) Vagrant - Vagrant is used to define and manage multi-machine virtual environments in VM provisioning.

60
Q

In container virtualization, what is the role of a container orchestration platform such as OpenShift?
a) To isolate and secure container environments
b) To monitor and troubleshoot container performance
c) To manage and scale containerized applications
d) To manage container image repositories

A

c) To manage and scale containerized applications - A container orchestration platform like OpenShift is used to manage and scale containerized applications across a cluster of hosts.