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 91–105 of 490 questions
91.What is dependency confusion and how do you prevent it?MidJFrog Artifactory & Nexus
An attacker publishes a public package with the same name as your private one, hoping tools install it. Prevent it with scoped names, and by making the virtual repository look in your local repository first.
92.What is build info in JFrog?MidJFrog Artifactory & Nexus
A record of one build: the files it produced, the libraries it used, the environment and the Git commit. It lets you trace a file in production back to its source and promote a whole build.
93.How do you give permissions in Artifactory?MidJFrog Artifactory & Nexus
Put users in groups, then create permission targets that give a group actions such as read or deploy on chosen repositories. Use limited, expiring tokens for machines and turn off anonymous access.
94.What is promotion?MidJFrog Artifactory & Nexus
Copying or moving a tested artifact from a dev repository to a prod repository. The file is never rebuilt, so production gets exactly what was tested.
95.What are properties and AQL?MidJFrog Artifactory & Nexus
Properties are key and value labels on files, such as status=approved. AQL is a query language that finds files by repository, date, size and properties.
96.How does Nexus compare to Artifactory?MidJFrog Artifactory & Nexus
They do the same job. Nexus calls local, remote and virtual repositories hosted, proxy and group. Artifactory has stronger build info, promotion and replication features. Nexus has a free community edition.
97.How do you stop storage from growing forever?SeniorJFrog Artifactory & Nexus
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.
98.What does Xray do?SeniorJFrog Artifactory & Nexus
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.
99.How do you secure a pipeline's access to Artifactory?SeniorJFrog Artifactory & Nexus
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.
100.How do you make the pipeline safe against vulnerable images?SeniorJFrog Artifactory & Nexus
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.
101.Describe a highly available Artifactory setup.SeniorJFrog Artifactory & Nexus
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.
102.What are RPO and RTO and how do they guide disaster recovery?SeniorJFrog Artifactory & Nexus
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.
103.When would you use federated repositories?SeniorJFrog Artifactory & Nexus
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.
104.Your Artifactory is slow. How do you approach it?SeniorJFrog Artifactory & Nexus
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.
105.Why does a Maven deploy of an existing release fail?MidJFrog Artifactory & Nexus
Release versions must never change, so users without overwrite permission get 403 Forbidden. Publish a new version number instead of overwriting.