IT Questions and Answers :)

Tuesday, February 23, 2021

What are the IDs assigned to ports like USB, Ethernet, and video ports called?

 What are the IDs assigned to ports like USB, Ethernet, and video ports called?

  • MAC addresses
  • I/O addresses
  • Subnets
  • Nodes         

What are the IDs assigned to ports like USB, Ethernet, and video ports called?


EXPLANATION

Each I/O device connected to your computer is mapped to a unique I/O (Input/Output) address. These addresses are assigned to every I/O port on your computer, including USB, Firewire, Ethernet, VGA, and DVI ports, as well as any other ports your computer might have.

SOURCE

https://techterms.com/definition/ioaddress
      
Share:

Which of the following conditions occurs when two packets are transmitted over a medium at the same time?

Which of the following conditions occurs when two packets are transmitted over a medium at the same time?

  • Asynchronous
  • Collision
  • Synchronous
  • Contention     

Which of the following conditions occurs when two packets are transmitted over a medium at the same time?

EXPLANATION

In a network, when two or more stations attempt to transmit a packet across the network at the same time, a packet collision occurs. This is not uncommon in a shared medium such as an Ethernet that has many computers in the same network segment. When a packet collision occurs, the packets are either discarded or sent back to their originating stations and then re-transmitted in a timed sequence to avoid further collision. Packet collisions can result in the loss of packet integrity or can impede the performance of a network

SOURCE

Share:

Monday, February 22, 2021

Which of the following is a well-known text editor on Linux?

 Which of the following is a well-known text editor on Linux?

  • micro
  • hecto
  • femto
  • nano
Which of the following is a well-known text editor on Linux?

EXPLANATION

From Wikipedia: "nano is a text editor for Unix-like computing systems or operating environments using a command line interface. It emulates the Pico text editor, part of the Pine email client, and also provides additional functionality"


SOURCE

Share:

Friday, February 19, 2021

What part of a packet gets modified as part of a header manipulation attack?

 What part of a packet gets modified as part of a header manipulation attack?

  • Flags
  • Buffers
  • Signature definitions
  • Databases
What part of a packet gets modified as part of a header manipulation attack?

EXPLANATION

Flags = Correct

A header manipulation modifies flags and data in a packet and can launch a session hijacking attack.
Buffer overflow attacks can modify memory buffers.
SQL injection attacks can modify databases.
Antivirus software requires up-to-date signature definitions, but header manipulation does not modify these.

SOURCE

http://www.chegg.com/homework-help/create-http-header-http-headers-originate-web-browser-attack-chapter-3-problem-6hp-solution-9781305480858-exc
               
Share:

In Powershell, what does the command "(get-history)[-1].commandLine | clip" do?

 In Powershell, what does the command "(get-history)[-1].commandLine | clip" do?

  • Clears the entire command history in the current shell session.
  • Copies the entire command history in the current shell session to the clipboard.
  • Copies the last-issued command in the current shell session to the clipboard.
  • Clears the last-issued command in the command history in the current shell session.     
In Powershell, what does the command "(get-history)[-1].commandLine | clip" do?

EXPLANATION

Get-History - Get a list of the commands entered during the current session.  Returns a HistoryInfo object for each history item that it gets.

Powershell About Arrays - "Negative numbers count from the end of the array. For example, '-1' refers to the last element of the array."  

HistoryInfo.CommandLine Property - Returns the command line string that was issued for that command history item

clip -  Windows Vista included a tiny command line utility called clip. All it does is paste its stdin onto the clipboard.  (Not actually a Powershell command so can be used in Command Prompt as well.

SOURCE

Share:

Popular Posts