[{"id":"comptian10009-101","courseId":"comptia-n10-009","domain":"networking-concepts","topic":"OSI data link layer","prompt":"A switch learns which port each device is on and forwards Ethernet frames using destination MAC addresses. At which OSI layer does this forwarding decision operate?","hint":"Think about which layer's addressing is physical and local to one segment.","explain":"The OSI model stacks functions by layer. Raw signalling moves bits on a wire, while higher layers add addressing. Compare addresses that are local to one segment with addresses that reach across networks.","source":"https://www.comptia.org/en-us/certifications/network/","interaction":{"type":"single"},"options":[{"id":"a","text":"Layer 1, physical","whyNot":"The physical layer carries raw bits and signalling; it does not read MAC addresses."},{"id":"b","text":"Layer 3, network","whyNot":"Layer 3 forwarding uses IP addresses; a traditional switch does not look at them."},{"id":"c","text":"Layer 2, data link","why":"Switches forward frames using MAC addresses, which are layer 2 addresses."},{"id":"d","text":"Layer 4, transport","whyNot":"The transport layer deals with ports and end-to-end delivery, not frame forwarding."}],"answer":"c","explanation":"A traditional switch operates at the data link layer, forwarding frames by destination MAC address.","concept":"A traditional switch operates at the data link layer, forwarding frames by destination MAC address.","rev":1,"kind":"scenario","takeaways":["Switches forward frames by MAC address at Layer 2."]},{"id":"comptian10009-102","courseId":"comptia-n10-009","domain":"networking-concepts","topic":"Cloud elasticity","prompt":"A ticketing site runs four web VMs most days, but traffic jumps tenfold during on-sale events. The team wants the cloud platform to add VMs automatically when demand rises and remove them again when it falls, so they pay only for what they use. Which cloud characteristic does this describe?","hint":"Focus on capacity that follows demand in both directions without anyone intervening.","explain":"Cloud capacity planning separates how much load a system can absorb from how capacity changes over time. Consider what happens to running servers and billing when traffic falls after a spike.","source":"https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-overview","interaction":{"type":"single"},"options":[{"id":"a","text":"Scalability","whyNot":"Scalability is the ability to handle growth by adding resources, but it does not imply automatic shrinking when demand drops, which this scenario stresses."},{"id":"b","text":"Elasticity","why":"Elasticity is the automatic addition and removal of resources as demand changes, which is what autoscale rules for VMs provide."},{"id":"c","text":"Multitenancy","whyNot":"Multitenancy means several customers share the same underlying infrastructure with logical isolation; it says nothing about adding or removing capacity."},{"id":"d","text":"Hybrid cloud","whyNot":"A hybrid cloud links on-premises and public cloud environments; it does not by itself grow or shrink capacity as demand moves."}],"answer":"b","explanation":"Elasticity lets a cloud environment automatically add and remove resources to match demand, while scalability is the broader ability to grow to handle more load.","concept":"Elasticity lets a cloud environment automatically add and remove resources to match demand, while scalability is the broader ability to grow to handle more load.","rev":1,"kind":"scenario","takeaways":["Elastic = adjusts automatically both up and down; scalable = can grow."]},{"id":"comptian10009-103","courseId":"comptia-n10-009","domain":"networking-concepts","topic":"OSI network layer functions","prompt":"A technician is reviewing router behavior. Which TWO functions occur at the OSI network layer? Choose two.","hint":"Logical addressing and moving traffic between different subnets belong to this layer.","explain":"Each header serves one layer. Ethernet addresses matter only on one link, port numbers name applications, and the IP header holds logical addresses and a time-to-live field.","source":"https://www.rfc-editor.org/rfc/rfc792","interaction":{"type":"multiple","tellCount":true},"options":[{"id":"a","text":"Associating a source MAC address with each frame on a link","whyNot":"Source and destination MAC addresses are carried in the Ethernet header, so framing on a link is a data link layer (layer 2) function."},{"id":"b","text":"Mapping destination port numbers to listening applications","whyNot":"Port numbers identify applications in TCP and UDP headers, so mapping them to listening services is a transport layer (layer 4) function."},{"id":"c","text":"Forwarding packets between subnets based on the destination IP address","why":"Routers choose the next hop by looking up the destination IP address, which is the core network layer (layer 3) function."},{"id":"d","text":"Decrementing the TTL value as each packet crosses a router","why":"TTL is an IP header field that routers reduce at each hop; at zero the packet is discarded and ICMP Time Exceeded may be sent."}],"answer":"cd","explanation":"Routers work at the network layer: they forward packets by IP address and decrement TTL at each hop.","concept":"Routers work at the network layer: they forward packets by IP address and decrement TTL at each hop.","rev":1,"kind":"scenario","takeaways":["Routers read IP addresses at Layer 3 and lower TTL by one per hop."]},{"id":"comptian10009-104","courseId":"comptia-n10-009","domain":"networking-concepts","topic":"Intrusion prevention","prompt":"A company wants a device placed inline that can automatically drop packets matching known exploit signatures before they reach the web servers. Which appliance BEST meets this requirement?","hint":"The device must act on traffic, not only report it.","explain":"Security appliances differ in where they sit relative to traffic. Some only observe packets, while others are placed directly in the forwarding path. Consider what each placement allows.","source":"https://learn.microsoft.com/en-us/azure/firewall/premium-features","interaction":{"type":"single"},"options":[{"id":"a","text":"Intrusion prevention system","why":"An IPS sits inline and can block or drop malicious traffic in real time."},{"id":"b","text":"Intrusion detection system","whyNot":"An IDS typically monitors a copy of traffic and alerts; it does not sit inline to drop packets."},{"id":"c","text":"Layer 2 switch","whyNot":"A switch forwards frames by MAC address and has no signature-based inspection."},{"id":"d","text":"Load balancer","whyNot":"A load balancer distributes requests across servers; it is not a signature-based blocking device."}],"answer":"a","explanation":"An IPS is deployed inline and prevents attacks by dropping or blocking matching traffic, whereas an IDS detects and alerts.","concept":"An IPS is deployed inline and prevents attacks by dropping or blocking matching traffic, whereas an IDS detects and alerts.","rev":1,"kind":"scenario","takeaways":["IPS blocks in-line; IDS only alerts."]},{"id":"comptian10009-105","courseId":"comptia-n10-009","domain":"networking-concepts","topic":"Load balancers","prompt":"An e-commerce site runs three identical web servers. The administrator needs one virtual IP address that spreads client requests across them and stops sending traffic to any server that fails a health check. Which device is BEST suited?","hint":"One address in front, several identical servers behind.","explain":"Several servers can share one address when a device sits in front and chooses among them. Consider which listed device is built to front a pool of identical servers.","source":"https://learn.microsoft.com/en-us/azure/load-balancer/load-balancer-overview","interaction":{"type":"single"},"options":[{"id":"a","text":"Load balancer","why":"A load balancer presents a virtual IP, distributes requests and removes unhealthy members using health checks."},{"id":"b","text":"Forward proxy","whyNot":"A forward proxy handles outbound client requests; it does not front a server pool."},{"id":"c","text":"Network attached storage","whyNot":"NAS provides file-level storage and does not distribute web requests."},{"id":"d","text":"Wireless LAN controller","whyNot":"A wireless LAN controller centrally manages access points and their radios; it does not present a virtual IP for a pool of web servers."}],"answer":"a","explanation":"Load balancers distribute client requests across a pool of servers and use health checks to avoid failed members.","concept":"Load balancers distribute client requests across a pool of servers and use health checks to avoid failed members.","rev":1,"kind":"scenario","takeaways":["Load balancers spread requests and skip servers that fail health checks."]}]