Tier 1 Series 5

5G: The Agency Exam

Capstone Exam
Pilot Record
Student Profile
"The AI has generated a "Fleet Manager" that is causing severe stuttering in the simulation. Identify the three critical collection failures to restore flight performance."

Target Asset for Audit

FRAGILE_CODE_DETECTED
using UnityEngine;
using System.Collections.Generic;

public class FleetManager : MonoBehaviour {
    // Audit Requirement: Lesson 5F (Invisible Inventory)
    List<Drone> activeFleet = new List<Drone>();

    public void RegisterDrone(Drone d) {
        activeFleet.Add(d);
    }

    public void SetDroneAlert(int id) {
        // Audit Requirement: Lesson 5C (Search Friction)
        foreach (Drone d in activeFleet) {
            if (d.droneID == id) {
                d.TriggerAlert();
                break;
            }
        }
    }

    void OnDisable() {
        // Audit Requirement: Lesson 5E (Memory Ghosting)
        // Missing sanitation!
    }
}

Supervisor's Certification

Authenticated Pilot
pilot_657388f787c0d1b4
Session Secure

Failure Point #1

Dictionary Conversion

Command the AI to use a Dictionary keyed by ID for instant O(1) drone lookups.

Failure Point #2

Memory Sanitation

Address the memory leak. Command the AI to clear the fleet collection when the manager is disabled.

Failure Point #3

Dashboard Visibility

Command the AI to make the collection visible in the Unity Inspector for real-time monitoring.