IT Questions and Answers :)

Friday, August 2, 2019

Which of the programming languages listed is not C based?

Which of the programming languages listed is not C based?

  • Squirrel
  • COBOL
  • Java
  • Python 
Which of the programming languages listed is not C based?

EXPLANATION

COBOL is a compiled English-like computer programming language designed for business use. It is imperative, procedural and, since 2002, object-oriented. COBOL is primarily used in business, finance, and administrative systems for companies and governments.

List of C-family programming languages

https://en.wikipedia.org/wiki/List_of_C-family_programming_languages


Share:

What is Layer 3 of the OSI Model?

What is Layer 3 of the OSI Model?

  • Application
  • Network
  • Session
  • Transport 
What is Layer 3 of the OSI Model?

EXPLANATION

 Layers of OSI Model
  • Physical Layer (Layer 1)
  • Data Link Layer (DLL) (Layer 2)
  • Network Layer (Layer 3)
  • Transport Layer (Layer 4)
  • Session Layer (Layer 5)
  • Presentation Layer (Layer 6)
  • Application Layer (Layer 7)

 

Share:

Which is a class B IP address?

Which is a class B IP address?

  • 128.XXX.XXX.XXX
  • 27.XXX.XXX.XXX
  • 223.XXX.XXX.XXX
  • 102.XXX.XXX.XXX 


EXPLANATION

IP address classes

With an IPv4 IP address, there are five classes of available IP ranges: Class A, Class B, Class C, Class D and Class E, while only A, B, and C are commonly used. Each class allows for a range of valid IP addresses, shown in the following table.
Class Address range Supports
Class A1.0.0.1 to 126.255.255.254Supports 16 million hosts on each of 127 networks.
Class B128.1.0.1 to 191.255.255.254Supports 65,000 hosts on each of 16,000 networks.
Class C192.0.1.1 to 223.255.254.254Supports 254 hosts on each of 2 million networks.
Class D224.0.0.0 to 239.255.255.255Reserved for multicast groups.
Class E240.0.0.0 to 254.255.255.254 Reserved for future use, or research and development purposes.
Ranges 127.x.x.x are reserved for the loopback or localhost, for example, 127.0.0.1 is the loopback address. Range 255.255.255.255 broadcasts to all hosts on the local network.

 

Share:

Is NTFRS required for LDAP to function on Windows Server 2003?

Is NTFRS required for LDAP to function on Windows Server 2003?

  • No
  • Yes
  • No, DFS is used by default and NTFRS is depreciate
  • Both NTFRS and DFS is needed for LDAP to function 

EXPLANATION

File Replication Service (FRS) is a Microsoft Windows Server service for distributing shared files and Group Policy Objects. It replaced the (Windows NT) Lan Manager Replication service,[1] and has been partially replaced by Distributed File System Replication. It is also known as NTFRS after the name of the executable file that runs the service.
One of the main uses of FRS is for the SYSVOL directory share. The SYSVOL directory share is particularly important in a Microsoft network as it is used to distribute files supporting Group Policy and scripts to client computers on the network. Since Group Policies and scripts are run each time a user logs on to the system, it is important to have reliability. Having multiple copies of the SYSVOL directory increases the resilience and spreads the workload for this essential service.
The SYSVOL directory can be accessed by using a network share to any server that has a copy of the SYSVOL directory (normally a Domain Controller) as shown below:
  \\server\SYSVOL
Or by accessing it using the domain name:
  \\domain.com\SYSVOL
Servers that work together to provide this service are called Replication Partners.
To control file replication:
  1. Use the Active Directory Sites and Services from Administrative Tools.
  2. Select the Sites container to view a list of sites.
  3. Expand the site that to be viewed. This will provide the list of servers in that site.
  4. Expand the server to be viewed, right click the NTDS settings, and select Properties.
  5. Under the Connections tab, the list of servers that are being replicated can be seen.

 


Share:

Thursday, August 1, 2019

With Cisco phones and switches, what is the proper way to set up the switch to allow a PC and phone at the same time, so that both the PC and phone work?

With Cisco phones and switches, what is the proper way to set up the switch to allow a PC and phone at the same time, so that both the PC and phone work?

  • switchport access vlan #, switchport voice vlan #
  • switchport access voice vlan #
  • This is not possible
  • Use the HTTP webUI to configure the switches 
With Cisco phones and switches, what is the proper way to set up the switch to allow a PC and phone at the same time, so that both the PC and phone work?

EXPLANATION

Switchport mode access
switchport access vlan (data)
switchport voice (voice vlan)
spanning-tree portfast

CDP will figure out if it is a phone or not and allow clients plugged in behind the phone (through the phone) to use the data vlan


The switch uses CDP to identify the other device as a ip phone and will automatically place that traffic on the voice vlan.  If this is not a Cisco phone you will have hardcode the phone to tag its traffic as vlan x.
Share:

Popular Posts