MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

Ansible Interview Questions and Answer – Part 12

Which is the right repository definition should be inserted in pom.xml for uploading snapshot artifactory?

Which is the right repository definition should be inserted in pom.xml for uploading release artifactory?

Which is the right repository definition should be inserted in pom.xml which holds release and snapshot artifactory?

What maven elements should be added in setting.xml to add a artifactory credentials?

Which is right maven goal to upload the package into Artifactory?

  • mvn deploy (Ans)
  • mvn upload
  • mvn install
  • mvn download

What is the right definition of Local Repository?

  • Local repositories are physical, locally-managed repositories into which you can deploy artifacts. (Ans)
  • A Local repository serves as a caching proxy for a repository managed at a remote URL (which may itself be another Artifactory remote repository).
  • A Local repository (or “repository group”) aggregates several repositories with the same package type under a common URL.
  • Local repositories are physical, remote-managed repositories into which you can deploy artifacts.

What is the right definition of Remote Repository?

  • Remote repositories are physical, locally-managed repositories into which you can deploy artifacts.
  • A Remote repository serves as a caching proxy for a repository managed at a remote URL (which may itself be another Artifactory remote repository). (Ans)
  • A Remote repository (or “repository group”) aggregates several repositories with the same package type under a common URL.
  • Remote repositories are physical, remote-managed repositories into which you can deploy artifacts.

What is the right definition of Virtual Repository?

  • Virtual repositories are physical, locally-managed repositories into which you can deploy artifacts.
  • A Virtual repository serves as a caching proxy for a repository managed at a remote URL (which may itself be another Artifactory remote repository).
  • A Virtual repository (or “repository group”) aggregates several repositories with the same package type under a common URL. (Ans)
  • Virtual repositories are physical, remote-managed repositories into which you can deploy artifacts.

What is not the Basic Authentication supported in Artifactory?

  • LDAP
  • Active Directory
  • Single Sign-On
  • PAML (Ans)

What is not the Basic Authentication supported in Artifactory?

  • SAML
  • OAuth
  • SCP (Ans)
  • Atlassian Crowd Integration

Which database is not supported for Artifactory installtion?

  • MySQL v5.5 and above with InnoDB
  • Oracle version 10g and above
  • Microsoft SQL Server 2008 and above
  • Sybase (Ans)

What is not a right tool to manage Binary repository?

  • Artifactory
  • Nexus
  • Archiva
  • git (Ans)

Are both right statement about downloading the artifact from Artifactory?

1.- Search:
Perform a GAVC search on a set of group ID and artifact ID coordinates to retrieve all existing versions of that set; then you can use any version string comparison algorithm to determine the latest version.
2.- the Maven way:
Artifactory generates a standard XML metadata that is to be consumed by Maven, because Maven is faced with the same problem – determining the latest version; The metadata lists all available versions of an artifact and is generated for every artifact level folder; with a simple GET request and some XML parsing, you can discover the latest version.

  • YES (Ans)
  • NO

Which one is wrong statement of gradle.properties file location?

  • In project build dir (that is where your build script is)
  • In sub-project dir
  • In gradle user home (defined by the GRADLE_USER_HOME environment variable, which if not set defaults to USER_HOME/.gradle)
  • C Drive (Ans)

Is it right plugins syntax to add in order to upload artifact in Artifactory?

  • apply plugin: ‘artifactory-publish’
  • apply plugin: ‘artifactory-upload’
  • apply plugin: ‘artifactory-artifact’
  • apply plugin: ‘artifactory-push’

Is it right syntax to add in order to upload artifact in Artifactory?

artifactory {
contextUrl = ‘http://path.to.artifactory’ // base artifactory url
publish {
repository {
repoKey = ‘libs-releases’ //The Artifactory repository key to publish to
username = ‘publisher’ //The publisher user name
password = ” //The publisher password
maven = true
}
}
}

  • YES (Ans)
  • False

What is the right statement for Snapshots repostory?

  • The repository from which to resolve releases
  • The repository from which to resolve snapshots (Ans)
  • The repository from which to resolve plugin releases
  • The repository from which to resolve plugin snapshots

What is the right statement for Releases repostory?

  • The repository from which to resolve releases (Ans)
  • The repository from which to resolve snapshots
  • The repository from which to resolve plugin releases
  • The repository from which to resolve plugin snapshots

What is the right statement for Plugin Releases repostory?

  • The repository from which to resolve releases
  • The repository from which to resolve snapshots
  • The repository from which to resolve plugin releases (Ans)
  • The repository from which to resolve plugin snapshots

What is the right statement for Plugin Snapshots repostory?

  • The repository from which to resolve releases
  • The repository from which to resolve snapshots
  • The repository from which to resolve plugin releases
  • The repository from which to resolve plugin snapshots (Ans)

Which is a wrong statement of “Artifactory supports import and export of data at two levels:”

  • System level
  • Repository level
  • System and Repository level
  • Artifactory level (Ans)

All following statements are correct about Pro Features of Artifactory?

  • Artifactory Query Language
  • Black Duck Code Center integration
  • Filtered Resources
  • GPG Signing
  • JFrog CLI
  • LDAP Groups
  • Repository Layouts
  • Repository Replication
  • Smart Search
  • YES (Ans)
  • NO

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

How to download a package using Maven from Artifactory?

Sample Code https://github.com/devopsschool-demo-labs-projects/artifactory-sample-code Method # 1 – Using Profile – setting.xml with “repositories” and pluginRepositories element Method # 2 – setting.xml with mirrors element. Belew content is…

Read More

How to Upload a package using Maven in Artifactory?

Prerequisite#1 – JAVA Prerequisite#2 – Artifactory Prerequisite#3 – Maven Prerequisite#3 – How to work with Artifactory aka Artifactory Workflow Step 1 – Create a empty directory and…

Read More

Public Package Repositories by Programming Language

Public Package Repositories by Programming Language Public package repositories (also known as package registries, artifact repositories or dependency repositories) allow developers to publish, discover, download and manage…

Read More

How to Configure Artifactrory with MySQL Database?

To run JFrog Artifactory 7 on MySQL instead of the default embedded Derby database, you create a dedicated database and user, put the MySQL Connector/J JAR in…

Read More

Artifactory Install and Configurations Guide

Prerequisite https://www.jfrog.com/confluence/display/JFROG/System+Requirements Artifactory OSS Install in Linux Manually 2027 Artifactory OSS Install in Linux Manually Artifactory Pro Install in Linux Manually Artifactory Pro Install in Linux using…

Read More

Major programming languages, the common package tool(s), and the central community package repository.

Most programming languages pair a command-line package tool with a public registry it downloads dependencies from. Examples are cargo with crates.io, pip with PyPI, Maven with Maven…

Read More