Data science and big data technology -- cloud computing ● virtualization course final examination paper and brief answer

Posted by almightyegg on Sun, 16 Jan 2022 20:31:41 +0100

  comprehensive review of virtual cloud computing


  review question 1:


  I. multiple choice questions (3 points for each question, 48 points in total)

   1. (multiple choice) common types of virtualization are ABCD.
  (A) server virtualization
  (B) desktop virtualization
  (C) storage virtualization
  (D) network virtualization and Application Virtualization

   2. On the (multiple choice) x86 architecture, which of the following methods is the virtualization ABD for CPU privileged instructions?
  (A) CPU virtualization technology based on analog execution
  (B) operating system assisted CPU virtualization technology
  (C) hardware assisted CPU virtualization technology
  (D) software assisted CPU virtualization technology

   3. (multiple choice) what methods can be used to install the operating system in the virtual machine of ESXi platform ABCD?
  (A) ISO image file installation
  (B) template file installation
  (C) automatic network installation
  (D) U disk installation

   4, (multiple choice) which of the following components of Citrix XenServer series products?
  (A)XenDesktop
  (B)XenApp
  (C)XenCenter
  (D)XenServer

   5. (single choice) the core of XenServer architecture is A.
  (A)Xen Hypervisor
  (B)XenMotion
  (C)Domain0
  (D) Linux operating system core

   6. (multiple choice) the following options are suitable for describing the Type1 architecture.
  (A) the CPU of the server must support virtualization
  (B) HostOS is an important part of it
  (C) the performance of virtual machine operating system accessing hardware is greatly improved
  (D) the Hypervisor is the core, between the virtual machine and the hardware

   7. (multiple choice) ABC is the prerequisite for the system administrator to install KVM service on the server.
  (A) check whether the CPU supports virtual technology
  (B) enable Virtual Technolege support in BIOS
  (C) the Linux version is 64 bit
  (D) the Linux version is 32-bit

   8, (single choice) in Linux KVM__ A___ To manage clients?
  (A)virt-manager
  (B)vrit-manger
  (C)virtual shell
  (D)vmanager

   9, (single choice) what is docker virtualization technology D?
  (A) Docker is A virtual machine, A virtual machine
  (B) Docker is a heavyweight virtualization technology
  (C) Docker is a semi virtualization technology
  (D) Docker is an open source application container engine

   10. (single choice) what is Docker based on as an engine A?
  (A)LXC
  (B)Linux
  (C) virtual machine
  (D) container

   11. Interactive installation of esxi 6 by (multiple choice) administrator x. What are the installation methods?
  (A)DVD (B)USB (C)PXE (D)Scripted

   12. (multiple choice) the virtual machine cannot be started. Which of the following reasons may cause ABCD?
  (A) there is not enough disk space to open vswp
  (B) the virtual machine is not assigned a hard disk
  (C) host license expired
  (D) enable HA access control for cluster

   13, (multiple choice) which components are related to the information stored in the View Composer database ABD?
  (A)Active Directory Connections
  (B)Replicas created by the View Composer
  (C)Disposable data disk created by View Composer
  (D)Linked-clone desktops deployed by View Composer

   14. (single choice) in the linked clone desktop pool, view Composer specifies that the maximum number of linked clone virtual machines supported in each desktop pool is A?
  (A)512 (B)1024 (C)128 (D)256

   15, (multiple choice) which of the following problems can be solved by IPSec based VPN solution?
  (A) data source authentication
  (B) data confidentiality
  (C) automatic key management and security association management
  (D) enhance firewall security

   16. The common storage space unit mapped to the host in the (single selection) disk array is called A, which is A logical space created on the basis of RAID.
  (A) LUN (B) RAID (C) hard disk (D) disk array

   17. The basic three-tier architecture of (multiple choice) cloud computing is ACD.
  (A)Software as a Service (SaaS)
  (B)X as a Service (XaaS)
  (C)Infrastructure as a Service (IaaS)
  (D)Platform as a Service (PaaS)

   18, (multiple choice) which of the following IT infrastructure components are the key points of vSphere virtualization?
  (A)Networks
  (B)applications.
  (C)Storage
  (D)Management

  II. Short answer questions (6 points for each question, 12 points in total)

   1. During the process of creating virtual machine on ESXi host, there are three disk preparation options in the "create disk" step: "thick preparation delay zero", "thick preparation zero" and "Thin Provision". What are the differences between these preparation modes?

	Answer: (1) thick provision delay zeroing: allocate space at one time and format it when the space is used; 
	(2)Thick set zero: allocate space at one time and format it at the same time; 
	(3)Thin provisioning: reallocate and format space when it is used.

  2. What are the major technical advantages of the new virtual hard disk format VHDX over VHD?

	Answer: enhanced virtual hard disk format VHDX,support Native 4 KB Sector, compatible with the old version of 512 byte traditional sector and improved 512 byte e,
		Its advantage is that it supports 64 TB Virtual hard disk space. and VHD Maximum support 2 TB Virtual hard disk space,
		If the virtual hard disk needs more than 2 TB Larger space must be used VHDX Virtual hard disk format.

  III. operation questions (40 points in total)

	1,be based on CentOS6 install KVM Service.
	
	(1)In installation CenterOs When, select Install virtual host
	(2)If installed linux Not installed when KVM,Install first Openssh-Askpass software package,Add a virtual host component.
	(3)Installation is complete Linux,However, if no virtual host is selected, execute the following command to install the virtual host
	yum install kvm kmod-kvm qemu kvm-qemu-img virt-viewer virt-manager libvirt libvirt-python python-virtinst openssh-askpass

  (4) check whether kvm is installed in linux

		lsmod |grep kvm

  (5) if not installed, execute the following command

 Check that the firewall is off:    
  chkconfig iptables off  
  perhaps
  service  iptables stop
  
 Turn off the firewall:
  systemctl stop iptable
  
 open SELINUX configuration file 
 vi /etc/selinux/config   SELINUX=disabled
 
 to configure yum Install and modify the system version 
 cd /etc/yum.repos.d/ 
 mv CentOS-Base.repo CebtOS-Base.repo.bak
 vi CentOS-Base.repo
 
In the open configuration file, modify“ CentOS_6.5_Final"Part is the corresponding system version.
Save, exit, insert the disc, and execute the following command:
ls /media

If present CentOS_6.5_Final Indicates that the optical drive has been loaded automatically.
If not, it needs to be loaded manually.
mkdir –p /media/CentOS_6.5_Final
mount /dev/cdrom /media/CentOS_6.5_Final Mount the optical drive and load the mapping file

Open the network bridge profile:
vi /etc/sysconfig/network-scripts/ifcfg-br0

modify ip,Subnet mask, gateway, and DNS Wait.
Open network interface profile 
vi /etc/sysconfig/network-scripts/ifcfg-eth0   add to BRODGE=br0
 stay cmd of use ipconfig -all see mac address

Run the command to restart the network to make the configuration effective:
source /etc/sysconfig/network-scrips/ifcfg-eth0

Configure host name:  vi /etc/hosts   Add content local IP And host name

install FTP:   yum install -y vsftpd

Restart service  reboot

  2. Create virtual machine VM01.

	Click new to create a virtual machine, select the local installation media, and select use ISO image	
	Resize memory and virtual CPU quantity
	Enable storage for virtual machines
	Select network configuration (configured on the host network) bridge (provided)
	Modify the of the virtual machine UTC Time configuration to ensure time synchronization with the physical host when the virtual machine is restarted
	(virsh edit aischool_wy_77 Put the configuration file<clock offset='utc'>Change to
	<clock offset='localtime'>)

   3. Virtual machine VM01 opens 22 ports and allows remote connection.

   4. Add and delete KVM virtual machines through Bash command (virtual machine configuration file needs to be redefined).

   add to kvm
   virsh list –-all
   virsh shutdown CentOS6.5_78
   virsh list –-all
   virt-clone -o CentOS6.5_78 -n CentOS6.5_75 -f /var/lib/libvirt/images/ CentOS6.5_75.img
   virsh start CentOS6.5_75
   
	vi /etc/hosts
	vi /etc/sysconfig/network
	vi /etc/sysconfig/network-scripts/ifcfg-eth0
	vi /etc/udev/rules.d/70-persistent-net.rules
	
	service network restart 

	vi virsh autostart CentOS6.5_75

   delete kvm,Redefine virtual machine profile
   virsh undefine CentOS6.5
   mv /etc/libvirt/qemu/ CentOS6.5.xml.bak /etc/libvirt/qemu/CentOS6.5.xml
virsh  define /etc/libvirt/qemu/ CentOS6.5.xml

   5. KVM virtualization Windows operating system mouse is a little inflexible. Please solve the problem of Mouse Synchronization of KVM virtual machine.

   6. Complete the static migration of virtual machines through the command line.

   virsh list –-all
   virsh shutdown CentOS6.5_78
   virsh list –-all
   virsh dumpxml CentOS6.5_78 > /etc/libvirt/qemu/CentOS6.5_74.xml
   
   cp /var/lib/libvirt/images/CentOS6.5_78.img /var/lib/libvirt/iamges/ CentOS6.5_74.img
   vi /etc/libvirt/qemum/CentOS6.5_74.xml
   
	virsh define /etc/libvirt/qemu/ CentOS6.5_74.xml
	virsh start CentOS6.5_74
	
	vi /etc/hosts
	vi /etc/sysconfig/network
	vi /etc/sysconfig/network-scripts/ifcfg-eth0
	vi /etc/udev/rules.d/70-persistent-net.rules
	
	service network restart 
	
	vi virsh autostart CentOS6.5_74

Topics: Linux Operation & Maintenance Big Data Docker