What is the impact of using Lambda expressions on Java's Garbage Collection?

  • Lambda-generated objects are never collected by Garbage Collection.
  • Lambda-generated objects may lead to more frequent Garbage Collection.
  • Lambdas are directly managed by Garbage Collection.
  • Lambdas have no impact on Garbage Collection.
Lambda expressions in Java can generate additional objects, known as "captured variables" or "closure instances." These objects may lead to more frequent Garbage Collection, as they are subject to memory management. However, Java's Garbage Collection system is designed to efficiently handle short-lived objects, so the impact is often minimal. Understanding this impact is essential for optimizing memory usage in applications that heavily use Lambdas.

How many else if blocks can be used after an if block?

  • As many as needed
  • Maximum of three
  • None
  • Only one
You can use as many else if blocks as needed after an if block. The else if statement allows you to add additional conditions to check when the initial if condition is false. This flexibility enables you to handle various cases in your code, making it more versatile.

The encapsulation of various network layer protocols within IP is a fundamental feature of _______ tunnels.

  • PPTP
  • L2TP
  • GRE
  • SSL/TLS
The encapsulation of various network layer protocols within IP is a fundamental feature of GRE tunnels.

What type of cabling is recommended for a network that requires a bandwidth of up to 10 Gbps over a distance of 100 meters?

  • Coaxial
  • Ethernet
  • Fiber Optic
  • Twisted Pair
Twisted pair cabling, especially Cat6 or Cat6a, is recommended for a network that requires a bandwidth of up to 10 Gbps over a distance of 100 meters.

How does route summarization affect the size of the routing table in a network?

  • Decreases the size by removing unnecessary routes
  • Has no impact on the size of the routing table
  • Increases the size by adding more specific routes
  • Reduces the size by aggregating multiple routes into a single summary route
Route summarization reduces the size of the routing table by aggregating multiple routes into a single summary route, which helps in efficient routing table management.

For automated network deployment and testing, the use of _______ tools can significantly reduce manual intervention and human errors.

  • Monitoring
  • Orchestration
  • Configuration Management
  • DevOps
The use of configuration management tools can significantly reduce manual intervention and human errors in automated network deployment and testing.

In a network using VLSM, how is the subnet size determined for different network segments?

  • Subnet size is determined by the geographical location of each segment
  • Subnet size is determined by the number of hosts in each segment
  • Subnet size is determined by the specific requirements of each segment
  • Subnet size is fixed and the same for all segments
In VLSM, the subnet size is determined based on the specific requirements of each network segment, allowing for flexibility in addressing.

In IPSec, what is the role of the IKE (Internet Key Exchange) protocol?

  • IKE negotiates and establishes security associations (SAs) between devices.
  • IKE encrypts user data for secure transmission.
  • IKE authenticates users during the VPN connection setup.
  • IKE is responsible for routing decisions in IPSec networks.
In IPSec, the IKE protocol negotiates and establishes security associations (SAs) between devices, ensuring secure communication.

________ is a QoS technique that prioritizes packets based on their sensitivity to delay.

  • Traffic Shaping
  • Packet Sniffing
  • Traffic Policing
  • Low Latency Queuing
Low Latency Queuing is a QoS technique that prioritizes packets based on their sensitivity to delay.

How do modern routers differ from traditional routers in terms of functionality and network management?

  • Application Layer Gateway (ALG)
  • Dynamic Routing Protocols
  • Network Address Translation (NAT)
  • Packet Filtering
Modern routers employ dynamic routing protocols, enhancing network management and adaptability compared to traditional routers.