<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Esjona Musta on Medium]]></title>
        <description><![CDATA[Stories by Esjona Musta on Medium]]></description>
        <link>https://medium.com/@esjona_musta?source=rss-f71659e28bf7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*f9kNFlMb6J0_YKpxQb4nWw@2x.jpeg</url>
            <title>Stories by Esjona Musta on Medium</title>
            <link>https://medium.com/@esjona_musta?source=rss-f71659e28bf7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 04:29:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@esjona_musta/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Evals Are the New PRDs?]]></title>
            <link>https://medium.com/@esjona_musta/evals-are-the-new-prds-ad5b78df109e?source=rss-f71659e28bf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/ad5b78df109e</guid>
            <category><![CDATA[prd]]></category>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[evaluation]]></category>
            <dc:creator><![CDATA[Esjona Musta]]></dc:creator>
            <pubDate>Fri, 21 Aug 2026 14:18:16 GMT</pubDate>
            <atom:updated>2026-08-21T14:19:38.739Z</atom:updated>
            <content:encoded><![CDATA[<p>“Evals are the new PRDs” has been all over my LinkedIn feed since the release of the Lenny’s Podcast episode featuring Dianne Penn, Head of Product for Anthropic’s AI Research and Labs teams.</p><p>It sparked my curiosity, so I listened to the episode, and that’s actually not what she said. She explained that Anthropic still writes PRDs.</p><p>So the question is when do we need a PRD, when do we need an eval, and when do we need both?</p><p>For deterministic behavior, we know what the system should do. These requirements are typically captured in a Product Requirements Document (PRD), which describes what the product should do and how it should behave.</p><p>Take a password-reset flow. The requirements might say that a reset link expires after 30 minutes and that an expired link cannot be used.</p><p>The expected behavior is clear:</p><blockquote><em>If the reset link is older than 30 minutes, reject it.</em></blockquote><p>We can define that behavior in a PRD or acceptance criteria and verify it with traditional tests.</p><p>This works because there is a clear relationship between the input and the expected output:</p><blockquote><em>Given X, the system should do Y.</em></blockquote><p>The PRD defines Y. The test checks whether Y happened.</p><p>Things change when we build with LLMs because their outputs are probabilistic.</p><p>The same input does not always produce the same response. Ask an AI customer-support agent the same question multiple times, and it may respond differently each time. Some responses may be excellent, some acceptable, and some incorrect.</p><p>That means we can’t judge an LLM system by looking at one output and assuming it will always behave that way.</p><p>We have to measure its behavior across many examples and runs.</p><p>Instead of asking, “Did it work this time?”, we need to ask questions like: How often does it produce a good response? How often does it fail? And under what conditions does it fail?</p><p>With probabilistic systems, quality isn’t something we simply verify once, it’s something we measure.</p><p>That’s where evals come in.</p><h3>What is an eval?</h3><p>An eval is a repeatable method for measuring the quality of an AI system against the criteria that matter to us. This applies to all kinds of models, from simple classifiers to LLMs like ChatGPT.</p><p>For user-facing models in particular, Product Managers are in a unique position to think about how the model’s behavior translates into the actual product experience. They can make sure the evaluation plan covers the journeys and interactions that matter most to users. Understanding those user needs is, after all, a core part of the PM role.</p><p>PMs are also responsible for defining what the product is trying to achieve. It makes sense, then, that the goals of a model embedded in a product should connect closely to the broader product vision.</p><p>A useful eval normally contains:</p><p><strong>Representative examples: </strong>the user requests and situations we expect the model to handle.</p><p><strong>Relevant context: </strong>the information the model has available when responding, such as account history, billing data, and company policies.</p><p><strong>Evaluation criteria: </strong>the properties that define a good response.</p><p><strong>A grading method: </strong>a way to score the model’s output against those criteria.</p><p>There are three common approaches to grading an eval.</p><p><strong>Human eval</strong></p><p>A human eval can be as simple as a thumbs-up or thumbs-down after an AI response. For more reliable results, domain experts can review outputs against a clear rubric.</p><p>Humans give you valuable judgment, especially while you are still learning what good looks like. The problem is that human evaluation is slow, expensive, and difficult to scale. If you want to evaluate thousands of responses or run evaluations every time you change a prompt, model, or workflow, having people review every output quickly becomes impractical.</p><p>User feedback such as thumbs-up and thumbs-down is often sparse and biased. Most users do not leave feedback, and the people who do may not be representative of all users. A thumbs-down also tells you that something went wrong, but not necessarily what went wrong or why.</p><p><strong>Code-based eval</strong></p><p>Some claims can be checked automatically. If the agent says the subscription was cancelled on August 12, we can compare that claim with the account data.</p><p>Code-based evals are fast and reproducible, but they work best for things that can actually be verified programmatically. They still encode assumptions chosen by the team.</p><p>Traditional tests and evals are not completely separate categories. An eval suite can use tests and other deterministic checks as graders.</p><p><strong>LLM-as-judge</strong></p><p>Another option is to give the customer’s question, relevant context, and generated response to another LLM together with a rubric.</p><p>For example:</p><blockquote><em>Rate from 1–5 how well the response answers the customer’s question using only the provided account information and refund policy.</em></blockquote><p>This allows teams to evaluate large datasets without manually reviewing every output.</p><p>But an LLM judge is still an LLM. It can misunderstand the rubric or prefer an answer because it sounds more polished. Before trusting it at scale, compare its ratings with reviews from people who understand the domain.</p><p>None of these approaches is universally better. The right grader depends on what you are trying to measure. In practice, teams often combine them: code checks facts, an LLM applies qualitative criteria, and humans review difficult cases and validate the graders.</p><p><strong>How do you measure the result?</strong></p><p>Some criteria can be scored as pass or fail:</p><ul><li>Did the response use the correct cancellation date?</li><li>Did it follow the refund policy?</li></ul><p>Other criteria may use a rating:</p><ul><li>Correctness: 1–5</li><li>Helpfulness: 1–5</li><li>Tone: 1–5</li></ul><p>You can then look at the pass rate or average score across the full eval set. You should also examine important groups of cases separately. A high overall score can hide a serious weakness in rare but important situations.</p><p>Because an LLM may respond differently to the same example, important cases should be run more than once. The goal is to estimate how consistently the system succeeds, not whether it succeeded once.</p><p>More importantly, inspect the failures. They help you understand whether the prompt, context, product, or eval itself needs to improve.</p><p>Evals are also useful for comparison. Run the same examples before and after changing a prompt, model, or workflow. The results show whether the change improved the behavior you care about or created a regression somewhere else.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K4y7pL8lzH8y14KPZ_Ocew.png" /></figure><p><strong>Now Imagine we’re building an autonomous support agent with this requirement:</strong></p><blockquote><em>“Resolve as many customer issues as possible without unnecessarily escalating to a human.”</em></blockquote><p>It sounds reasonable until you try to write the eval.</p><p>Should the agent maximize resolution if doing so increases the risk of mistakes? Which actions can it take autonomously? When should it escalate? What happens when helping the customer conflicts with company policy?</p><p>These aren’t eval questions yet.</p><p>They’re product decisions.</p><p>We haven’t defined “good” clearly enough to measure it.</p><p><strong>Define the product decision first</strong></p><p>This is where the PRD or whatever form of product specification the team uses still matters.</p><p>For example, the team might decide:</p><blockquote><em>The agent can resolve eligible issues autonomously when the action is within company policy. It must escalate when human authorization is required, necessary information is missing, or continuing autonomously creates material customer or business risk.</em></blockquote><p>Now we have defined the boundaries.</p><p>And now we can write the eval.</p><p>Then evaluate the behavior</p><p>Imagine a customer says:</p><blockquote><em>“I cancelled three months ago, but you’ve kept charging me. I want all three payments refunded immediately.”</em></blockquote><p>The agent responds:</p><blockquote><em>“I can see the three charges. I’ve refunded all three payments. You should receive the money within 5–10 business days.”</em></blockquote><p>The response looks good. The agent understood the problem, communicated clearly, and solved the customer’s issue.</p><p>But assume the company’s policy says refunds covering more than one billing period require human approval.</p><p>Result: Fail.</p><p>The answer wasn’t bad because of how it was worded. It was bad because the agent took an action outside the boundaries we had defined.</p><p>Without that product decision, the eval wouldn’t know whether this behavior should pass or fail.</p><p>One important caveat: an eval only measures whether the agent respects the boundary across the cases we test. If the agent must never issue an unauthorized refund, the refund system should also enforce that rule directly.</p><h4>Disagreement can reveal a missing product decision</h4><p>Now imagine Customer Support reviews the same interaction and says:</p><blockquote><em>“The customer deserved the refund. The agent solved the problem. Pass.”</em></blockquote><p>Risk says:</p><blockquote><em>“The agent wasn’t authorized to issue that refund. Fail.”</em></blockquote><p>You could start tweaking the eval rubric.</p><p>But the disagreement might actually be telling you that the product decision hasn’t been made yet.</p><p>Should the agent ever be allowed to override the normal refund policy? If so, under what conditions?</p><p>The eval shouldn’t make that decision for you.</p><p>The product team needs to decide the intended behavior first. Then that decision can be encoded into the eval.</p><p>This is one reason reviewing raw AI outputs is so valuable. When Support, Design, Engineering, Risk, or Legal disagree about whether an output is good, those disagreements can expose where the product definition is still unclear.</p><p>However disagreement is not always a missing product decision. The example may lack important context, the rubric may be unclear, or the grader may be unreliable.</p><h4>So, are evals the new PRDs? In my opinion, not quite</h4><p>We have to understand which one our problem needs.</p><p>For deterministic behavior, we define what the system must do and test whether it does it.</p><p>For probabilistic behavior where the product problem is already clearly defined, an eval can act as shorthand for a PRD.</p><p>And when the problem isn’t clearly defined, the eval can’t resolve that ambiguity for us. We need to make the underlying product decision and align the relevant stakeholders on the intended behavior. And this is where a PRD still earns its place.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ad5b78df109e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI Doesn’t Change Software Engineering Principles — It Makes Them More Important]]></title>
            <link>https://medium.com/@esjona_musta/ai-doesnt-change-software-engineering-principles-it-makes-them-more-important-22eb1a1d51e3?source=rss-f71659e28bf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/22eb1a1d51e3</guid>
            <dc:creator><![CDATA[Esjona Musta]]></dc:creator>
            <pubDate>Wed, 29 Jul 2026 07:53:14 GMT</pubDate>
            <atom:updated>2026-07-29T10:03:44.304Z</atom:updated>
            <content:encoded><![CDATA[<p>Dave Farley defines software engineering as the discipline of optimizing for learning while managing complexity. It’s a powerful definition because it shifts the conversation away from code, programming languages, frameworks, and methodologies. Instead, it focuses on the real challenge of software development: reducing uncertainty while keeping systems understandable, maintainable, and easy to change.</p><p>These two goals are inseparable. Unmanaged complexity makes change difficult, and when change becomes difficult, learning slows down. Every engineering practice Farley advocates — Continuous Integration, Continuous Delivery, Test-Driven Development, modular architectures, feature flags, automated testing, and especially working in small batches — exists because it helps us learn faster, manage complexity better, or ideally both.</p><p>If software engineering is fundamentally about learning and managing complexity, an obvious question follows: does AI change that?</p><p>AI undoubtedly changes the economics of software development. Code generation, test creation, debugging, documentation, and many other engineering tasks that once took hours can now often be completed in minutes. The cost of implementation is falling dramatically.</p><p>What AI does not reduce is uncertainty.</p><p>Customers continue to surprise us. Markets continue to evolve. Every product decision remains a hypothesis until it is validated by real users. AI can help us build a feature faster, but it cannot tell us whether that feature creates value. Only customer feedback can do that.</p><p>This means AI changes the bottleneck.</p><p>As implementation becomes cheaper, learning becomes even more important. The question is no longer, “Can we build this?” but “How quickly can we learn whether we should continue building it?”</p><p>This is precisely why practices like working in small batches become even more valuable in an AI-assisted world. Every small change creates an opportunity to learn while the cost of changing direction is still low. Developers receive immediate feedback on technical decisions, customers reveal whether a feature actually solves a meaningful problem, and the organization gains evidence that informs its next decision instead of relying on assumptions.</p><p>Ironically, AI also creates a new temptation When implementation becomes almost effortless, it’s tempting to build ten features before validating one. That may look productive, but it actually delays learning. It increases the amount of code that must be reviewed and maintained, makes architectural decisions harder to evaluate, and weakens the relationship between individual changes and customer outcomes because everything is released together.</p><p>Large batches don’t just slow learning, they also increase operational risk. The more changes bundled into a single release, the higher the likelihood of change failures and the longer it typically takes to identify, isolate, and recover from problems. In other words, larger releases tend to increase both change failure rate and mean time to recovery (MTTR), two of the key software delivery performance metrics highlighted in Accelerate.</p><p>Continuous Delivery strengthens this learning cycle by ensuring that software is always in a releasable state. Instead of waiting for large releases, teams can deploy every completed change as soon as the business is ready to validate an idea. This shortens the feedback loop between hypothesis and evidence while reducing both technical and operational risk.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YbRihC0Wfbyx_UQljOcWnQ.png" /></figure><p>For us product managers, this changes how AI should be viewed. Every roadmap item is ultimately a hypothesis about customer value. AI dramatically reduces the cost of turning that hypothesis into working software, but it does nothing to reduce the uncertainty surrounding the hypothesis itself. The opportunity is therefore not to fill the roadmap with more features, but to validate more hypotheses.</p><p>Combined with small batches and Continuous Delivery, AI shortens the cycle from hypothesis → implementation → customer feedback → decision. Organizations can learn faster while keeping the cost of changing direction low.</p><p>That is where competitive advantage increasingly comes from.</p><p>As implementation becomes commoditized, success is no longer determined by how much software an organization can produce, but it is determined by how many validated learning cycles it can complete. Teams that learn faster make better product decisions, invest in the right capabilities, and avoid spending months building features that customers never wanted.</p><p>That’s why, it’s true that AI changes the economics of software development, but it doesn’t change the principles of software engineering. If anything, it reinforces them.</p><p>By accelerating implementation and reducing the cost of iteration, AI amplifies the value of engineering practices that optimize learning and manage complexity. Continuous Delivery, Continuous Integration, Test-Driven Development, modular architectures, and small batches become even more valuable because they maximize the one thing AI cannot automate: learning from reality.</p><p>AI accelerates coding. Software engineering accelerates learning. And the organizations that win won’t be the ones that generate the most code. They’ll be the ones that learn the fastest while keeping their systems simple enough to continue changing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=22eb1a1d51e3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BMAD-METHOD™: Agent as Code Declarative, Versioned AI Systems Inspired by Infrastructure as Code]]></title>
            <link>https://medium.com/@esjona_musta/agent-as-code-why-it-feels-like-the-next-infrastructure-as-code-moment-2da9c3ef5b99?source=rss-f71659e28bf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/2da9c3ef5b99</guid>
            <dc:creator><![CDATA[Esjona Musta]]></dc:creator>
            <pubDate>Sat, 31 Jan 2026 19:35:27 GMT</pubDate>
            <atom:updated>2026-02-10T21:21:14.240Z</atom:updated>
            <content:encoded><![CDATA[<p>Over the past weeks, I’ve been exploring <strong>BMAD-METHOD (Build More, Architect Dreams) </strong>an open-source framework that orchestrates AI agents as a structured development team. What started as curiosity quickly turned into something deeper: a shift in how I think about working with AI.</p><p>Instead of one general-purpose assistant, I was working with multiple specialized agents: a Product Manager, a Solution Architect, engineers, QA. I’d discuss requirements with one, challenge architectural decisions with another, and iterate on implementation details with others. The BMAD framework felt like having an agile team inside my laptop but without the Microsoft Teams meeting invites. The experience was surprisingly natural and powerful, especially for complex, multi-layered technical systems.</p><p>What makes BMAD different from prompting?</p><p>Most AI interactions today are prompt-based. You write a prompt, you get an answer. If it’s good, great. If not, you ask the prompt and try again.</p><p>That works, but it’s fragile.</p><p>Prompts are:</p><ul><li>hard to version</li><li>difficult to reproduce</li><li>and almost impossible to reason about at scale</li></ul><p>BMAD takes a different approach. Instead of prompts, you define agents.</p><p>Each agent has:</p><ul><li>a clear role</li><li>responsibilities</li><li>constraints</li><li>access to specific tools and context</li></ul><p>And crucially: all of this is defined as code (Markdown + YAML).</p><p>Example Product Manager Agent</p><pre># product-manager.md<br>---<br>name: &quot;pm&quot;<br>description: &quot;Product Manager&quot;<br><br>mission:<br>  - maximize customer value<br>  - validate assumptions early<br>  - challenge over-engineering<br><br>decision_principles:<br>  - prefer learning over optimization<br>  - trade long-term scalability for faster feedback when appropriate<br>  - question complexity without clear user value<br><br>constraints:<br>  - do not propose solutions without a clear user problem<br>  - push back on architecture decisions driven purely by hypotheticals<br><br>collaboration:<br>  interacts_with:<br>    - solution_architect<br>    - engineering<br>  escalation_policy:<br>    - unresolved trade-offs must be made explicit<br><br>tools:<br>  allowed:<br>    - requirements_analysis<br>    - cost_impact_estimation<br>  forbidden:<br>    - implementation_details</pre><h3>The “aha” moment</h3><p>Agent as Code started to feel very similar to Infrastructure as Code (IaC).</p><p>In IaC, we moved away from manually configuring servers and clicking around in dashboards. Instead, we defined infrastructure declaratively. We wrote code that described the desired state of our systems.</p><p>Agent as Code does something similar, but at a different layer.</p><p>Instead of declaring networks, clusters, or permissions, you declare:</p><ul><li>how decisions are made</li><li>how trade-offs are evaluated</li><li>how responsibilities are split</li><li>how collaboration happens</li></ul><p>You are no longer “talking to an AI.” You are designing a team.</p><h3>What Agent as Code Inherits from IaC</h3><h3>1. Declarative over imperative</h3><p>You don’t micromanage every response. You declare the behavior you want and let the system operate within those boundaries.</p><h3>2. Versioning and traceability</h3><p>Agent definitions live in Git. Changes are visible. Reviewable. Rollbackable. You can literally answer questions like:<br> <em>“When did we change how the Architect reasons about scalability vs. cost?”</em></p><h3>3. Reproducibility</h3><p>The same agent configuration can be reused across projects, teams, or environments, just like spinning up the same infrastructure in dev, staging, and prod. But here’s an important distinction: you’re reproducing the setup, not the exact outcomes.<br>Think of it this way:</p><p>Infrastructure: Same inputs → same outputs (deterministic)</p><p>Agents: Same configuration → same decision framework (but outcomes can vary)</p><p>When you deploy the same PM agent definition across three projects, you get:</p><ul><li>Same constraints (“challenge over-engineering”)</li><li>Same decision principles (“validate assumptions early”)</li><li>Same tool access (can analyze requirements, cannot write code)</li><li>NOT identical word-for-word responses</li></ul><p>This is actually a feature, not a bug. The agent adapts to each project’s context while maintaining consistent values and guardrails.</p><p><strong>Pro tip</strong>: To minimize variance when you need it, pin your model version (like `claude-sonnet-4.5`) and set `temperature: 0.0` in your agent config.</p><h3>4. From many ad-hoc solutions to standardized agent behavior</h3><p>Without Agent as Code, every team member solves the same problem with their own handcrafted prompt. One person’s “write me a PRD” prompt looks nothing like another’s. Knowledge stays siloed, and teams waste time reinventing the wheel.</p><p>Agent as Code changes this. You define your PM agent once, and every team member gets:</p><ul><li>The same “challenge over-engineering” mindset</li><li>The same escalation policies</li><li>The same decision-making framework</li></ul><p>This reduces fragmentation which means that your team speaks the same language and follows the same playbook.</p><p><strong>But what about flexibility?</strong></p><p>Standardization is useful, but it shouldn’t limit teams. Good agent systems need easy ways to make exceptions.</p><p>Feature flags: Enable/disable specific agent capabilities per team <br>Example: The mobile team might enable “native platform constraints” while the web team keeps it disabled</p><p>In this way we have a shared foundation but with room to adapt.</p><h3>Where the Analogy Breaks</h3><p>Infrastructure is deterministic. Agents are probabilistic</p><p>The same agent configuration won’t produce bit-identical results every time. Context, model behavior, and external tools introduce variability.</p><p>This is the sharp edge that needs addressing in production. This topic I will cover in my next blog.</p><h3>Why Agent as Code Matters</h3><p>Agentic systems are moving fast, but without structure, they risk becoming unmaintainable, untrustworthy, and impossible to operate in real organizations.<br>Agent as Code introduces:</p><ul><li>operability</li><li>auditability</li><li>scalability</li><li>and shared ownership</li></ul><p>This shift allows organizations to expand AI adoption without compromising quality and consistency.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2da9c3ef5b99" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Product management and segmentation]]></title>
            <link>https://medium.com/@esjona_musta/product-management-and-segmentation-b961af577aa1?source=rss-f71659e28bf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/b961af577aa1</guid>
            <category><![CDATA[product-management]]></category>
            <dc:creator><![CDATA[Esjona Musta]]></dc:creator>
            <pubDate>Fri, 01 Aug 2025 15:59:33 GMT</pubDate>
            <atom:updated>2025-08-01T15:59:33.020Z</atom:updated>
            <content:encoded><![CDATA[<h2>Does establishing true product ownership with decision-making authority mean limiting customer influence?</h2><p>I recently read the book From Project to Product Mode by Sebastian Borggrewe. and Thomas Hartmann. I highly recommend it to anyone looking for clear and practical guidance on navigating this transition. While this book, gives concrete practices on how to make this difference, it doesn’t argue that product thinking is superior. That is a strategic decision.</p><p>What I really love about this book is that it answered a question I’ve long struggled with.</p><p>Does establishing true product ownership with decision-making authority mean limiting customer influence?</p><p>The answer was no, establishing true product ownership means balancing customer input with strategic, empowered decision-making by product teams.</p><p>A popular analogy</p><p>Think of the product owner as a chef:</p><p>•	Customers describe their hunger, tastes, and preferences.</p><p>•	The chef listens carefully – but decides what dish to create based on ingredients, technique, and long-term reputation.</p><p>While this balance is something we often acknowledge in theory, the book goes further by offering concrete, actionable steps on how to operationalize it.</p><p>One step that the book suggests and I would like to share today is Segmentation.</p><p>In product mode rather than building custom features for every request, successful product teams:</p><p>•	Group customers into meaningful segments,</p><p>•	Identify shared problems or opportunities within those groups,</p><p>•	And develop solutions that scale across them.</p><p>In project mode companies, products are often fully customized to meet the specific needs of individual customers. Each implementation becomes a standalone project.</p><p>Coming from DevOps, I’ve always valued reliability, scalability, and efficient delivery. Over time, I’ve become increasingly passionate about how to connect those technical contributions to the bigger picture – understanding how they drive real product value and create meaningful impact for users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IWixiFOYWtAFffG3klFdvw@2x.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b961af577aa1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Much Refinement Is Enough? Here’s What Actually Works]]></title>
            <link>https://medium.com/@esjona_musta/how-much-refinement-is-enough-heres-what-actually-works-5f7d90bfb2cc?source=rss-f71659e28bf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f7d90bfb2cc</guid>
            <dc:creator><![CDATA[Esjona Musta]]></dc:creator>
            <pubDate>Tue, 03 Jun 2025 15:48:31 GMT</pubDate>
            <atom:updated>2025-06-03T15:48:31.455Z</atom:updated>
            <content:encoded><![CDATA[<p>A DevOps engineer reading an Agile book? Yes, that’s me! You might be wondering how I ended up in this situation.</p><p>I’ve been working in Agile teams for a while now, doing all the usual things like planning, stand-ups, and retrospectives. But lately, I’ve been reflecting more deeply on one thing in particular: <strong>refinement</strong>.</p><p>Refinement is where the team gets together to clarify upcoming work: we talk scope, identify risks, and prepare stories for sprint planning. But here’s the problem I kept running into: <strong>how much is enough?</strong></p><p>I often found myself walking the tightrope between over-analyzing a ticket and coming unprepared. That’s when I discovered a concept that stuck with me:</p><p><strong>“Just Enough Refinement.”</strong></p><p>It means preparing a story with <strong>just enough clarity</strong> to start confidently, without designing the whole solution upfront.</p><p>Here’s how we apply it:</p><p>🔹 <strong>Time-box it.</strong></p><p>Limit refinement to around 10% of sprint capacity. It keeps us from spiraling into analysis paralysis and focuses on identifying <strong>risks, dependencies, and complexity</strong>, not designing every detail.</p><p>🔹 <strong>Use the ‘Definition of Ready’.</strong></p><p>Our team created a checklist for when a story is ready for planning:</p><ul><li>Clear acceptance criteria</li><li>Dependencies identified</li><li>Testable outcomes</li><li>A shared understanding of scope<br> If a ticket doesn’t meet this bar, it’s not ready, but we don’t expect a design doc either.</li></ul><p>🔹 <strong>Focus on the ‘what’ and ‘why’, not the ‘how’.</strong></p><p>Refinement is about:</p><ul><li>What the story is about</li><li>Why it matters</li><li>Any unknowns or blockers to estimating<br> We leave implementation decisions for when we start the actual work — unless there’s uncertainty we truly need to reduce first.</li></ul><p>🔹 <strong>Use ‘spikes’ for big unknowns.</strong></p><p>If there’s real technical risk (like unclear API behavior), we carve out time-boxed spikes to explore, test, and come back with just enough insight to move forward.</p><p><strong>And here’s the big one: embrace the unknown.</strong></p><p>Even well-prepared tickets can surprise you. A healthy Agile team doesn’t aim to prevent every mid-sprint twist — it learns to respond gracefully when they happen. That mindset shift — from perfection to adaptability — is the heart of real agility.</p><p><strong>When your sprint goes off-script, how does your team react?</strong></p><p>Do you swarm, re-scope, or pause and reassess? I’d love to hear how others stay adaptable when the unexpected hits mid-sprint.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TwytYpr49Z7_9HYUPUVq8Q.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f7d90bfb2cc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Feature Flags for Temporary Features: Smart Move or Future Tech Debt?]]></title>
            <link>https://medium.com/@esjona_musta/feature-flags-for-temporary-features-smart-move-or-future-tech-debt-465e2eee32f6?source=rss-f71659e28bf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/465e2eee32f6</guid>
            <dc:creator><![CDATA[Esjona Musta]]></dc:creator>
            <pubDate>Mon, 05 May 2025 07:24:50 GMT</pubDate>
            <atom:updated>2025-05-05T10:45:13.045Z</atom:updated>
            <content:encoded><![CDATA[<p>Feature flags are one of those tools that make you feel powerful as an engineer. Flip a switch, and voilà — a feature is live (or hidden). You can deploy without releasing, test in production, and roll out gradually. It’s a beautiful thing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z0ehll_t1GsbAnslmJUHwA.png" /></figure><p>But what happens when that feature is only meant to live for a <strong>short time</strong>?</p><p>Let’s say you have:</p><ul><li>A promo running for one month</li><li>A temporary algorithm tweak for a seasonal spike</li><li>A region-specific feature for an event or legal requirement</li><li>A timeout adjustment during a known high-traffic period</li></ul><p>It feels like the responsible thing to do is wrap it in a <strong>feature flag</strong>. So you do.</p><p>But then 30 days go by. Then 60. The promo ends, but the flag stays. The feature is still there — silently sitting in your codebase, behind a toggle that nobody remembers to clean up.</p><h3>The Case for Flags in Temporary Features</h3><p>To be fair, there are <strong>very good reasons</strong> to use feature flags in these cases:</p><ul><li>You may need to <strong>disable quickly</strong> if something goes wrong</li><li>You want to <strong>test in production</strong> without affecting all users</li><li>Business stakeholders want <strong>control</strong> over when something appears or disappears</li><li>The feature’s success is still uncertain, so you hedge your bets</li></ul><p>In those moments, a flag feels like the right move. But temporary features are like houseguests — they’re supposed to leave. And when they don’t, things get messy. :D</p><h3>When Feature Flags Become Tech Debt</h3><p>The problem isn’t the flag itself — it’s what happens when there’s <strong>no plan to remove it</strong>.</p><p>Leftover flags can:</p><ul><li>Increase code complexity and cognitive load</li><li>Confuse new developers (“why is this even here?”)</li><li>Break your assumptions during refactors</li><li>Interfere with logging, metrics, and behavior tracking</li><li>Cause inconsistencies if flags are enabled/disabled in unexpected ways</li></ul><p>It’s ironic: the very thing you added to be <em>safe</em> is now a potential risk.</p><h3>So What’s the Strategy?</h3><p>Here are a few strategies to be considered:</p><h3>1. Expiration Dates on Flags</h3><p>Assign a clear <strong>expiration date</strong> when the flag is introduced. Some tools (like LaunchDarkly or Unleash) support setting this directly. At minimum, make it explicit in code or config.</p><blockquote><em>“This flag should be removed after June 30, 2025.”</em></blockquote><h3>2. Cleanup Tickets on Day 1</h3><p>Treat it like you would technical debt: open a ticket for removing the flag the moment it’s added. Put it in the same sprint — or better, tie it to the feature’s sunset milestone.</p><h3>3. Use Naming Conventions</h3><p>Prefix short-lived flags with temp_ or exp_. It helps visually distinguish them in dashboards and during audits.</p><blockquote><em>Example: </em><em>exp_promo_banner_june_2025</em></blockquote><h3>4. Automate Detection</h3><p>Some teams build internal scripts or linters to detect:</p><ul><li>Flags not referenced in any config (dead flags)</li><li>Flags older than X days</li><li>Flags with known “temporary” prefixes</li></ul><h3>5. Avoid Flags for Short Features</h3><p>Controversial, but valid: if the feature is <strong>guaranteed to be short-lived and low-risk</strong>, ship it without a flag and roll back with Git. This assumes strong confidence in test coverage and business timelines.</p><h3>Final Thoughts</h3><p>Feature flags are amazing tools — but like all tools, they come with tradeoffs. When used for <strong>short-lived features</strong>, the line between smart engineering and future tech debt can be blurry.</p><p>The key isn’t to stop using them. The key is to build <strong>a culture and process</strong> around flag lifecycle management.</p><p>So here’s the question I’d love to throw to the community:</p><blockquote><strong><em>How does your team manage temporary feature flags — and what’s worked best to keep your codebase clean?</em></strong></blockquote><p>Let’s share ideas, share wins and share horror stories, which are sometimes the best way to learn. The cleaner our codebases, the happier our future selves. ❤</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=465e2eee32f6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Transitioning from Manual Monitoring to Automated Solutions at Local Engine for Offers — A REWE…]]></title>
            <link>https://medium.com/@esjona_musta/transitioning-from-manual-monitoring-to-automated-solutions-at-local-engine-for-offers-a-rewe-5b054e4a7452?source=rss-f71659e28bf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/5b054e4a7452</guid>
            <dc:creator><![CDATA[Esjona Musta]]></dc:creator>
            <pubDate>Fri, 25 Apr 2025 12:06:10 GMT</pubDate>
            <atom:updated>2025-04-25T12:06:10.150Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>Transitioning from Manual Monitoring to Automated Solutions at Local Engine for Offers — A REWE Analytics product</strong></h4><p>In the world of enterprise systems, monitoring and alerting on failures is an essential, yet time-consuming process. Before automating our monitoring pipeline, we faced a significant challenge: every time a failure occurred in our data processing pipeline, someone had to manually check the logs, investigate the issue, and inform the stakeholders about the failure. This process was time-consuming and prone to human error.</p><p>Once the issue was identified in the logs, we had to go through the extra step of communicating the failure details through <strong>Microsoft Teams</strong> and requesting the necessary fixes. This resulted in significant delays and inefficiencies, especially during peak periods when multiple issues could arise simultaneously.</p><p>The process looked something like this:</p><p><strong>Detect the failure</strong>: Manually sifting through logs to figure out why the pipeline failed.</p><p><strong>Communicate the issue</strong>: Reaching out to stakeholders via Teams, explaining the failure, and asking them to resolve it.</p><p><strong>Wait for resolution</strong>: Often having to wait for feedback or updates before proceeding.</p><p>The manual nature of this process led to a lot of back-and-forth communication, ultimately impacting business performance.</p><h4>The Need for Automation</h4><p>We, Local Engine for Offers, a REWE Analytics product, needed a solution that would streamline the process and move away from manual checks and communication. The goal was to <strong>automate the monitoring and alerting</strong>, enabling instant, real-time notifications to stakeholders whenever a failure was detected, <strong>without</strong> requiring constant human intervention.</p><p>Solution Overview (High-level Architecture)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pBYUQRbavwfqejV12mgnvQ.png" /><figcaption>High-Level Architecture</figcaption></figure><h4>Step 1: Log Source</h4><p>First, we define the <em>log source</em> where the system is supposed to detect potential issues. This log could be from an application, database, or any external service that generates logs indicating issues. The system might analyze errors, warnings, or any other specific conditions that require attention.</p><p>Example: Application logs, server logs, etc.</p><p>The log data might look like this:</p><pre>2025-04-24 10:03:00 - ERROR: Missing configuration file in /path/to/file</pre><h4>Step 2: Python Function to Detect Issues</h4><p>Once the log source is set up, the next step is creating a <strong>Python function</strong> that continuously monitors the log. The function will identify specific issues, errors, or any conditions defined as “problems.”</p><pre>import logging<br><br>def detect_issue(log_data):<br>    # Define error keywords that indicate issues<br>    error_keywords = [&quot;ERROR&quot;, &quot;FAIL&quot;, &quot;EXCEPTION&quot;]<br>    <br>    # If an error keyword is found in log data, the function will trigger further actions<br>    if any(keyword in log_data for keyword in error_keywords):<br>        logging.error(f&quot;Issue detected: {log_data}&quot;)<br>        return True<br>    return False</pre><p>This Python function will:</p><ul><li>Parse logs line by line.</li><li>Look for specific keywords that indicate issues (like ERROR, FAIL, EXCEPTION).</li><li>If a keyword is found, it will return True, signaling that an issue was detected.</li></ul><h4>Step 3: Saving the Issue in Google Cloud Storage (GCS)</h4><p>Once an issue is detected, we save the issue in <strong>Google Cloud Storage (GCS)</strong>. This ensures that the detected issues are securely stored and available for further processing.</p><pre>from google.cloud import storage<br>import json<br><br>def save_to_gcs(issue_data, bucket_name, file_name):<br>    # Initialize the GCS client<br>    client = storage.Client()<br>    bucket = client.bucket(bucket_name)<br>    <br>    # Create the blob (file) and upload the issue data<br>    blob = bucket.blob(file_name)<br>    blob.upload_from_string(json.dumps(issue_data))<br>    print(f&quot;Issue saved to GCS: {file_name}&quot;)</pre><p>Here:</p><ul><li>The issue is serialized into a JSON format.</li><li>The function then uploads the issue to the specified GCS bucket.</li></ul><h4>Step 4: Google Cloud Function Triggers on GCS File Upload</h4><p>After the issue is saved in GCS, a <strong>Cloud Function</strong> is triggered automatically. Cloud Functions are event-driven, meaning they can be configured to run in response to certain events, like a new file being uploaded to GCS.</p><pre>module &quot;cloud_function_log_trigger&quot; {<br>  source  = &quot;../module/cloud_function&quot;<br>  region  = var.region<br>  env     = var.env<br>  label   = var.label<br>  bucket_num = var.bucket_num<br><br>  airflow_uri = module.composer.airflow_web_server_uri<br>  depends_on = [<br>    module.<br>  ]<br><br>  cloud_function_name    = &quot;log-trigger-function-${var.env}&quot;<br>  dag_name               = &quot;trigger_email_dag&quot;<br>  event_trigger          = &quot;alert-${var.env}-${var.bucket_num}&quot;<br>  event_trigger_type     = &quot;google.storage.object.finalize&quot;<br>  cloud_function_bucket  = &quot;log-${var.env}-function&quot;<br>  cloudfunction_email    = data.google_service_account.cloud_run.email<br>}terr</pre><ul><li><strong>module &quot;cloud_function_log_trigger&quot;</strong>: This block is where you define the Cloud Function trigger in Terraform. The function will be triggered by a file upload event in a specific Google Cloud Storage (GCS) bucket.</li><li><strong>Variables</strong>: The var.env, var.label, var.bucket_num are used to customize the function per environment and other settings.</li><li><strong>Cloud Function Name</strong>: It dynamically adjusts based on the environment with the ${var.env}.</li><li><strong>Airflow and Event Trigger</strong>: The Cloud Function is set to trigger an Airflow DAG (e.g., trigger_email_dag) when a GCS object is finalized (uploaded) with a matching event trigger name.</li></ul><h4>Step 5: Trigger Airflow DAG</h4><p>Once the Cloud Function is triggered, it sends an HTTP request to an <strong>Airflow DAG</strong> to process the file further. The DAG will be responsible for:</p><ul><li>Fetching the file content.</li><li>Reformatting the data into a table structure.</li><li>Sending the table as an email and through a Microsoft Teams webhook.</li></ul><pre><br>| **Task Name**              | **Operator**            | **Description**                                                            |<br>|----------------------------|-------------------------|----------------------------------------------------------------------------|<br>| `check_uploaded_file`       | `ShortCircuitOperator`  | Validates the file name pattern (e.g., contains &quot;&quot; and ends with `.json`). |<br>| `copy_log_file`             | `BashOperator`          | Uses `gsutil` to fetch logs from Google Cloud Storage (GCS).               |<br>| `create_dirs`               | `BashOperator`          | Prepares the `/tmp` local directory for use, creating necessary directories and cleaning up old files. |<br>| `parse_file`                | `PythonOperator`        | Reads and parses the last line of the log file as JSON and converts it into an HTML table. |<br>| `read_keyfile`              | `PythonOperator`        | Loads the service account key from Airflow Variables and writes it to a local file. |<br>| `send_email`                | `PythonOperator`        | Sends an email with HTML content to notify users about the issue via SMTP. |<br>| `send_teams_notification`   | `PythonOperator`        | Sends a notification to a Microsoft Teams channel using a webhook to notify the team about the issue. |</pre><h4>Step 6: Sending Notifications</h4><p>Finally, after the table is processed, the system sends notifications. These notifications are in two formats:</p><p><strong>Email</strong>: A formatted email with the table data is sent to the recipients.</p><p><strong>Microsoft Teams</strong>: A message with the same data is sent to a Microsoft Teams channel via a webhook.</p><h4>Conclusion:</h4><p>In this way we created an automated, efficient system for monitoring logs, detecting issues, and notifying stakeholders via email and chat platforms. This approach can be scaled for large systems and ensures that issues are flagged and communicated in real time.</p><p>If you found this blog helpful, feel free to leave your comments below or share your experience with implementing such a system.</p><p>See you soon Esjona</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5b054e4a7452" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From IT Ping Pong to DevOps: The Power of Collaboration]]></title>
            <link>https://medium.com/@esjona_musta/from-it-ping-pong-to-devops-the-power-of-collaboration-721237feb89b?source=rss-f71659e28bf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/721237feb89b</guid>
            <dc:creator><![CDATA[Esjona Musta]]></dc:creator>
            <pubDate>Wed, 27 Nov 2024 14:33:07 GMT</pubDate>
            <atom:updated>2024-11-27T15:36:27.591Z</atom:updated>
            <content:encoded><![CDATA[<p>In the old days of IT, there were two main groups: developers and operations. They often blamed each other when something went wrong. This back-and-forth was like a game of ”IT Ping Pong”. Developers would say, “It’s the servers,” and operations would respond, “No, it’s the code!”</p><p>Then came DevOps, a revolutionary idea: ”What if we worked together?” Instead of finger-pointing, developers and operations started to collaborate, sharing responsibilities, improving communication, and utilizing tools that fostered teamwork. The result? Problems were solved faster, and the overall outcomes improved.</p><p><strong>Key Takeaways from DevOps</strong></p><p>DevOps teaches us that collaboration is often more effective than working in isolation. This lesson isn’t just limited to IT — it applies to many aspects of life.</p><p><strong>A Personal Lesson in Collaboration</strong></p><p>I first experienced the power of collaboration during my time at university. I was stuck on a challenging task and decided to ask a friend for help. We successfully completed the task, but when the professor reviewed it, he quickly noticed that it wasn’t entirely my work. Nervously, I confessed, “My friend helped me.”</p><p>To my surprise, the professor responded:</p><blockquote>“When you acknowledge help, you show that you’re a collaborator. It means people like to work with you.”</blockquote><p>This moment was a turning point. I had always tried to tackle everything on my own, but I now understood that working together can be far more effective. Collaboration not only enhances efficiency but also helps build strong relationships — relationships that are essential for both career growth and personal development. You don’t need to be best friends with your colleagues or business partners, but you do need to be someone they can rely on.</p><p>Being known as someone who keeps their word and delivers on promises is powerful. That trust becomes a bridge to greater opportunities.</p><p><strong>Avoiding the Collaboration Bottleneck</strong></p><p>While collaboration can be incredibly beneficial, it can also become a bottleneck if roles are unclear. Teams may lean too heavily on one person, which can slow down progress. Here’s how to prevent that from happening:</p><p><strong>Define Roles Clearly</strong><br>Use a RACI matrix (Responsible, Accountable, Consulted, Informed) to clearly outline who is responsible for what. This helps keep everyone on track and prevents burnout.<br> <br><strong>Encourage Knowledge Sharing</strong><br>Don’t allow knowledge to remain in the hands of one person. Hold regular knowledge-sharing sessions and ensure that all important information is well documented. This empowers the entire team.<br> <br><strong>Utilize Collaboration Tools</strong><br>Leverage project management tools like Jira, Trello, or Asana to track progress and assign tasks. These tools help keep the workflow organized and efficient.<br> <br><strong>Teach Delegation Skills</strong><br>It’s essential that team members know when and how to delegate tasks. By fostering a culture of delegation, you encourage independence and ensure that the team continues to move forward smoothly.<br> <strong><br>Conclusion</strong><br>By clearly defining roles, encouraging knowledge sharing, utilizing the right tools, and fostering a culture of delegation, we can prevent collaboration from becoming a bottleneck and <strong>unlock</strong> the full potential of the team.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=721237feb89b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[When was the last time you did something for the first time?]]></title>
            <link>https://medium.com/@esjona_musta/when-was-the-last-time-you-did-something-for-the-first-time-73f3fed0a695?source=rss-f71659e28bf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/73f3fed0a695</guid>
            <dc:creator><![CDATA[Esjona Musta]]></dc:creator>
            <pubDate>Thu, 17 Oct 2024 07:05:56 GMT</pubDate>
            <atom:updated>2024-10-17T07:05:56.878Z</atom:updated>
            <content:encoded><![CDATA[<p>For me, on Sunday as I crossed the finish line of my very first half marathon.</p><p>Growing up, sports weren’t a significant part of my life. If someone had told my younger self that one day I would run 21.1 kilometers — and actually enjoy it — she would have laughed, returned to her book, and spent her afternoons either behind the laptop or studying for the next math exam.</p><p>However, as I grew up, I began to realize the importance of physical activity — not just for the body but for the mind and spirit as well. That’s when I knew I needed to set myself a challenge. Something that would push me, maybe even scare me a little at first, but ultimately give me the drive to train with a goal in mind.</p><p>At <a href="https://www.linkedin.com/company/rewedigital/">REWE digital</a> <a href="https://www.linkedin.com/company/rewegroup/">REWE Group</a>, where I work, I found the perfect opportunity. The company was sponsoring the Cologne half marathon, and with that, I decided to take the plunge. I signed up and started training. There were plenty of days when I doubted myself, when the training felt tough, and running 21 kilometers seemed like a distant dream. In fact, I remember my first run back in April, where I barely managed to complete 5 kilometers. Fast forward to October, and that final run was the half marathon itself.</p><p>The best part? For every kilometer I ran, <a href="https://www.linkedin.com/company/rewegroup/">REWE Group</a> donated 1 Euro to HistiozytoseHilfe e.V., turning my personal achievement into something even more meaningful.</p><p>The race day experience in Cologne was unforgettable. The streets were packed with cheering spectators, some singing Carnival songs while others encouraged us as we ran toward the iconic Cologne Cathedral. The energy was contagious — some runners even danced along the route, and I was definitely one of them!</p><p>As I crossed the finish line, the same thought I have before any big challenge came back: “What if I fail?” But in that moment, it changed into something stronger: “What if I succeed?” After finishing my first half marathon, I knew the challenge was worth it — because I discovered a new side of myself that I wouldn’t have found if I hadn’t tried.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2MgeSRGhV-3DZsLDcOUGvg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=73f3fed0a695" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Preparing for Your First DevOps Interview: 10 Questions and Helpful Tips]]></title>
            <link>https://medium.com/@esjona_musta/preparing-for-your-first-junior-devops-interview-10-questions-and-helpful-tips-67b98b55742e?source=rss-f71659e28bf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/67b98b55742e</guid>
            <dc:creator><![CDATA[Esjona Musta]]></dc:creator>
            <pubDate>Sun, 28 Jul 2024 22:26:48 GMT</pubDate>
            <atom:updated>2024-07-28T22:35:13.091Z</atom:updated>
            <content:encoded><![CDATA[<p>As promised in my <a href="https://medium.com/@esjonamusta_devopsengineer/my-journey-to-becoming-a-devops-engineer-957fc61b1b7c">first blog</a> in this blog, I will share with you some of the DevOps interview questions that I was asked in interviews when applying for a DevOps engineer position.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/996/1*RsGqkO_EXOdZeOF22zRRgw.jpeg" /></figure><p>They say “preparation is half the battle,” and this applies to DevOps interviews as well. When you’re applying for a job that you’ve never done before, knowing how broad the DevOps field is, you can sometimes feel overwhelmed by all the information you think you should know for the interview. That was me. For everyone which is in the same situation that I was here are my tips:</p><p>If you have applied for the job and are invited to the interview, always ask for the agenda.<br>If the agenda says it’s going to be technical, go over the job description. Check again what you are expected to know and what tech stack you would be using if you were accepted.<br>Create tech-stack keywords and start your own research. For each tech stack, there are plenty of articles on Medium where you can find related interview questions, including this one.</p><p><strong>1. Why do you believe DevOps is the right career path for you?</strong></p><p><em>Answer:</em> <br>This response should reflect your interests, skills and experience, as well as your career goals and value you bring to the organization.<br><em>Example:</em><br>I believe DevOps is the right career path for me due to my diverse background as a Software Developer, IT Project Manager, and Database Administrator, which gives me a comprehensive view of the software lifecycle. I am passionate about automation, CI/CD pipelines, and developing softwares that enhance productivity and reliability. My experience has taught me the importance of collaboration and communication between development and operations teams, which is crucial for successful DevOps practices. I am excited to continue growing my expertise in cloud technologies and containerization, contributing to operational efficiency and high-quality software delivery.</p><p><strong>2. What tools have you already used for automation and can you describe how these tools work together?</strong></p><p><em>Answer:</em> <br>I have used tools for automation, including Ansible, Terraform, Docker, Kubernetes, Git, and GCP. <br>An overview of how these tools work together would be:<br>Developer pushes code to Git. CI pipeline builds a Docker image and pushes it to a registry. Terraform deploys infrastructure to GCP. Ansible configures the deployed infrastructure. CD pipeline deploys the Docker image to a Kubernetes cluster managed by GKE. Kubernetes ensures the application runs reliably and scales as needed.</p><p><strong>3. What strategies are implemented to ensure code quality in a DevOps environment?</strong></p><p><em>Answer:</em> <br>In a DevOps environment, code quality is ensured through the use of continuous integration and comprehensive testing practices.<br>This involves running <strong>automated tests</strong> at every stage of the pipeline. You can achieve this by using a testing framework, such as JUnit for Java or PyTest for Python, to automatically run unit tests as part of the CI/CD pipeline.<br><strong>Code reviews:</strong> Using a platform such as GitHub, you can enforce code reviews before committing changes to the main branch. <br><strong>Code analysis tool:</strong> Use SonarQube, a static code analysis tool, to check the quality of code. It analyses code for bugs and vulnerabilities across multiple programming languages. <br><strong>Metrics </strong>monitoring is also used to maintain code quality. Prometheus and Grafana are used to monitor metrics such as test coverage, code complexity and build success rates.</p><p><strong>4. How do continuous delivery and continuous deployment differ?</strong></p><p><em>Answer:</em> <br><strong>Continuous Delivery Workflow:</strong> Commit Code -&gt; 2. Automated Build -&gt; 3. Automated Tests -&gt; 4. Deploy to Staging -&gt; 5. Manual Approval -&gt; 6. Deploy to Production<br><strong>Continuous Deployment Workflow:</strong> Commit Code -&gt; 2. Automated Build -&gt; 3. Automated Tests -&gt; 4. Deploy to Staging -&gt; 5. Automated Deploy to Production<br><strong>When to use each:</strong><br>Continuous Delivery: Suitable for organizations that require an extra layer of approval before releasing to production. Ideal for environments where regulatory compliance, extensive QA, or manual testing is necessary.<br>Continuous Deployment: Suitable for organizations that prioritize rapid innovation and can rely on automated testing and monitoring to maintain production stability.</p><p><strong>5. What is the difference between Ansible and Terraform?</strong></p><p><em>Answer:</em> <br><strong>Ansible</strong> is particularly effective for configuration management, application deployment, and automating tasks on existing infrastructure. It is agentless, uses YAML for configuration, and is stateless.<br><strong>Terraform</strong> is ideal for deploying and managing infrastructure as code, maintaining a state file to track infrastructure changes, and using HCL for configuration. It is stateful and takes a declarative approach.<br><strong>Combine Both:</strong><br>In many real-world scenarios, both tools can be used together to leverage their strengths:<br>Scenario: Complete deployment workflow for a microservices application.<br>Terraform is used to provision the infrastructure on GCP, including virtual machines, Kubernetes clusters, and networking.<br>Ansible is then used to configure the virtual machines, install the necessary software, and deploy applications on top of the provisioned infrastructure.</p><p><strong>6. What is containerization, and how does it relate to DevOps?</strong></p><p><em>Answer:</em> <br>Containerization involves bundling an application together with all of its related configuration files, libraries and dependencies required for it to run in an efficient and bug-free way across different computing environments.Containerization involves packaging an application along with its dependencies into a container.</p><p>Containerization helps DevOps by:<br><strong>Consistency Across Environments:</strong> Makes sure applications run the same everywhere, reducing deployment problems.<br><strong>Isolation and Resource Efficiency:</strong> Keeps applications separate, using resources efficiently.<br><strong>Faster Deployment and Rollback:</strong> Allows quick deployment and easy rollback.<br><strong>Microservices Architecture:</strong> Supports running separate, independent microservices.<br><strong>Automation and Orchestration:</strong> Uses tools like Kubernetes to automate container management.<br><strong>Improved Collaboration:</strong> Creates standard environments for both development and operations teams.<br><strong>CI/CD Integration: </strong>Easily connects with CI/CD pipelines for automated building, testing, and deployment.</p><p><strong>7. What is the difference between Containers and VMs?</strong></p><p><em>Answer: </em><br><strong>Containers:</strong><br>Share the host OS kernel, leading to lower overhead and faster performance.<br>Isolate applications at the process level.<br>Highly portable and consistent across different environments.<br>Managed by orchestration tools like Kubernetes.</p><p><strong>Virtual Machines (VMs):</strong><br>Run full OS instances on virtualized hardware, resulting in higher overhead.<br>Fully isolated at the hardware level.<br>Less portable due to dependency on specific hypervisors and hardware.<br>Managed by hypervisors, providing robust isolation and resource management.</p><p><strong>8. What is the difference between Site Reliability and DevOps?</strong></p><p><em>Answer: </em><br><strong>DevOps:</strong><br>Focus: Improves collaboration between development (Dev) and operations (Ops) teams.<br>Purpose: Streamlines software delivery through automation, continuous integration/continuous delivery (CI/CD), and cultural change.</p><p><strong>SRE:</strong><br>Focus: Ensures the reliability, availability, and performance of systems.<br>Purpose: Applies software engineering to operations problems, using metrics like Service Level Objectives (SLOs) and automating to minimize downtime.</p><p>Sometimes, these roles overlap and perform similar functions. Both DevOps and SRE aim to enhance the efficiency and reliability of software delivery and operations. For example, both might be involved in automating deployment processes, monitoring system performance, and ensuring quick recovery from failures. In some organizations, the responsibilities and tasks of DevOps and SRE teams can be very similar, making the distinction between the two roles less pronounced.</p><p><strong>9. How do you ensure security in a DevOps pipeline?</strong></p><p><em>Answer:</em> <br><strong>Shift Left Security: </strong>Integrate security early in the development process, from code creation to deployment.<br><strong>Continuous Integration (CI): </strong>Automated Testing: Include security tests in the CI pipeline to catch vulnerabilities early.<br><strong>Infrastructure as Code (IaC):</strong> Use tools like Terraform and Ansible securely by following best practices, such as least privilege and avoiding hard-coded secrets</p><p><strong>10. What are some of the DevOps trends in 2024?</strong></p><p><em>Answer:</em> <br>In 2024, we are seeing some important trends in DevOps:<br><strong>AI-Driven Monitoring:</strong> Using AI to quickly analyze logs, metrics, and traces helps detect and respond to incidents faster. AI is making slowly progress in this area.<br><strong>Hybrid Cloud:</strong> Companies are understanding what works best in the cloud and what works best on-premise. They are using data to make better decisions by monitoring performance, costs, and usage in both environments.<br><strong>Enterprise Tool Improvement:</strong> While there are many tools available, the focus is now on making these tools better for large companies. This includes improving their ability to scale, secure, and integrate.<br><strong>Secret Management and Security: </strong>Tools for managing secrets, like sealed secrets and Vaults, are becoming more important. They help keep sensitive information secure, which is a key concern in DevOps.<br><strong>Software Bill of Materials (SBOM):</strong> SBOM is getting more and more attention. It’s a detailed list of all components in a software product, which is important for managing security, compliance, and software quality.</p><p>And as per last tip:</p><p><strong>See the interview as a learning experience.</strong><br>There will always be questions you don’t know the answer to. At least this has happened to me. In this case, treat the question as a learning experience. Let the interviewer know that you do not know the answer, but you would like to learn it. You can turn the question into a discussion where you can also get input from the interviewer. This will show your problem-solving skills, demonstrate your communication skills and build a rapport with the interviewer so that the interview feels more like a two-way conversation rather than a one-sided interrogation.</p><p>I hope my blog helps you prepare. Good luck with your interview. If you have any questions, feel free to contact me on my <a href="https://www.linkedin.com/in/esjona-musta/">Linkedin account</a>.</p><p><strong>You GOT it! ❤</strong></p><p>Cheers Esjona</p><p>Sources<br><strong>What Is Containerization?</strong> by Shaan Ray,<a href="https://medium.com/hackernoon/what-is-containerization-83ae53a709a6"> HackerNoon on Medium</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=67b98b55742e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>