IT Questions and Answers :)

Monday, December 30, 2019

What response code shows that an Amazon ELB instance is healthy?

What response code shows that an Amazon ELB instance is healthy?

  • 404
  • 403
  • 500
  • 200 

EXPLANATION

A healthy EC2 instance is one that issues a response to a health check call with a 200 response code. Healthy machines are given a balanced portion of the traffic being directed through the ELB

Share:

CHAP stands for?

CHAP stands for?

  • Circuit Hardware authentication protocol
  • Circuit Handshake authentication protocol
  • Challenge Handshake authentication protocol
  • Challenge Hardware authentication protocol 

EXPLANATION

CHAP. Short for Challenge Handshake Authentication Protocol, a type of authentication in which the authentication agent (typically a network server) sends the client program a random value that is used only once and an ID value. Both the sender and peer share a predefined secret.

 



Share:

What Command in "Command Prompt" is used to check hard disk issues

What Command in "Command Prompt" is used to check hard disk issues

  • net stop wuauserv
  • chkdsk c:\
  • dir
  • sfc /scannow 
What Command in "Command Prompt" is used to check hard disk issues

EXPLANATION

Short for "check disk," the chkdsk command is a Command Prompt command used to check a specified disk and repair or recover data on the drive if necessary. Chkdsk also marks any damaged or malfunctioning sectors on the hard drive or disk as "bad" and recovers any information still intact.
 C:\WINDOWS\system32>chkdsk
The type of the file system is NTFS.

WARNING!  /F parameter not specified.
Running CHKDSK in read-only mode.

Stage 1: Examining basic file system structure ...
  450816 file records processed.
File verification completed.
  8733 large file records processed.
  0 bad file records processed.

Stage 2: Examining file name linkage ...
  650 reparse records processed.
Progress: 495796 of 585112 done; Stage: 84%; Total: 76%; ETA:   0:00:06 .
 


Share:

On an class C IPv4 network, which of these IPs is used for broadcast traffic

On an class C IPv4 network, which of these IPs is used for broadcast traffic

  • 192.168.0.254
  • 192.168.0.0
  • 192.168.0.1
  • 192.168.0.255

EXPLANATION


It is very similar to the network broadcast we just talked about but varies slightly in the sense that its IP broadcast is not set to 255.255.255.255 , but is set to the subnet broadcast address. For example, my home network is a Class C network : 192.168.0.0 with a subnetmask of 255.255.255.0 or, if you like to keep it simple, : 192.168.0.0/24.
This means that the available valid hosts for this network are from 192.168.0.1 to 192.168.0.254. In this Class C network, as in every other network, there are 2 addresses which I can't use. The first one is preserved to identify the network (192.168.0.0) and the second one for the subnet broadcast (192.168.0.255).
Share:

What command would you use in Linux to get the current system time?

What command would you use in Linux to get the current system time?

  • get-time
  • get-date
  • date
  • datetime 


EXPLANATION

date command is used to display the system date and time. date command is also used to set date and time of the system. By default the date command displays the date in the time zone on which unix/linux operating system is configured. You must be the super-user (root) to change the date and time.

Share:

Popular Posts