INTERVIEW PREP
Interview questions
570 questions from real DevOps, SRE, platform engineering and MLOps interviews, with the answer an interviewer wants to hear. Try answering out loud first, then open the model answer.
Showing 1–9 of 9 questions
Learn JFrog Artifactory & Nexus →1.How do you stop storage from growing forever?Senior
Define retention rules, such as removing old snapshots and unused files, while keeping releases and files marked keep=true. Dry run first, delete with AQL or cleanup policies, then run garbage collection to free the space.
2.What does Xray do?Senior
It reads inside artifacts and images, lists the components, and checks them against vulnerability and license data. Policies and watches can fail builds or block downloads, and it can warn later when a new CVE affects a file you shipped.
3.How do you secure a pipeline's access to Artifactory?Senior
Use a dedicated CI user with only the needed permissions, a short-lived token stored as a masked and protected CI variable, or OIDC so no secret is stored. Never use the admin account.
4.How do you make the pipeline safe against vulnerable images?Senior
Scan the image or build in CI with Xray and fail on Critical findings. Only promote images that pass, and use a policy gate or approval before prod.
5.Describe a highly available Artifactory setup.Senior
Two or three nodes in different zones behind a load balancer, one managed PostgreSQL with failover, and shared object storage. Add backups of the database, filestore, config and master key, and test restores.
6.What are RPO and RTO and how do they guide disaster recovery?Senior
RPO is how much data you can afford to lose. RTO is how long you can be down. Short targets need warm standby or active-active with replication. Longer targets can use backup and restore.
7.When would you use federated repositories?Senior
When teams in several regions need the same repository with fast local access. Members stay in sync both ways. For one-way copies or backups, use push or pull replication instead.
8.Your Artifactory is slow. How do you approach it?Senior
Measure first: request times, CPU, memory, database connections, disk and network. Then fix the cause, for example replicate near far teams, reduce huge folders, clean up, tune the database or add nodes, and have CI cache dependencies.
9.Why is replication not a backup?Senior
Replication copies changes, including mistakes. If syncDeletes is on, an accidental delete can spread to every site. You still need separate, tested backups of the database and filestore.