CS FundamentalsHardProduct-company DevOps interview
A team makes 'Developers must not deploy on Fridays' a rule after two weekend outages. A senior engineer argues the rule treats the symptom. Which response best addresses the root cause?
- A. Ban deployments on Thursdays too
- B. Require manager sign-off for every deployment
- C. Make deployments small, automated and quickly reversible, with good monitoring, so deploying on any day is low-risk
- D. Deploy only once a quarter
Correct answer: C. Make deployments small, automated and quickly reversible, with good monitoring, so deploying on any day is low-risk
DORA research associates frequent, small, automated deployments with lower change failure rates. Reducing batch size and time to restore lowers risk more than restricting deploy days.
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- A brand-new repository's first commit contains a.txt (content 'hello'), src/b.txt and src/c.txt, where b.txt and c.txt have identical…
- In a hexagonal (ports-and-adapters) architecture, the order-processing core defines an interface OrderRepository, implemented by a…
- A module handleIO(kind, data) contains one big switch: kind 1 reads from the keyboard, kind 2 writes a file, kind 3 sends a network…
- For integer variables, what is the weakest precondition wp(x := x + 1; y := 2 x, y > 10)?
- Which Hoare triple is valid for integer variables (partial correctness)?
- This loop sums an array: python i = 0; s = 0 while i < n: s = s + a[i] i = i + 1 Which assertion is a loop invariant (true every time the…