Skip to content
$ lynuxpro

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.Why use a digest instead of a tag for production images?Mid

A tag can be moved to a different image. A digest is a fingerprint of the content, so it always means exactly one image.

2.What is dependency confusion and how do you prevent it?Mid

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.

3.What is build info in JFrog?Mid

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.

4.How do you give permissions in Artifactory?Mid

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.

5.What is promotion?Mid

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.

6.What are properties and AQL?Mid

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.

7.How does Nexus compare to Artifactory?Mid

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.

8.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.

9.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.