Edge Computing Interview Questions on Disconnected Operation

Edge computing interviews test which work can continue near a data source when the cloud connection is unavailable. Explain local processing, storage limits, identity and the eventual synchronisation path. Store and forward does not mean unlimited retention or immediate recovery. The invented museum-logger case below calculates a reconnect backlog and distinguishes historical samples from fresh readings.

Aug 13, 2024 - 14:45
Updated: 
104.2k

Ethical Hacking in Cybersecurity & Ethical Hacking · Interview preparation

Edge Computing Interview Questions on Disconnected Operation

Quick answer: Edge computing interviews test which work can continue near a data source when the cloud connection is unavailable. Explain local processing, storage limits, identity and the eventual synchronisation path. Store and forward does not mean unlimited retention or immediate recovery. The invented museum-logger case below calculates a reconnect backlog and distinguishes historical samples from fresh readings. It provides concrete answer cues without deploying an edge runtime, sending telemetry or claiming that local operation survives every failure.

Key takeaways

  • State which decisions and dependencies remain local during disconnection.
  • Size storage and retention for the required outage interval.
  • Calculate backlog drain using capacity left after new arrivals.
  • Keep event time, arrival time and duplicate identity distinct.
  • Verify runtime support, local protection and update dependencies.

Table of Contents

How does edge computing differ from cloud and fog computing?

Edge computing places processing or storage near the data source or user. A gateway, site server or device can perform local work while a cloud service handles selected aggregation or management. Fog commonly describes an intermediate distributed layer; clarify the architecture instead of relying on a label to define its behaviour.

Proximity can reduce a network round trip, but it does not guarantee a latency target. Local hardware, workload and remaining dependencies still matter. Likewise, keeping a copy onsite does not automatically satisfy a privacy or retention requirement.

In this exercise, a museum gateway collects humidity samples and updates a local display. The cloud stores history and presents a remote dashboard. Identify which of those functions can continue without the link and which becomes stale, rather than saying the entire service stays available.

What must be in place before a site can operate offline?

List the dependencies needed for local collection, authentication, storage and display. A cached configuration is useful only if the application can still use it and has enough resources to continue.

The Azure IoT Edge offline capabilities guide describes initial synchronisation and cached arrangements for offline device operation. It also distinguishes that capability from message storage, which depends on TTL and disk space. An offline runtime is not a promise to retain every message indefinitely.

For the museum case, assume the gateway was provisioned and synchronised beforehand, power remains available and the local collector works. The cloud dashboard should show its last received observation and the gap in contact. A stale cloud status must not be presented as evidence that the local display is current.

How would you choose a store-and-forward policy?

Decide what must be retained, for how long and what happens when the queue reaches its limit. The AWS Greengrass stream management guide describes per-stream storage, size, retention and export policies for Greengrass stream manager. Its current documentation also identifies the discontinued IoT Analytics export destination; do not copy an obsolete destination from an old example.

The AWS Greengrass nucleus configuration reference documents separate MQTT spooler options, including memory or disk storage and capacity conditions. Do not assume every queue survives a restart or accepts unlimited messages just because it belongs to an edge product.

For the museum, distinguish recent display samples from historical records. If capacity becomes tight, the owner needs an explicit policy for aggregation, rejection or retention. Record a loss or omission; silently claiming a complete history after dropping samples would mislead later analysis.

How long will the reconnect backlog take to clear?

Use a supplied arithmetic model. The collector produces 100 samples per minute. A 30-minute disconnection creates 3,000 queued samples, assuming every sample is retained. After reconnection, total upload capacity is 150 samples per minute while new samples continue arriving at 100 per minute.

Only 50 samples per minute of that capacity remains to reduce the queue's size. Under the stated steady-rate model, the queue returns to empty after 60 minutes. A FIFO queue could deliver the initial 3,000 samples in 20 minutes, but additional arrivals would still be waiting then.

This estimate excludes retries, variable throughput, expiry, message overhead and competing streams. Check whether the oldest retained records remain valid for their intended use. A link that reconnects successfully can still leave the remote history delayed for an hour.

Supplied input or calculationValueInterpretation
Arrival rate100 samples/minuteContinues after reconnect
Outage duration30 minutes3,000 samples accumulate
Total upload capacity150 samples/minuteShared by new arrivals and backlog
Net drain capacity50 samples/minute150 minus 100
Ideal drain time60 minutes3,000 divided by 50

Do delayed or repeated messages represent new events?

Keep the time a sample was observed separate from the time the cloud received it. A humidity sample observed at 09:05 and uploaded at 09:35 is historical evidence. It should not be labelled as a new 09:35 measurement merely because it arrived then.

The OASIS MQTT 5.0 standard defines delivery qualities and expiry mechanisms. Those protocol properties need to be distinguished from application record processing. A messaging acknowledgement does not by itself prove that a downstream report committed the event exactly once.

Give each application event an identity appropriate to the device and its sequence or session context. A repeated event can be recognised without assuming every equal value is a duplicate: two genuine successive samples can have the same humidity. Also account for clock uncertainty when judging freshness.

Supplied observationApplication decision to explain
Observed 09:05, received 09:35Retain event time; classify as delayed history
Same event identity arrives againApply the defined duplicate-handling policy
Same humidity, different valid event identitiesDo not discard solely because the value matches
Missing or unreliable event timeMark freshness uncertain rather than inventing it

What security questions remain when the cloud is unreachable?

Local operation increases the importance of protecting the device, retained data and local interfaces. The NIST IR 8259A device capability baseline provides a starting point for identifying device cybersecurity capabilities. The NIST SP 800-213 IoT requirements guidance puts device requirements in system and organisational risk context, with a federal-government scope.

Ask which identities can read the retained samples or change local configuration. Consider local access controls, storage protection and evidence of unauthorised changes. A remote revocation or management decision cannot be assumed to take immediate effect on a disconnected device unless its design provides a suitable mechanism.

The museum's humidity data may be low sensitivity, but device credentials can still permit wider access. Keep them separate from exported sample records and include the device's eventual loss or replacement in the design review.

How would you discuss runtime support and an offline test?

Check the runtime version and its supported lifecycle before planning maintenance. As of 15 November 2026, the Azure IoT Edge version history identifies IoT Edge 1.6 LTS as supported and gives 10 November 2026 as the end of support for 1.5 LTS. An installed older version should not be described as current just because it still starts.

For an authorised test plan, supply a bounded disconnect interval, a known sample count and expected local behaviour. Check retention, restart persistence, replay progress, expiry and duplicate handling against the chosen implementation. Record any missing data explicitly.

For the museum, compare produced, retained, delivered, expired and rejected sample counts for the same interval. Any unexplained difference leaves a gap in the history. Keep the remote dashboard's latest event time visible while replay continues.

Related reading: Cloud native development questions; Cloud automation questions.

References

Frequently Asked Questions

No. Define which work remains local and which aggregation, history or management functions still depend on the chosen cloud services.

No. Storage capacity, persistence behaviour, retention settings and message expiry constrain what can be kept during an extended disconnection.

At the stated constant rates, new arrivals leave fifty samples per minute of net drain capacity until the queue is empty.

Not necessarily. Delayed messages and backlog processing can leave remote information behind, so retain event time and last-contact evidence.

No. Different genuine events can have the same value, so duplicate handling needs an appropriate event identity and policy.

No. The messaging exchange and downstream application transaction have separate boundaries, so define and test the complete processing behaviour.

Microsoft identifies 1.6 LTS as supported on 15 November 2026; its version history lists 1.5 support ending on 10 November.

No. The examples use supplied rates and invented records; runtime behaviour still requires a separately authorised implementation-specific test.

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Wow Wow 0
Sad Sad 0
Angry Angry 0
Anjali

I am passionate about technology, invention and big challenging tasks on my to- do list. In terms of the work I am doing also at Bunnyshell, I am most passionate about the technologies that we are using., I'm devoted to delivering content that not only informs but also inspires. Whether you need in- depth analysis pieces, educational attendants, or study- provoking opinion pieces, I draft content that resonates with tech suckers and professionals likewise.