Cloud DevOps Interview Questions: Build and Promotion Evidence

Cloud DevOps interview answers should connect source changes to the software that actually runs. Explain continuous integration, delivery and deployment, then identify the artifact, its configuration and the evidence required for promotion. The worked case below finds that a production candidate uses a rebuilt image instead of the image tested in staging.

Aug 13, 2024 - 12:42
Updated: 
102.3k

DevOps & Platform Engineering in IT Infrastructure · Interview preparation

Cloud DevOps Interview Questions: Build and Promotion Evidence

Quick answer: Cloud DevOps interview answers should connect source changes to the software that actually runs. Explain continuous integration, delivery and deployment, then identify the artifact, its configuration and the evidence required for promotion. The worked case below finds that a production candidate uses a rebuilt image instead of the image tested in staging. Explain the five current DORA metrics alongside that release evidence. The case uses invented records that can be reviewed without running a pipeline.

Key takeaways

  • Keep the tested artifact identifiable throughout promotion.
  • Treat configuration and data compatibility as separate release inputs.
  • Use provenance to investigate origin, with an explicit trust policy.
  • Scope deployment credentials and approval conditions to the intended environment.
  • Use current DORA definitions at the application or service level.

Table of Contents

How do continuous integration, delivery and deployment differ?

Continuous integration combines frequent source integration with automated feedback. Continuous delivery keeps a change releasable after the required checks, with a release decision still available. Continuous deployment automatically releases eligible changes when the required checks pass.

An interviewer may ask whether automation removes accountability. Explain who defines the checks, who owns the service and which exceptions require a decision. A passing job is evidence about the checks it ran; it is not a promise that every possible failure was considered.

For a reporting application, separate unit tests, packaging, environment validation and promotion. If a test fails, the pipeline should identify the stage and retain useful evidence. A developer should be able to distinguish a source defect from a denied registry access without reading an unstructured wall of logs.

Why build an artifact once and promote it by identity?

Rebuilding from the same commit can produce a different artifact when dependencies, base images or build inputs change. Retain the tested artifact and promote that identified output. The Docker image digest guide explains immutable image digests and the difference from reusable tags.

In an invented review, staging tested digest A, but the production candidate's release record shows digest B. Both jobs refer to the same commit and tag. The production job rebuilt the image after a dependency changed. The claim that the candidate is the tested artifact is unsupported.

Hold that promotion until the team identifies the intended artifact and reconciles the release evidence. A digest identifies content; it does not by itself prove that the content is safe or that the publisher is trusted. Multi-platform image references also need the intended platform and manifest context.

Supplied recordMeaningReview action
Commit matches in both jobsSource revision label agreesStill compare build inputs and artifact identity
Staging digest A; production digest BArtifacts differHold the tested-artifact claim
Same tag in both environmentsA reusable label agreesDo not substitute it for immutable identity

What do provenance and an SBOM add to the review?

Provenance describes how an artifact came to exist. The SLSA v1.2 provenance specification explains tracking origin through the supply chain. A reviewer must also decide which builder and attestation source are trusted and whether the stated subject matches the artifact under review.

An SBOM describes components. It can help investigate whether a release includes a particular dependency, but its presence alone does not certify that every component is secure or every vulnerability is known.

For the digest mismatch, compare the build records and declared inputs for A and B. Retain the evidence that explains why they differ. Do not attach the staging evidence for A to B merely because the commit identifier is shared. The release record should make the connection between artifact and supporting evidence explicit.

Does promoting the same image make environments identical?

The image can remain fixed while configuration, secrets, permissions and external services differ. Identify those inputs independently. The Kubernetes Deployment guide describes Deployment revisions and updates; rolling a workload revision back is not equivalent to reversing every external change.

Suppose staging and production use the same image, but production points to an older database schema. The image identity check passes while application compatibility remains unresolved. The release decision must account for that dependency.

A feature flag is another input. It can control exposure of a feature independently of building the image, but flag behaviour still needs testing and ownership. Record the flag state relevant to acceptance. Do not claim an instant, complete rollback if data writes or dependent systems cannot safely return to the earlier behaviour.

How should deployment jobs obtain authority?

Prefer a scoped, short-lived identity arrangement where supported. The GitHub Actions OpenID Connect guide explains GitHub Actions federation with cloud providers. The trust relationship needs restrictions that identify the intended workflow context; exchanging a token does not justify broad access.

Separate build authority from production deployment authority. A job that compiles an image need not automatically change production. Review who can modify the workflow and which events can trigger privileged jobs.

For the reporting application, the promotion identity should be able to perform the intended deployment within its agreed environment. It should not receive unrelated administrative access just because the pipeline is convenient. Keep secret values out of logs and reviewer comments while retaining enough identity context to audit the operation.

What makes an approval gate meaningful?

An approver needs the artifact identity, relevant test results, intended environment, configuration changes and unresolved risks. The GitHub deployment environment guide describes GitHub deployment environments and protection rules, whose availability varies with plan and repository visibility.

In the case, a reviewer approved commit C before digest B existed. That approval cannot establish that B was reviewed. Define whether an approval attaches to a particular artifact and evidence set, and require a new decision when a material input changes.

Automated checks can answer repeatable questions, while owners decide exceptions that need judgement. A gate that only asks someone to click approve without access to the change evidence can delay delivery without making the decision more informed.

Gate inputQuestion for the reviewer
Artifact and provenanceIs this the intended tested output from a trusted build?
Configuration and dependenciesCan this environment use the release correctly?
Acceptance and recovery evidenceWhat will establish success, and what happens if it fails?

Which DORA metrics should you explain now?

The current DORA software delivery performance metrics guide identifies five software delivery performance metrics: change lead time, deployment frequency, failed deployment recovery time, change fail rate and deployment rework rate. Explain their definitions instead of repeating the older fixed four-metric answer.

Use the application or service as the measurement context. A failed deployment recovery measure is narrower than an undefined MTTR that might mix unrelated incidents. Deployment rework rate concerns unplanned deployments arising from production incidents; it is not simply the count of all source edits.

For the reporting team, preserve the definitions and time window when comparing delivery outcomes before and after a pipeline change. Do not rank individual engineers from deployment counts. The measures help the team investigate its delivery process, while the artifact review still needs its own evidence.

Related reading: Cloud native development questions; Infrastructure as code questions.

References

Frequently Asked Questions

No. Unpinned or changed build inputs can alter the output, so compare actual artifact identity and its supporting build evidence.

It identifies content, while publisher trust, vulnerability assessment and application suitability require their own checks and evidence.

Review whether the evidence actually applies to that artifact; a shared tag or commit alone does not establish the connection.

They answer different questions: an SBOM describes components, while provenance describes origin and the process that produced the artifact.

Configuration, secrets, permissions and external dependencies can differ, so acceptance should cover the environment as well as the image.

Federation avoids some long-lived credential handling, but trust conditions and granted permissions still need careful restriction and review.

Its current guide uses five metrics, with deployment rework rate and failed deployment recovery time explicitly included in the definitions.

Compare the supplied staging and production records, explain the digest mismatch and identify which evidence must be reconciled before promotion.

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Wow Wow 0
Sad Sad 0
Angry Angry 0
Anjali

I am passionate about technology, invention and big challenging tasks on my to- do list. In terms of the work I am doing also at Bunnyshell, I am most passionate about the technologies that we are using., I'm devoted to delivering content that not only informs but also inspires. Whether you need in- depth analysis pieces, educational attendants, or study- provoking opinion pieces, I draft content that resonates with tech suckers and professionals likewise.