THINK FIRST·CODE LATER

← Software Engineering
Chapter 13 · Week 14

Operation, Maintenance and Sustainable Computing

Answered 0/30 Correct 0
Sign in to save progress across devices
Q1

What is the main benefit of a canary (staged) rollout?

Q2

Buddy's new "exam mode" is deployed to production but switched off, then enabled only for one course section. What technique is this?

Q3

Why should a database change be done as "expand and contract" (add the new column first, remove the old one later)?

Q4

Which is not one of the four golden signals?

Q5

Which telemetry type best shows where time is spent in one slow request that goes from the app through the API and tutor module to the AI provider?

Q6

The on-call student receives 300 alerts a day, most about internal details that do not affect users. What is the risk and the fix?

Q7

Which statement correctly distinguishes SLO and SLA?

Q8

The board has an availability SLO of 99.9% over 30 days. What is the error budget?

Q9

Halfway through the month, incidents have already used the whole error budget. According to a typical error-budget policy, what happens?

Q10

A student team plans to switch every user to the new version at once and to "fix forward" if something breaks. Which safer strategy keeps an instant way back?

Q11

Why is 100% availability usually the wrong target?

Q12

During a SEV1 incident (the board is down during exam week), what should the team do first?

Q13

What is the key idea of a blameless postmortem?

Q14

StudyBuddy must be changed because the university replaces its single-sign-on system. Which type of maintenance is this?

Q15

The team upgrades a library before its end-of-life date and adds missing tests to the matching module, although no bug has been reported. This is…

Q16

Which statement is one of Lehman's laws of software evolution?

Q17

"We know the matching code is messy, but we must ship before the midterm; we'll refactor it in Sprint 6." In Fowler's quadrant, this debt is…

Q18

A debt item costs 12 hours to fix (principal) and wastes 3 hours in every Sprint (interest). After how many Sprints does fixing it pay back?

Q19

Before migrating an old module (no tests, no documentation) with the help of an AI code translator, what should the team do first?

Q20

What is the strangler fig pattern?

Q21

According to the IEA, roughly what share of the world's electricity did data centres use in 2024?

Q22

StudyBuddy rebuilds its search index every night. Scheduling the job for the hours when the regional grid has the lowest carbon intensity is an example of…

Q23

In the SCI formula SCI = ((E × I) + M) per R, what is M?

Q24

Which change most directly reduces the energy (and cost) of Buddy without lowering answer quality below the requirement?

Q25

A new StudyBuddy version drops support for Android versions older than 3 years, although nothing technical requires it. What is the sustainability concern?

Q26

Under WCAG's Perceivable principle, what is required for images that convey information?

Q27 Short answer

The board's SLO is "99.5% of minutes available over 30 days". This month's incidents lasted 90, 45 and 60 minutes. Compute the error budget, the consumed and remaining budget, and state what the team should do.

Q28 Short answer

Write the timeline and three action items of a blameless postmortem for this incident: at 21:40 on midterm eve, a new Buddy prompt (edited directly in the production configuration by a TA) made Buddy refuse every question; students reported it at 21:55 on WeChat; the team rolled back the prompt at 22:30.

Q29 Short answer

Compute the SCI per answered question for Buddy for one day, then for an improved design, and explain the difference. Day A: servers and AI calls use 12 kWh; grid intensity 600 gCO₂e/kWh; embodied emissions allocated to the day 1,800 gCO₂e; 4,000 questions answered. Day B (smaller model + cache): 5 kWh, same grid and embodied emissions, 4,000 questions.

Q30 Short answer

List six items that must be in StudyBuddy's handover package for next year's student team, and explain in one sentence why handover is a sustainability issue.