CS FundamentalsHardProduct-company DevOps interview
A team stops patching running servers in place and instead builds a new machine image for every change, replacing old servers entirely. Which benefit is the main goal?
- A. Faster SSH access
- B. Lower licence cost
- C. It removes the need for monitoring
- D. Immutable infrastructure: every server matches a known, tested image, eliminating configuration drift and making rollback a matter of redeploying the previous image
Correct answer: D. Immutable infrastructure: every server matches a known, tested image, eliminating configuration drift and making rollback a matter of redeploying the previous image
In-place changes accumulate differences between servers ('snowflakes'). Replacing instead of mutating gives reproducible, consistent environments.
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
- How many of these statements about cyclomatic complexity are correct? 1. Adding a straight-line statement to a function never changes…
- A team applies the Open/Closed principle so aggressively that every class has an interface, a factory and plug-in points 'in case'…
- Two functions contain the same three lines of code, but one computes a GST rate and the other a delivery charge that happens to use the…
- A class Report depends on ReportFormatter, and ReportFormatter depends on Report to read its data, creating a cyclic dependency between…
- A unit test calls a service that reads the current time with datetime.now() and fails every day after 6 pm. What is the cleanest fix?
- How many of these situations can produce a merge conflict when merging branch B into A from their common ancestor O? 1. A and B changed…