Artifact Management
Where build outputs live between CI and production: repository managers, registries, version rules, promotion and proxies. Interviewers probe it because every pipeline stands on it.
on this pageshowhide
explore
- Repository Managers5 questions
- Package Formats & Repository Layouts5 questions
- OCI Registry Model5 questions
- Versioning & Immutability5 questions
- Repository Promotion6 questions
- Dependency Proxying & Caching6 questions
- Retention, Cleanup & Storage5 questions
questions
page 2 of 2When standardising artifact promotion across a company, would you use one repository per stage or one repository with promotion metadata, and why?
basics
~20 sPrefer a repository per stage as the enforcement boundary, because permissions, immutability and retention then attach to the repository; use metadata on top to record builds and approvals. Metadata-only promotion is lighter but depends on every consumer filtering correctly.
Should your organisation air-gap dependency resolution behind an internal repository manager, and what does cutting the public upstream commit you to?
basics
~20 sAir-gapping resolution removes the live upstream, so nothing new arrives except through a transfer you run; it buys isolation at the cost of an import pipeline, delayed versions and an emergency-patch path that someone must own.
Would you give a 300-engineer company one repository manager for Maven, npm, PyPI and container images, or one per ecosystem, and how would you lay out its repositories?
basics
~20 sNo single right answer: one manager gives one identity model, audit trail and HA cluster but one blast radius; separate ones isolate outages but multiply operations. Either way, use typed per-team repositories behind one group URL per format.
Your repository manager and registry hold 40 TB and grow 2 TB a month; what retention policy would you commit the organisation to, and why?
basics
~20 sClassify content by what deleting it costs: proxy caches by last download, snapshots and per-commit builds by keep-newest-N, releases kept long, deployed digests exempt. Add previews, a soft-delete recovery window, a reclaim schedule, team quotas and an owner reviewing growth.
For an organisation's repositories and registries, which version names would you freeze, which may move, and how would you handle a bad release?
basics
~20 sFreeze every release version and version-shaped tag on every server, allow only named aliases and snapshots to move, and fix bad releases with new versions. Rare takedowns delete with approval and never reuse the number.
In NuGet's v3 server API, what is the service index, and why must clients look up resource URLs there instead of hard-coding them?
basics
~20 sThe service index is the JSON entry point of a NuGet v3 package source: a version plus a resources list mapping each @type, such as PackageBaseAddress/3.0.0, to an @id URL. Clients look URLs up there because a source may move them.
In Harbor, QA labels an image as approved, but an event-based replication rule filtered on that label never pushes it to production; why?
basics
~20 sHarbor's event-based replication fires only on pushing, retagging and deleting artifacts; changing a label triggers nothing. The image was pushed before it had the label, so the filter excluded it then, and labelling it later never re-ran the rule.
showing 31–37 of 37