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–5 of 5 questions
Learn JFrog Artifactory & Nexus →1.What is an artifact repository and why use one?Beginner
It stores files that builds make and use, such as packages and images, with versions. It gives you one safe place, a cache of public libraries, access control and a record of what was built. Builds become faster and repeatable.
2.What does 'build once, deploy many' mean?Beginner
You build an artifact one time and move that same file through dev, test and prod. You never rebuild for production, because a rebuild may differ from what you tested.
3.What are local, remote and virtual repositories?Beginner
Local holds your own files. Remote caches another site such as Maven Central. Virtual gives one address in front of both, so tools need only one URL.
4.What is the difference between a release and a snapshot version?Beginner
A release such as 1.4.2 is fixed and should never be overwritten. A snapshot such as 1.5.0-SNAPSHOT is work in progress and is replaced by each build. Keep them in separate repositories.
5.Why should passwords not go in pom.xml?Beginner
The pom is committed to Git, so secrets would leak. Put credentials in settings.xml or in CI variables, and use tokens.