28  LoRaWAN: Quiz Bank

Quiz mastery targets are easiest to plan with threshold math:

\[ C_{\text{target}} = \left\lceil 0.8 \times N_{\text{questions}} \right\rceil \]

Worked example: For a 15-question quiz, target correct answers are \(\lceil 0.8 \times 15 \rceil = 12\). If a learner moves from 8/15 to 12/15, score rises from 53.3% to 80%, crossing mastery with four additional correct answers.

In 60 Seconds

This quiz bank contains five focused assessments covering the full LoRaWAN stack: fundamentals and misconceptions, battery life calculations and power budgets, network scalability and collision analysis, activation security (OTAA vs ABP), and regional deployment configuration (EU868/US915). Work through them sequentially to validate your protocol knowledge before real-world deployment.

28.1 Learning Objectives

By the end of this quiz bank, you will be able to:

  • Calculate Battery Life: Compute device lifetime based on class, SF, and transmission patterns
  • Analyze Scalability: Evaluate duty cycle limits and gateway capacity constraints
  • Compare Device Classes: Distinguish Class A, B, and C based on latency and power requirements
  • Configure Deployments: Apply ADR settings, SFs, and payload sizes for specific scenarios
  • Assess Security Trade-offs: Critique OTAA vs ABP activation security implications
  • Diagnose Protocol Issues: Identify root causes of deployment failures through challenging scenario-based questions

Key Concepts

  • LoRaWAN Specification: Technical standard published by the LoRa Alliance defining MAC layer protocol, message formats, device classes, activation procedures, and regional parameters.
  • Uplink Message Types: LoRaWAN supports unconfirmed uplinks (fire-and-forget) and confirmed uplinks (requiring ACK from network server); confirmed uplinks use more airtime.
  • Downlink Latency: Time between uplink receipt and downlink delivery; Class A minimum latency is 1 second (RX1) or 2 seconds (RX2), Class B achieves scheduled latency, Class C is near-instant.
  • ADR Bit: Flag in LoRaWAN frame header indicating device supports ADR; network server only sends ADR commands when this bit is set.
  • Channel Utilization: Percentage of available channel airtime occupied by device transmissions; must respect duty cycle limits and should be designed for <10% utilization for headroom.
  • LoRaWAN Certification: LoRa Alliance certification program verifying device compliance with LoRaWAN specification; required for commercial deployments on certified networks.
  • Network Capacity: Maximum number of devices a LoRaWAN deployment can support, determined by channel count, gateway density, duty cycle limits, and spreading factor distribution.
Prerequisites

Before attempting this quiz bank, you should be familiar with:

What is this chapter? Comprehensive quiz questions covering LoRaWAN technology, split into focused topic areas.

Quiz Bank Structure:

Chapter Focus Area Questions
Fundamentals Quiz Prerequisites, misconceptions, class selection 2
Battery Optimization Quiz Battery life calculations, power budgets 2
Network Scalability Quiz Collision analysis, ADR, capacity 2
Activation & Security Quiz OTAA vs ABP, frame counters, MIC 2
Regional Deployment Quiz EU868, US915, channel configuration 2

Study Strategy:

  1. Complete LoRaWAN Overview first
  2. Review LoRaWAN Architecture
  3. Work through each quiz section in order
  4. Review explanations for missed questions

This quiz bank connects with multiple learning resources:

Interactive Practice:

  • Quizzes Hub - Access 50+ networking protocol quizzes organized by difficulty level
  • Simulations Hub - Try LoRaWAN Range Calculator (SF vs distance), ADR Optimizer (battery vs latency trade-offs), and Duty Cycle Planner (EU868 compliance)

Concept Reinforcement:

  • Knowledge Gaps Hub - Review “Why Class C devices drain batteries 100x faster than Class A” and “ADR vs Fixed SF: When optimization fails”
  • Videos Hub - Watch “LoRaWAN Deep Dive: From Physical Layer to Application Server” (45 min comprehensive tutorial)

Related Quiz Banks:

28.2 Quiz Bank Chapters

28.2.1 1. Fundamentals Quiz

Foundation concepts including common misconceptions and device class selection scenarios. Tests understanding of gateway deployment strategies, ADR optimization, and the “More Gateways = Better Performance” myth.

28.2.2 2. Battery Optimization Quiz

Battery life calculations for multi-year deployments. Covers Class A vs B vs C power consumption, spreading factor impact, and duty cycle compliance with detailed worked examples.

28.2.3 3. Network Scalability Quiz

Collision probability analysis and network capacity planning. Tests ADR benefits for dense deployments, channel utilization optimization, and the relationship between SF distribution and packet loss.

28.2.4 4. Activation & Security Quiz

OTAA vs ABP security trade-offs and frame counter management. Covers frame counter reset vulnerabilities, MIC validation failures, and replay attack prevention strategies.

28.2.5 5. Regional Deployment Quiz

Regional parameter configuration for global deployments. Tests EU868 vs US915 channel differences, sub-band selection, and troubleshooting international roaming issues.

28.2.6 Quick Concept Check

Before diving into the detailed quizzes, verify your understanding of the fundamental trade-offs that span all five quiz topics.

Prerequisites:

Deep Dives:

Comparisons:

Security:

Learning:

28.3 Summary

This quiz bank covers advanced LoRaWAN scenario-based questions across five focused chapters:

  • Fundamentals: Common misconceptions and device class selection trade-offs
  • Battery Optimization: Multi-year deployment calculations and power budgeting
  • Network Scalability: Collision analysis, ADR benefits, and capacity planning
  • Activation & Security: OTAA vs ABP vulnerabilities and frame counter management
  • Regional Deployment: EU868/US915 configuration and international roaming

28.4 Knowledge Check

Common Mistake: Confusing SF Capacity with Gateway Capacity

The Misconception: “My gateway can handle 10,000 devices, so I can deploy 10,000 sensors transmitting every 10 minutes.”

Why It’s Wrong: Gateway device capacity refers to unique DevAddr assignments. Actual throughput capacity depends on airtime and collision probability.

Real Numbers Example:

Scenario: 10,000 sensors, SF10, 20-byte payload, every 10 minutes

Airtime per message (SF10, 20 bytes): 289ms

Messages per hour:
- Per device: 6 (every 10 minutes)
- Total: 10,000 × 6 = 60,000 messages/hour

Aggregate airtime demand:
- 60,000 × 289ms = 17,340 seconds
- Per hour = 17,340s / 3600s = 4.8 hours of airtime

Gateway capacity (8 channels, 100% utilization):
- Theoretical: 8 channels × 1 hour = 8 hours
- Realistic (accounting for collisions): ~4 hours

Result: 4.8 hours demand vs 4 hours capacity = Overloaded!
Expected packet loss: 30-40%

Correct Calculation:

Gateway capacity formula:
Max messages/hour = (3600s × Channels × Utilization) / Airtime

For SF10, 20 bytes (289ms airtime), 8 channels, 50% utilization:
Max = (3600 × 8 × 0.5) / 0.289 = 49,826 messages/hour

With 10,000 devices sending 6/hour:
60,000 > 49,826 → Over capacity!

Solutions:
1. ADR optimization (reduce SF for closer devices)
2. Increase interval to 15 minutes (40,000 msg/hr)
3. Add 2nd gateway (double capacity)

Key Insight: “10,000 device capacity” is about addressing space, not throughput. Actual capacity depends on message frequency, spreading factor, and payload size. Always calculate airtime budget before deployment.

Common Pitfalls

Confirmed uplinks request an ACK from the network server but do not guarantee delivery. If the device is out of RX window timing or all gateways fail to deliver the ACK, the device retransmits up to the configured retry limit. Design applications for eventual consistency, not guaranteed delivery.

SF12 provides maximum range but reduces capacity significantly — each SF12 packet takes ~2.5 seconds on air vs. ~50ms at SF7. Deploying all devices at SF12 in a dense network causes collisions and duty cycle violations. Let ADR optimize spreading factors.

TTN behavior (best-effort, community gateways) differs from production network behavior. Test on the same network server and gateway infrastructure that will be used in production before declaring a deployment production-ready.

LoRaWAN operates on unlicensed ISM bands without QoS guarantees. RF interference, gateway overload, and duty cycle limits can all cause packet loss. Design applications to tolerate missing data points and use application-layer mechanisms for critical notifications.

28.5 What’s Next

Start with Fundamentals Quiz for foundation concepts, or jump directly to your area of interest:

Next Chapter Focus Area
Fundamentals Quiz Foundation concepts, misconceptions, and class selection scenarios
Sigfox Review Ultra-narrowband LPWAN technology as an alternative to LoRaWAN
LPWAN Comparison Side-by-side analysis of LoRaWAN, Sigfox, and NB-IoT trade-offs
6LoWPAN Review IPv6 adaptation for low-power wireless networks