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 16–23 of 23 questions
Learn JFrog Artifactory & Nexus →16.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.
17.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.
18.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.
19.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.
20.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.
21.Why does a Maven deploy of an existing release fail?Mid
Release versions must never change, so users without overwrite permission get 403 Forbidden. Publish a new version number instead of overwriting.
22.How do you write the address of a Docker image in Artifactory?Mid
With the repository path method it is HOST/REPOSITORY/IMAGE:TAG, for example repo.example.com/docker-dev-local/shop-api:1.4.2. Sub-domain and port methods also exist, but need extra DNS or ports.
23.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.