Slide 1
Most trusted JOB oriented professional program
DevOps Certified Professional (DCP)

Take your first step into the world of DevOps with this course, which will help you to learn about the methodologies and tools used to develop, deploy, and operate high-quality software.

Slide 2
DevOps to DevSecOps – Learn the evolution
DevSecOps Certified Professional (DSOCP)

Learn to automate security into a fast-paced DevOps environment using various open-source tools and scripts.

Slide 2
Get certified in the new tech skill to rule the industry
Site Reliability Engineering (SRE) Certified Professional

A method of measuring and achieving reliability through engineering and operations work – developed by Google to manage services.

Slide 2
Master the art of DevOps
Master in DevOps Engineering (MDE)

Get enrolled for the most advanced and only course in the WORLD which can make you an expert and proficient Architect in DevOps, DevSecOps and Site Reliability Engineering (SRE) principles together.

Slide 2
Gain expertise and certified yourself
Azure DevOps Solutions Expert

Learn about the DevOps services available on Azure and how you can use them to make your workflow more efficient.

Slide 3
Learn and get certified
AWS Certified DevOps Professional

Learn about the DevOps services offered by AWS and how you can use them to make your workflow more efficient.

previous arrow
next arrow

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
Rajesh Kumar