Lesson 11 of 11
Capstone, part 5: the certification quiz
A cumulative 35-question certification quiz for Beacon Yard spanning every module from Git and Studio through remotes, animation, pathfinding, physics, React, audio, VFX, ProfileStore, teleports, MemoryStore, CI, Jest-Lua, performance, Parallel Luau, localization, safety, flags and marketing.
By the end you can
- Answer 35 questions spanning every module (m-1 through m11), grounded in Beacon Yard's real m14-ship code, numbers and tools
- Pinpoint any module where a first-try answer slipped and jump back to that lesson
- Distinguish a self-check score from real portfolio proof (your shipped repository, CI and tests)
Before this: Capstone, part 4: ship it to staging (private publish, CI and deploy)
Step 1 of 12
How the 35-question quiz works
There are 35 questions grouped across the entire course (m-1 through m11). Every code snippet is pinned to m14-ship, your finished Beacon Yard repository.
Scoring matches the rest of the site: 10 XP for a first-try answer, 5 after a miss. A pass is at least 28 of 35 (80%) answered correctly on the first try. That is a self-check, not an external certificate: your repository, tests, green CI and staging deploy are the real proof.
Module m-1 (Git): git show --stat m05-the-round reports +656 -14 for the round milestone. By how many net lines did the repository grow?
Step 2 of 12
Modules m0 and m1: setup, data model and 3D math
-- meshes and textures. The repo ships every id as 0. A feature whose id
-- is 0 switches itself off and prints one warning that starts with [Ids].
Module m0 (Setup): The repository ships every account id as 0. What happens when COIN_PACK_PRODUCT_ID is 0?
Press 1 to 4 to choose, Enter to check.
Module m1 (Data model): Match each Roblox service container to what it does.
-- A touch is only a hint. Check the character's root is close
-- enough to the coin before paying.
local character = player.Character
local rootPart = if character then character:FindFirstChild("HumanoidRootPart") else nil
if rootPart == nil or not rootPart:IsA("BasePart") then
return
end
if (rootPart.Position - coin.Position).Magnitude > 12 then
return
end
seen[player] = true
Module m1 (3D math): A player's root part is at (0, 0, 0) and a coin is at (9, 0, 12). What does this distance check print?
local root = Vector3.new(0, 0, 0)
local coin = Vector3.new(9, 0, 12)
print((root - coin).Magnitude > 12)
Press 1 to 4 to choose, Enter to check.
Step 3 of 12
Modules m2 and m3: Luau, client-server, remotes and security
function DataService.trySpend(player: Player, amount: number): boolean
local data = waitProfile(player)
if not data or amount <= 0 or data.coins < amount then
return false
end
data.coins -= amount
pushCoins(player)
return true
Module m2 (Luau): DataService.trySpend refuses when balance is below price. What does this print?
local coins = 25
local function trySpend(amount)
if amount <= 0 or coins < amount then
return false
end
coins -= amount
return true
end
print(trySpend(25), coins)
Press 1 to 4 to choose, Enter to check.
Server sideRemember: The server is the referee with the only real scoreboard.
In Beacon Yard, DataService holds the official coin balance and CombatService calls every hit on the server, while each client only renders a copy of the HUD. Keep where that referee model stops in mind before answering the next question.
Where does it break?“The referee with the only real scoreboard” is a good picture of the server. Where does it stop being true?
It breaks here. The server is also the field itself, and it cannot see things that exist only on a client, such as a player's GUI or a LocalScript's effects.
The true model. The server runs the authoritative copy of the whole game world. Anything that matters (coins, damage, purchases) is decided there, and clients only see what it replicates to them.
Module m3 (Client and server): A LocalScript edits a player's HUD coin label and leaderstats.Coins.Value to 999 on their device. What does the server's ProfileStore session hold?
Press 1 to 4 to choose, Enter to check.
local REMOTE_NAMES: { string } = { "RoundState", "Feedback", "ShopOpen", "ShopBuy", "Swing", "SetSetting" }
Module m3 (Remotes): At m14-ship, Remotes.luau creates six RemoteEvents (RoundState, Feedback, ShopOpen, ShopBuy, Swing, SetSetting). Which three does a client fire at the server, so the server must validate their arguments?
Press 1 to 5 to choose, Enter to check.
local ORIGIN_MAX_STUDS = 8
local DRONE_TAG = "Drone"
local CRAWLER_TAG = "Crawler"
local SWING_GAP = 0.4
Module m3 (Security): How many studs from the player's Head may a client's Swing origin sit before CombatService rejects it?
Step 4 of 12
Module m4 (part 1): drone, round loop and animation
DRONE_MAX_HEALTH = 100,
WRENCH_DAMAGE = 34,
WRENCH_RANGE = 14,
Module m4 (Drone and wrench): How many hits of Config.WRENCH_DAMAGE destroy a drone starting at Config.DRONE_MAX_HEALTH?
Module m4 (Round loop): Put one drill in the exact order RoundService runs it.
- Cooldown: 8 seconds before the next drill
- Idle again, and the beacon prompt returns
- Active: 40 seconds with the drone and crawler out
- Idle: a player holds E at the beacon
-- The swing itself is an Animation you author in the Animation Editor
-- (Ids.WRENCH_SWING_ANIMATION). A KeyframeMarker named Impact sits on the
-- contact frame, and GetMarkerReachedSignal("Impact") puts the spark on
-- that exact frame. With the id at 0 there is no animation, so the spark
-- fires a short, fixed time after the input instead.
Module m4 (Animation): How does CombatClient time the wrench impact spark when WRENCH_SWING_ANIMATION is set versus when it is 0?
Press 1 to 4 to choose, Enter to check.
Step 5 of 12
Module m4 (part 2): pathfinding, physics and controls
function CrawlerBrain.shouldRepath(now: number, lastPathAt: number, targetMoved: number, blockedAhead: boolean): boolean
if blockedAhead then
return true
end
if now - lastPathAt < Config.CRAWLER_MIN_REPATH_SECONDS then
return false
end
return targetMoved >= Config.CRAWLER_REPATH_DISTANCE
Module m4 (NPC pathfinding): Why does CrawlerService call root:SetNetworkOwner(nil) and throttle ComputeAsync through CrawlerBrain.shouldRepath?
Press 1 to 4 to choose, Enter to check.
-- HingeConstraint rotates around Attachment0's X axis.
joint.CFrame = CFrame.fromMatrix(position, Vector3.xAxis, Vector3.yAxis)
joint.Parent = parent
Module m4 (Physics): In ExhibitService.luau, which part is anchored and which axis does the SignHinge HingeConstraint rotate around?
Press 1 to 4 to choose, Enter to check.
local BINDINGS: { [ActionName]: Binding } = {
WrenchSwing = {
title = "Swing",
inputs = { Enum.KeyCode.F, Enum.KeyCode.ButtonR2 },
touchButton = true,
},
CameraFieldOfView = {
title = "Zoom",
inputs = { Enum.KeyCode.Q, Enum.KeyCode.ButtonY },
touchButton = true,
},
OpenSettings = {
title = "Settings",
inputs = { Enum.KeyCode.P, Enum.KeyCode.DPadUp },
touchButton = true,
},
-- Bound only while the shop is open. A mouse or a finger uses the
-- Close button instead, so no touch button.
CloseShop = {
title = "Close",
inputs = { Enum.KeyCode.ButtonB },
touchButton = false,
Module m4 (Input and mobile): Match each named action in Controls.luau (at m14-ship) to its inputs.
Step 6 of 12
Module m5: React-lua, audio and VFX
-- State comes from three places the server already owns: the Coins value
-- in leaderstats, the SpeedPass attribute, and the ShopOpen remote. Each
-- is read in a hook (useState holds the value, useEffect subscribes and
-- cleans up). Buttons are still requests: pressing one fires ShopBuy and
-- the server decides.
Module m5 (React-lua): In m14-ship's ShopApp.luau, where does React get its state, and what happens when a player clicks Speed?
Press 1 to 4 to choose, Enter to check.
-- the matching 2D sound from the shared config. Every sound goes through
-- one SoundGroup, Effects, so a single volume controls all of them. Each
-- kind has its own base pitch, and every play nudges that pitch a little
-- (Config.SFX_PITCH_SPREAD) so ten coins in a row do not sound like a
Module m5 (Audio): Why does SoundClient route every sound through one SoundGroup named Effects and nudge PlaybackSpeed by Config.SFX_PITCH_SPREAD?
Press 1 to 4 to choose, Enter to check.
emitter.Rate = 0
emitter.Lifetime = NumberRange.new(LIFETIME * 0.5, LIFETIME)
emitter.Speed = NumberRange.new(if reduced then style.speed * 0.3 else style.speed * 0.6, style.speed)
emitter.SpreadAngle = Vector2.new(180, 180)
emitter.Drag = 4
emitter.Size = NumberSequence.new({
NumberSequenceKeypoint.new(0, style.size),
NumberSequenceKeypoint.new(1, 0),
})
emitter.Transparency = NumberSequence.new({
NumberSequenceKeypoint.new(0, 0),
NumberSequenceKeypoint.new(1, 1),
})
emitter.Parent = anchor
anchor.Parent = workspace
local count = if reduced then math.max(1, math.floor(style.count * Config.VFX_REDUCED_SHARE)) else style.count
emitter:Emit(count)
Module m5 (VFX): Why does VfxClient set emitter.Rate = 0 and call emitter:Emit(count), and how does ReducedMotion affect count?
Press 1 to 4 to choose, Enter to check.
Step 7 of 12
Module m6: ProfileStore, teleports and MemoryStore
Module m6 (ProfileStore): From m10-memory onward, where do player profiles live and what happens to an existing BeaconYard_v1 record?
Press 1 to 4 to choose, Enter to check.
local options = Instance.new("TeleportOptions")
options.ReservedServerId = message.serverId
options:SetTeleportData({ expected = #message.userIds })
Module m6 (Lobby and teleport): Why does QueueService set options.ReservedServerId to the shared GUID from MessagingService before calling TeleportAsync?
Press 1 to 4 to choose, Enter to check.
-- a queue read works: ReadAsync hands the items to one caller and hides
-- them from everyone else until RemoveAsync, or until the hide time runs
-- out. If the group is not ready yet the items are simply left, and they
-- come back after QUEUE_HIDE_SECONDS. MatchRules decides when a group is
Module m6 (MemoryStore): Why is it safe for every lobby server to poll MemoryStoreQueue:ReadAsync on a loop, and why must you never store a player's permanent coins in MemoryStore?
Press 1 to 4 to choose, Enter to check.
Step 8 of 12
Modules m7 and m8: monetization, analytics and Blender scale
local applied = ReceiptRules.applyReceipt(data, receipt, Config.COIN_PACK_COINS)
if applied == nil then
-- The id appeared in the profile while the old row was being read.
return granted
end
DataService.syncCoins(player)
if not DataService.save(player) then
ReceiptRules.undoReceipt(data, receipt, Config.COIN_PACK_COINS, applied)
DataService.syncCoins(player)
return notYet
At m14-ship the handler above keeps the purchase id inside the player's own saved data (recentPurchaseIds), in the same change as the coins, and saves once. Earlier tags wrote it as a separate data store row, which left a gap between two writes. The sketch in the next question shows the safe order Roblox recommends.
Module m7 (Monetization): In this sketch of the safe Coin Pack order, the grant, the purchase id and the one save all succeeded. Which line leaves the purchase unresolved, so Roblox hands the same receipt over again?
Press 1 to 4 to choose, Enter to check.
-- Joined > FirstCoin > StartedDrill > SurvivedDrill > FirstPurchase.
Module m7 (Analytics): Put Beacon Yard's onboarding funnel in the order a new player moves through it.
- FirstPurchase
- StartedDrill
- Joined
- FirstCoin
- SurvivedDrill
Module m8 (Art pipeline): Beacon Yard treats 1 Blender unit as 1 stud (0.28 metres). How many metres wide is a crate modeled at 5 Blender units?
Step 9 of 12
Module m9: toolchain, CI and Open Cloud deploy
rojo = "rojo-rbx/rojo@7.5.1"
stylua = "JohnnyMorganz/StyLua@2.1.0"
selene = "Kampfkarren/selene@0.32.0"
wally = "UpliftGames/wally@0.3.2"
luau-lsp = "JohnnyMorganz/luau-lsp@1.70.1"
Module m9 (Toolchain): Match four tools pinned in rokit.toml at m14-ship to their jobs.
types:
name: type check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- uses: CompeyDev/setup-rokit@1d9390883f7ebce19d48f5b8d006e11d387c92ab # v0.2.1
with:
version: v1.2.0
- name: wally install
run: wally install
- name: scripts/typecheck.sh
run: bash scripts/typecheck.sh
Module m9 (CI): Beacon Yard's .github/workflows/ci.yml runs stylua --check, selene, scripts/typecheck.sh, scripts/check-ids.mjs and rojo build on every push and pull request. What makes those jobs block a merge into main?
Press 1 to 4 to choose, Enter to check.
concurrency:
group: deploy
cancel-in-progress: false
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
environment: production
Module m9 (Open Cloud deploy): In m14-ship's deploy.yml and scripts/publish-place.mjs, why do ROBLOX_API_KEY and IDS_LOCAL_LUAU live inside a GitHub Actions environment instead of the repository?
Press 1 to 4 to choose, Enter to check.
Step 10 of 12
Module m10: Jest-Lua, playtests, performance and Parallel Luau
describe("FlagService.multiplier", function()
it("is 1 when the flag is off or missing", function()
expect(FlagService.multiplier(nil, nil)).toBe(1)
expect(FlagService.multiplier(false, 3)).toBe(1)
end)
it("counts only the boolean true as on", function()
expect(FlagService.multiplier("yes", 3)).toBe(1)
expect(FlagService.multiplier(1, 3)).toBe(1)
end)
it("uses the configured number when the event is on", function()
expect(FlagService.multiplier(true, 3)).toBe(3)
end)
it("falls back to the default when the number is not a number", function()
expect(FlagService.multiplier(true, "x")).toBe(2)
expect(FlagService.multiplier(true, nil)).toBe(2)
end)
it("clamps the number between 1 and the maximum", function()
expect(FlagService.multiplier(true, 99)).toBe(5)
Module m10 (Jest-Lua): Where are Jest and JestGlobals declared in wally.toml at m14-ship, and why does test.project.json exist separately from default.project.json?
Press 1 to 4 to choose, Enter to check.
local held = afterAbsorb ~= nil and afterAbsorb.Health > healthBefore - 5
Module m10 (Integration playtests): Why does the shield test check health > healthBefore - 5? With before = 85, what does this print for a heal to 86 and for an unblocked drone hit to 70?
local before = 85
print(86 > before - 5, 70 > before - 5)
Press 1 to 4 to choose, Enter to check.
"StreamingEnabled": true,
"StreamingMinRadius": 128,
"StreamingTargetRadius": 512
Module m10 (Performance and mobile budgets): At m14-ship, default.project.json sets Workspace.StreamingEnabled = true with StreamingMinRadius = 128 and StreamingTargetRadius = 512. What is the main tradeoff on low-memory phones?
Press 1 to 4 to choose, Enter to check.
Module m10 (Parallel Luau): A Script inside an Actor calls task.desynchronize() to compute heavy path or noise math across CPU cores. What must it do before mutating Workspace Instance properties?
Press 1 to 4 to choose, Enter to check.
Step 11 of 12
Module m11: safety, localization, flags, publishing, marketing and DevEx
-- PolicyService is a live-ops check, not a shop change. The call is per
-- player and can fail in Studio. When ArePaidRandomItemsRestricted comes
-- back as a boolean it is stored on the player; otherwise the attribute
-- stays unset. A failure never throws.
Module m11 (Safety and compliance): If PolicyService:GetPolicyInfoForPlayerAsync(player) fails on a network hiccup, how should a studio gate a restricted feature like paid random items?
Press 1 to 4 to choose, Enter to check.
function Localize.t(key: string, args: ShopLabels.Args?): string
local current = translator
if current ~= nil then
local ok, text = pcall(function()
return current:FormatByKey(key, asText(args))
end)
if ok and typeof(text) == "string" then
return text
end
end
return ShopLabels.english(key, args)
Module m11 (Localization): Why does Beacon Yard translate keys with placeholders like "{n} coins" via Translator:FormatByKey instead of concatenating translated fragments like "You have " .. coins .. " coins"?
Press 1 to 4 to choose, Enter to check.
function FlagService.multiplier(enabled: unknown, value: unknown): number
if enabled ~= true then
return 1
end
if typeof(value) == "number" and value == value then
return math.clamp(value, 1, Config.EVENT_MAX_MULTIPLIER)
end
return Config.EVENT_DEFAULT_MULTIPLIER
Module m11 (Feature flags and rollback): Someone accidentally enters 999 for scrap_rush_multiplier in Experience Configs, AND in another incident you click Restore on version 40 in Creator Hub Version History after version 41 broke the shop. What happens in each case?
Press 1 to 4 to choose, Enter to check.
Module m11 (Marketing): You run a thumbnail test on your experience page. Thumbnail B leads Thumbnail A after only 40 impressions. What should you do?
Press 1 to 4 to choose, Enter to check.
Module m11 (Career and DevEx): At the standard Developer Exchange rate of $0.0038 US per Earned Robux, what is the minimum cashout in US dollars for the 30,000 Earned Robux threshold?
Step 12 of 12
Your result and final checklist
Count how many of the 35 questions you answered right on the first try. Every question names its module and carries its skill tags, so you can jump straight back to any lesson where an answer slipped. For platform rules that Roblox owns, always verify against the official documentation: Version History1, Experience Configs2, Developer Exchange3 and Open Cloud4.
Checkpoint
0 of 5 checked
Recap
- The 35-question exam covers every module from m-1 through m11 using Beacon Yard's real m14-ship code, including animation, pathfinding, physics, React, audio, VFX, teleport, MemoryStore, CI, Jest-Lua, performance, Parallel Luau, localization, safety, flags and marketing.
- A first-try score of 28 of 35 (80%) is the pass mark; missed questions point directly at the module to revisit.
- Your real proof is your extended m14-ship repository, green CI checks, passing Studio playtests and staging deploy.
The server is the referee with the only real scoreboard, until the server is also the field itself, and it cannot see things that exist only on a client, such as a player's GUI or a LocalScript's effects.
Queued for review
- Module m3 (Remotes): At m14-ship, Remotes.luau creates six RemoteEvents (RoundState, Feedback, ShopOpen, ShopBuy, Swing, SetSetting). Which three does a client fire at the server, so the server must validate their arguments?
- Module m5 (React-lua): In m14-ship's ShopApp.luau, where does React get its state, and what happens when a player clicks Speed?
- Module m7 (Monetization): In this sketch of the safe Coin Pack order, the grant, the purchase id and the one save all succeeded. Which line leaves the purchase unresolved, so Roblox hands the same receipt over again?
- Module m11 (Feature flags and rollback): Someone accidentally enters 999 for scrap_rush_multiplier in Experience Configs, AND in another incident you click Restore on version 40 in Creator Hub Version History after version 41 broke the shop. What happens in each case?