IT Questions and Answers :)

Tuesday, November 3, 2020

In the C# Programming Language, how would you write a "Line" of text to the Console?

In the C# Programming Language, how would you write a "Line" of text to the Console?

Share:

Monday, November 2, 2020

In general, how does the host system store a virtual machine when it is not running?

In general, how does the host system store a virtual machine when it is not running?

  • Host system virtual disk files
  • Virtual Memory on the host system
  • Firmware in the virtual machine
  • Optical disc on the host system 

 

In general, how does the host system store a virtual machine when it is not running?

EXPLANATION

Virtual machines are stored as files inside the host machine.   

These are the files that make up a VM

VMX file – Configuration

VMXF file – Supplementational Configuration

VMDK Files – Disk related files, includes VMDK, -delta.vmdk, -rdm.vmds

VSWP File – Memory overflow (SWAP) file

VMSD File – Snapshot details

VMSS File – Memory contents of suspended VMVMSN File – Snapshot Files

NVRAM File – BIOS file

Log files

SOURCE

http://www.on-cloud9.com/2012/01/16/virtual_machine_files_explained/

 

 
 
Share:

Friday, October 30, 2020

In Linux system, what the purpose of "lost+found" directory?

In Linux system, what the purpose of "lost+found" directory?

  • Folder for files that have not been closed properly, due to many reasons
  • Special folder for old system logs
  • Special folder for music
  • Folder for deleted system users 


 EXPLANATION

The lost+found folder is a part of Linux, macOS, and other UNIX-like operating systems. Each file system—that is, each partition—has its own lost+found directory. You’ll find recovered bits of corrupted files here...

SOURCE

https://www.howtogeek.com/282374/what-is-the-lostfound-folder-on-linux-and-macos/

 

Share:

Thursday, October 29, 2020

Which of the following features was NOT introduced in Windows Server 2016?

Which of the following features was NOT introduced in Windows Server 2016?

  • Nano Server
  • Docker Containers
  • Hyper-V Virtual Switch
  • Storage Replica
Which of the following features was NOT introduced in Windows Server 2016?

EXPLANATION

Docker Containers, Nano Server, and Storage Replica are all new features introduced in Windows Server 2016. Hyper-V Virtual Switch was introduced in Windows Server 2012.

SOURCE

https://blogs.technet.microsoft.com/wsnetdoc/2013/07/25/new-features-in-hyper-v-virtual-switch/
 
Share:

Tuesday, October 27, 2020

Which of following is NOT a valid HTTP Status response recognized by most browsers?

Which of following is NOT a valid HTTP Status response recognized by most browsers?

  • 429 Too Many Requests
  • 437 UDP sequence mismatch
  • 410 Gone
  • 418 I am a Teapot 

 

Which of following is NOT a valid HTTP Status response recognized by most browsers?

EXPLANATION

410, 418, and 429 are supported in all the major browsers. 

437 is made up from whole cloth... UDP isn't in the same protocol layer as HTTP, and even if it does it doesn't have sequences.

(Question grew out of my love of the 418 status code!  Yeah, it is an easily google-able question.)

SOURCE

https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
Share:

Friday, October 23, 2020

When using the esxtop command on an ESXi host, which keyboard button is used to forcefully stop, or kill, a running VM?

When using the esxtop command on an ESXi host, which keyboard button is used to forcefully stop, or kill, a running VM?

  • s
  • d
  • t

 

When using the esxtop command on an ESXi host, which keyboard button is used to forcefully stop, or kill, a running VM?

EXPLANATION

Pressing 'k' while in the VM view of esxtop will prompt you for the offending VM's WorldID number, which can be found in table below. 
 

The following procedure can be used to kill a VM (The bold text are the commands to enter):

  • esxtop
  • Press c for the CPU resource screen
  • Press shift + V to display VMs only
  • Press f to change the display fields 
  • Press c to select the LWID (Leader World Id) and press enter
  • Identify the VM by it’s LWID
  • Press k
  • Enter the LWID of the VM to kill and press enter
  • Wait for 30 seconds and validate that the VM is no longer listed
 
Share:

Tuesday, October 20, 2020

In Windows, what is the keyboard command you use to close an active application or shutdown Windows?

In Windows, what is the keyboard command you use to close an active application or shutdown Windows?

  • Ctrl+Esc
  • Window + L
  • Alt +F4
  • Ctrl+Alt+Del 

 

In Windows, what is the keyboard command you use to close an active application or shutdown Windows?

EXPLANATION

 

CommandShortcutExplanation
Cut Ctrl+X Copies and removes an item or text; used with Paste
Copy Ctrl+C Copies an item or text; used with Paste
Paste Ctrl+V Inserts the last cut or copied item or text
Select All Ctrl+A Selects all text or items
Undo Ctrl+Z Undoes the last action
Redo Ctrl+Y Redoes the last thing undone
Troubleshoot/Force Quit Ctrl+Alt+Delete Opens Task Manager (see note)
Close window Alt+F4 Closes window; shuts down computer if all windows are closed
New Ctrl+N Opens a new window, tab, or document
Open Ctrl+O Opens a file or document
Save Ctrl+S Saves a file
Find Ctrl+FOpens search tools; in most programs, opens a search box to find specific words on a page
Share:

Popular Posts