68  Edge Computing: 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.

Learning Objectives

After completing this quiz bank, you will be able to:

  • Calculate data reduction ratios for edge processing scenarios including downsampling and aggregation strategies
  • Evaluate power consumption trade-offs between deep sleep and active modes for battery-powered IoT deployments
  • Apply buffer management principles including FIFO queue behavior and aggregation window sizing
  • Analyze total cost of ownership for edge versus cloud processing architectures
  • Assess security whitelisting and fail-closed policies for industrial IoT gateway protection
In 60 Seconds

This quiz bank provides a comprehensive self-assessment of edge computing concepts, covering data reduction calculations, power optimization, buffer management, security whitelisting, and real-world deployment cost analysis. Use it to identify knowledge gaps and validate your understanding across all edge computing topics.

68.1 Overview

~5 min | Intermediate | P10.C09.U01

This quiz bank provides comprehensive assessment of edge computing concepts through calculation-intensive problems, architectural trade-off evaluations, and real-world deployment scenarios. The questions validate understanding across data reduction techniques, power optimization strategies, security implementations, and cost-benefit analyses.

What is this chapter? A comprehensive collection of quiz questions covering edge computing concepts for self-assessment.

When to use:

  • After completing edge computing chapters
  • For exam preparation
  • To identify knowledge gaps

Topics Covered:

Topic Key Concepts
Edge vs Cloud Latency, bandwidth, privacy trade-offs
Edge Patterns Filtering, aggregation, inference
Fog Computing Hierarchical processing
Data Acquisition Sampling, buffering, batching

How to Use Effectively:

  1. Try questions without looking at answers
  2. Note topics you struggle with
  3. Review corresponding chapters
  4. Re-attempt missed questions

Recommended Prerequisites:

68.2 Quiz Chapters

This quiz bank is organized into focused chapters for effective study:

68.2.1 Edge Computing Quiz: Fundamentals

Foundation concepts and scenarios that demonstrate the business case for edge computing: - Learning objectives and study approach - Edge processing vs cloud-only architecture comparison - Common misconception analysis: when edge computing saves money - ROI calculation frameworks and data volume comparisons

68.2.2 Edge Computing Quiz: Data Calculations

Calculation-intensive problems covering data reduction and transmission optimization: - Data reduction factor calculations (downsampling, aggregation) - Buffer management strategies and FIFO queue behavior - Bundling benefits for agricultural and industrial deployments - Non-IP device integration through gateway architecture

68.2.3 Edge Computing Quiz: Power and Optimization

Power management, quality assessment, and cost-benefit analysis: - Deep sleep vs sleep mode trade-offs for battery life extension - Multi-factor quality scoring for edge data assessment - Critical vs massive IoT priority processing - TCO analysis and ROI calculations for deployment justification - Tiered storage architecture and retention policies - Security whitelisting and fail-closed policies

68.2.4 Edge Computing Quiz: Comprehensive Review

Integration review covering all edge computing concepts: - Multi-step calculation scenarios - Architectural decision evaluation - Real-world deployment trade-offs - Visual reference gallery with AI-generated diagrams

Cross-Hub Connections

This quiz bank connects to multiple learning resources across the module:

Assessment & Practice:

Interactive Learning:

  • Simulations Hub - Explore edge computing calculators and visualizations
  • Videos Hub - Watch demonstrations of edge processing architectures

Visual Understanding:

  • Knowledge Map - See how edge computing concepts interconnect across the module

Study Strategy: Use this quiz bank as a checkpoint after completing edge computing chapters, then refer to the Quizzes Hub to test related concepts in networking, architectures, and data analytics.

A manufacturing facility installs 200 vibration sensors on CNC machines, each sampling at 500 Hz with 12-byte readings (timestamp + 3-axis acceleration). Edge gateways downsample to 10 Hz and aggregate 20 sensors into summary statistics (min, max, avg, stddev = 32 bytes per group). Let’s calculate the exact data reduction achieved.

Raw sensor data generation:

  • Per sensor: 500 Hz x 12 bytes = 6,000 bytes/second = 6 KB/s
  • All 200 sensors: 200 x 6 KB/s = 1,200 KB/s = 1.2 MB/s
  • Per day: 1.2 MB/s x 86,400 seconds = 103.7 GB/day

After downsampling (500 Hz to 10 Hz):

  • Per sensor: 10 Hz x 12 bytes = 120 bytes/second
  • All 200 sensors: 200 x 120 = 24,000 bytes/s = 24 KB/s
  • Reduction factor: 50x (from downsampling alone)

After aggregation (20 sensors to 1 summary):

  • Number of groups: 200 sensors / 20 = 10 groups
  • Per group: 10 Hz x 32 bytes = 320 bytes/second
  • All groups: 10 x 320 = 3,200 bytes/s = 3.2 KB/s
  • Per day: 3.2 KB/s x 86,400 = 276.5 MB/day

Final calculation:

  • Data reduction: 103.7 GB/day to 276.5 MB/day
  • Reduction ratio: 103,700 MB / 276.5 MB = 375x reduction
  • Bandwidth savings: At $0.10/GB cloud ingress, saves (103.7 - 0.277) x $0.10 x 365 = $3,775/year
  • Storage savings: At $0.02/GB/month, saves 103.7 GB x $0.02 x 12 = $24.89/month vs 0.277 GB x $0.02 x 12 = $0.07/month

This demonstrates why edge processing is critical for high-frequency industrial IoT deployments – raw cloud transmission would cost nearly $3,800/year in bandwidth alone.

Criterion Light Edge (Filter Only) Medium Edge (Downsample + Filter) Heavy Edge (Full Analytics)
Latency Requirement <100ms acceptable <50ms required <10ms critical
Data Volume <1 MB/day per sensor 1-100 MB/day >100 MB/day
Network Quality Reliable broadband Cellular/metered Intermittent/constrained
Local Compute Microcontroller (ESP32) Gateway (Raspberry Pi) Edge server (x86)
Analytics Complexity Simple thresholds Statistical aggregation ML inference, CEP
Example Use Cases Smart home sensors Agricultural monitoring Autonomous vehicles, factory automation
Best For Cost-sensitive consumer IoT with cloud analytics capabilities Bandwidth-constrained deployments needing trend analysis Mission-critical systems requiring sub-second response with no cloud dependency

Selection heuristic: Start with light edge if network bandwidth costs <$50/month. Upgrade to medium edge when bandwidth exceeds $100/month or latency needs drop below 100ms. Deploy heavy edge only when local decision-making is safety-critical or regulatory compliance prohibits cloud transmission.

Common Mistake: Treating All Edge Data as Equally Important

Many IoT deployments fail by applying the same edge processing strategy to all sensors. A thermostat reading (changes slowly, tolerates minutes of latency) gets the same 100 Hz sampling and real-time processing as a safety interlock (changes in milliseconds, requires instant response). This wastes battery, bandwidth, and compute resources.

What goes wrong: A smart building deployment samples 500 temperature sensors at 1 Hz, transmitting every reading to the cloud. Meanwhile, 20 critical door sensors (fire exits) also sample at 1 Hz and transmit individually. When a fire alarm triggers, the door sensor alert gets queued behind 500 temperature readings, delaying emergency response by 30 seconds.

Why it fails: The system did not distinguish between critical IoT (safety sensors needing <1 second latency) and massive IoT (environmental monitoring tolerating minutes). All data was treated with equal priority.

The correct approach:

  1. Classify sensors by criticality: Safety-critical (fire, gas, intrusion) vs operational (temperature, humidity) vs analytical (energy usage).
  2. Apply differentiated edge strategies:
    • Critical sensors: dedicated edge processing with bypass queues, <10ms local alerting
    • Operational sensors: 1-minute aggregation windows, batch transmission every 5 minutes
    • Analytical sensors: hourly summaries only, transmitted during off-peak hours
  3. Example fix for the smart building: Door sensors get dedicated edge gateway with priority MQTT topic and local alarm triggering. Temperature sensors aggregate into 5-minute averages before transmission. This reduces message count by 300x while improving critical alert latency from 30 seconds to <100ms.

Real consequence: A hospital deployed 1,000 patient monitors with identical edge processing – aggregating all vitals into 1-minute batches to save bandwidth. When a patient’s heart rate spiked, the 60-second aggregation window delayed the alert long enough that the code blue response was 45 seconds late. Post-incident analysis revealed that heart rate and SpO2 should have been in the critical tier with <5 second latency, while temperature and respiration could aggregate safely. Always tier your IoT data by criticality, not just by sensor type.

68.3 Concept Relationships

Builds on:

Quiz Chapters:

Skills Validated:

  • Data reduction calculations (downsampling, aggregation)
  • Power consumption analysis (deep sleep, duty cycling)
  • Security concepts (whitelisting, fail-closed policies)
  • Total cost of ownership (TCO) and ROI assessment

68.4 See Also

Learning Hubs:

Study Materials:

Cross-Module References:

Common Pitfalls

Quiz questions about edge computing often contain terms like ‘low latency’ or ‘resource constrained’ in multiple answers. Read each option fully and apply the underlying concept rather than selecting the answer with the most familiar-sounding keywords.

Questions about ‘gateway’ processing and ‘fog’ processing are testing knowledge of different tiers. Edge (device level) has 32–512 KB RAM; fog (gateway level) has 256 MB–4 GB RAM. The allowed algorithm complexity differs accordingly.

Edge computing questions involving power budgets, memory constraints, and bandwidth calculations require attention to units. Confusing mW with mA or KB with kB leads to answers off by several orders of magnitude.

Quiz questions often ask for the ‘most appropriate’ or ‘best’ approach. Multiple answers may be technically correct; only one is optimal given the specific constraints stated in the question.

68.5 Summary

  • Edge computing quiz bank validates understanding through calculation-intensive problems covering data volume reduction, aggregation strategies, and power optimization across the IoT Reference Model’s four levels
  • Questions require multi-step computations demonstrating downsampling effects (100-1000x reduction), buffer management behaviors (FIFO queues), and bandwidth savings from edge processing versus raw cloud transmission
  • Battery life calculations incorporate duty cycling, deep sleep modes, and transmission power consumption to assess deployment viability and cost-effectiveness for long-term IoT sensor networks
  • Security scenarios test understanding of whitelist-based access control, fail-closed policies, and layered defense-in-depth strategies for industrial IoT gateway protection
  • Real-world deployment examples include industrial vibration monitoring, agricultural sensor networks, and smart building systems with specific data rates, reduction factors, and cost analyses
  • Architectural trade-offs evaluate gateway buffer sizing, aggregation window timing, quality score thresholds, and cloud synchronization intervals for optimizing edge-to-cloud data flow
Key Takeaway

Edge computing mastery requires both conceptual understanding and quantitative skills. The quiz bank validates your ability to calculate data reduction ratios, power consumption trade-offs, buffer management behavior, and total cost of ownership – the exact skills needed to justify and design real-world edge deployments. Start with fundamentals, progress through calculations, and finish with the comprehensive review.

“The Edge Computing Quiz Show!”

“Welcome to the Sensor Squad Quiz Show!” announced Lila the LED, flashing like a game show spotlight. “Today we are testing what you know about edge computing!”

“First question!” said Max the Microcontroller. “If Sammy the Sensor takes 1,000 readings per second, and I shrink that down to just 10 per second, how much did I reduce the data?”

“Ooh, ooh!” Sammy waved his antenna. “That is 100 times less! You kept only the important stuff!”

“Correct! 100x reduction!” Max cheered. “Next question: Bella the Battery has 2,500 milliamp-hours of energy. If I use deep sleep mode at 0.01 milliamps instead of regular sleep at 1 milliamp, how much longer does Bella last?”

Bella thought hard. “In regular sleep, I last about 104 days. In deep sleep, I could last for YEARS! That is like the difference between a candle and an LED light bulb!”

“Final question!” Lila blinked excitedly. “What happens when my buffer is full and a new reading arrives?”

“The oldest reading gets bumped out – first in, first out, like a queue at an ice cream shop!” Sammy answered. “The newest reading is always the most important.”

“You all pass!” Max celebrated. “Remember – in edge computing, every calculation matters. Knowing your numbers helps you build better IoT systems!”

What did the Squad learn? Testing your knowledge with quizzes helps you remember important concepts like data reduction, battery life calculations, and buffer management – skills every IoT engineer needs!

68.6 What’s Next

Next Topic Description
Edge Quiz: Fundamentals Business case and key edge computing scenarios
Edge Quiz: Data Calculations Bandwidth reduction and data volume formulas
Edge Quiz: Power Optimization Battery life, TCO, and security analysis
Edge Quiz: Comprehensive Integration questions across all edge topics
Edge Comprehensive Review Complete edge computing reference material