IT Questions and Answers :)

Friday, August 21, 2020

Which of the following is not a backup category ?

Which of the following is not a backup category ?

  • Image backup
  • Half system backup
  • All of the mentioned
  • Full system backup 

 
Which of the following is not a backup category ?

EXPLANATION

An image backup creates a complete copy of a volume

SOURCE

http://www.sanfoundry.com/cloud-computing-questions-answers-cloud-backup-solutions/
Share:

Tuesday, August 18, 2020

In Windows 7 or greater, how do you run an application as a different user without switching the account?

In Windows 7 or greater, how do you run an application as a different user without switching the account?

  • Shift+RightClick
  • CTRL+LeftClick
  • CTRL+R
  • SHIFT+R 

 EXPLANATION

Right-clicking on a file or folder brings up a context-sensitive menu, but sometimes that menu doesn't show all your options. Hold down the Shift key when you right-click to find hidden but useful commands like running an application as a different user.

SOURCE

https://lifehacker.com/5804483/open-hidden-menu-options-with-the-shift-and-right-click-shortcut
Share:

Monday, August 17, 2020

PowerShell is built on which of the following?

PowerShell is built on which of the following?

  • Java
  • Bash
  • .NET
  • C++ 


EXPLANATION

PowerShell is built on top of .NET, and is capable of accessing and utilizing its built-in functionality directly.

Like C++ and Java, PowerShell uses a C-like syntax.
PowerShell borrows many concepts from the *NIX shell "bash", but it is not based on it.

SOURCE

Share:

Friday, August 14, 2020

In a basic client program, which of the following UNIX system calls is used to create an endpoint for communication with a server program in C?

In a basic client program, which of the following UNIX system calls is used to create an endpoint for communication with a server program in C?

  • socket()
  • connect()
  • fork()
  • bind() 

 

EXPLANATION

int sockfd;
sockfd = socket(AF_INET, SOCK_STREAM, 0);

SOURCE

http://man7.org/linux/man-pages/man2/socket.2.html
Share:

Wednesday, August 12, 2020

If i wanted to find the Windows 10 Spotlight Lock Screen Pictures... Where would you find them?

If i wanted to find the Windows 10 Spotlight Lock Screen Pictures... Where would you find them?

  • C:\Users\[USERNAME]\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager\LocalState\Asset
  • C:\Windows\Web\Screen
  • C:\Windows\Web\Wallpaper
  • C:\ProgramData\Microsoft\Windows\SystemData 

EXPLANATION

C:\Users\[USERNAME]\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager\LocalState\Asset is the correct answer... given 100 characters to work with. Since the backgrounds are downloaded, stored and overwritten.. they are stored here.
C:\ProgramData\Microsoft\Windows\SystemData is where the lock screen can be changed or overwritten, given permission.
C:\Windows\Web\Screen is the location of the windows prelogin screen background.
And C:\Windows\Web\Wallpaper is where default windows 7 wallpapers for your desktop are saved.

SOURCE

https://www.laptopmag.com/articles/find-windows-10-lock-screen-pictures
Share:

In a cluster, what VMware vSphere feature allows a virtual machine to run a replica of itself on a different host to allow for seamless fail-over in case of host failure?

In a cluster, what VMware vSphere feature allows a virtual machine to run a replica of itself on a different host to allow for seamless fail-over in case of host failure?

  • Distributed Resource Scheduler
  • Fault Tolerance
  • High Availability
  • vMotion 

 

EXPLANATION

With Fault Tolerance, a replica VM is created on a different host in the cluster to work in sync with the primary virtual machine on which Fault Tolerance is enabled. When host failure is detected,
the replica VM takes place of the primary virtual machine with no downtime. This differs from High Availability in that the virtual machine is typically restarted on to another host, requiring downtime.

SOURCE

https://pubs.vmware.com/vsphere-60/index.jsp?topic=%2Fcom.vmware.vsphere.avail.doc%2FGUID-623812E6-D253-4FBC-B3E1-6FBFDF82ED21.html
Share:

Friday, August 7, 2020

In linux, what command will output the 10 most recently created users?

In linux, what command will output the 10 most recently created users?

  • last /etc/users
  • tail /etc/passwd
  • head /etc/passwd
  • vim /etc/passwd 


EXPLANATION

The "tail" command outputs the last 10 lines of the file that it is passed.
Since Linux stores usernames in the order in which they were created in the file, /etc/passwd/, the command "tail /etc/passwd/" will return the 10 most recently created users

SOURCE

https://shapeshed.com/unix-tail/
Share:

Popular Posts