Questions
ayuda
option
My Daypo

ERASED TEST, YOU MAY BE INTERESTED ONJfrog

COMMENTS STATISTICS RECORDS
TAKE THE TEST
Title of test:
Jfrog

Description:
Jfrog certification exam

Author:
K
(Other tests from this author)

Creation Date:
18/07/2023

Category:
Computers

Number of questions: 47
Share the Test:
Facebook
Twitter
Whatsapp
Share the Test:
Facebook
Twitter
Whatsapp
Last comments
No comments about this test.
Content:
An artifact download hits a timeout when trying to be downloaded using REST API. Where could this timeout occur and what files can you check? Reverse proxy configuration (apache/httpd/nginx parameters) Tomcat $Artifactory_Home/tomcat/conf/server.xml Artifactory configuration $Artifactory_Home/etc/artifactory.config.latest.xml.
There is an HA cluster with two nodes. When starting the HA cluster, only one node spins up as expected but there is an issue starting the second node. One reason for this could be because: The join.key is different on each of the nodes The join.key is identical on both nodes The join.key has expired All of the above.
Artifactory can be configured to lock a user account after a specified number of failed login attempts, this is enabled by checking “lock user after exceeding max failed login attempts” and specifying the “max failed login attempts” field. What should users who get locked out of their account because they have exceeded the maximum number of failed login attempts allowed (as specified in the “max failed login attempts”) do? Request a password reset from the Artifactory login page Wait 5 minutes and try to access your account after the lock expired Wait 1 hour and try to access your account after the lock expired Ask an administration to unlock the account Request a password reset from the Artifactory login page Wait 5 minutes and try to access your account after the lock expired Wait 1 hour and try to access your account after the lock expired Ask an administration to unlock the account.
I’m trying to troubleshoot a number of issues, but find that the Artifactory log files are empty or non-existing. What would I do to fix it? Check your Artifactory_HOME as it might be misconfigured Increased storage because there might not be sufficient storage for storing the logs Check to see if I have permission to view logs Change the log level to ERROR for printing all errors.
Your colleague tells you he received a 409 error while trying to deploy an artifact to maven repo. What is causing this issue? The client that deployed the artifact has sent a checksum, but it conflicts with the one calculated on Artifactory The repo they are trying to deploy to does not have the right handing policies They are trying to deploy to a path which is excluded from a repo All of the above.
When building pipelines for your product , if you are using a CI server that support Artifactory, which method can you use to implement as part of your pipeline? CI server Plugin Jfrog CLI Artifactory REST API All of the above.
Artifactory is suddenly not responding. What log contains the root cause of the issue? Artifactory.log Access.log Request.log All of the above.
When using Jfrog CLI for pipelines, which command allows you to collect all you environment variables data to publish into Artifactory? Build-add-dependencies (bad) Build-collect-env (bce) Build-add-git (bag) None of the above.
Which is true about the Artifactory promotion API when promoting builds? Build name and build number are mandatory You need to include the source and target repos You can only copy builds from source to target All of the above.
You only want to promote artifacts with specific properties. What is the best way to do it? Go through one by one, check the properties and manually copy/move it Write an AQL that searches for artifacts within a specific repo with specific properties and then copy/move those using REST API Due a propery search in Artifactory and copy/move the results Use Jfrog CLI to move/copy and use –props as a parameter.
Which credentials do I need in order to promote (move) an artifact? Read Deploy Delete All of the above.
Which entities can be promoted using the RESTfull API or Jfrog CLI? Only packages can be promoted Packages and build info can be promoted Build info and docker images can be promoted All of the above.
Artifactory plugin for your CI servers deploys all artifacts as an atomic operation, guaranteeing coherent deployment True False.
Jfrog CLI cannot be utilized within the pipeline script True False.
What file enables maven to work with Artifactory? ~/maven-metadata.xml ~/.m2/settings.xml /etc/maven/settings ~/.settings.xml.
Our team uses bash scripts to build its artifacts. During the build we use GO, Docker and NPM packages types. We would like to capture the build dependencies and publish them to Artifactory. What is the recommended way to capture the build information in this case? Create a simple text file and append any dependencies with its correlative paths to the file, then publish the file using the Artifactory publish build REST API Start using jfrog CLI for running bash scripts Rewrite the scripts in CI tool leveraging the CI plugin to capture the build information during the build process Create a plugin for Artifactory that captures every artifact Download and add it to the relevant building information using the Artifactory publish build REST API.
Build information stored in Artifactory can be leveraged to learn about the build process. What is the best way to extract this information from Artifactory in order to analyze it in a BI tools? Go over the build browser UI and copy the relevant data to another file Use database queries to extract the relevant build information from the Artifactory database Write a script that uses Jfrog CLI to extract required build info Use AQL to extract all the build info records from Artifactory.
As part of a new CI pipeline, your organization want to audit the steps for approving the target artifacts. What is the best way to do this? Use Artifactory artifact properties with the pipeline to audit the information Create a new key-value database that will store build ID and the approving results, update the values during the pipeline execution Wrap a new artifact.properties file inside your package, updated with the auditing information All of the above.
A Devops Engineer is creating a Jenkins job for uploading large artifacts to Artifactory which is a time consuming process. What is the best way to gain the fastest upload? Explore the relevant native build tools for the best way to do so Use Jfrog CLI upload and set –threads flag Use the Artifactory CI server plugin Devops your own multithreaded solution as part of the Jenkins job.
You have a build running in TravisCI. What options do you have for interacting with Artifactory? Choose 2 answers Jfrog CLI Travis user plugin REST API UI integration of both tools.
Why would you need admin user account rights for authenticating your automated jobs? Only an admin user can create repos as part of their automated flow The admin user only has to authenticate once. The admin user is more secure than other users Jobs can be only triggered by an admin user.
What limitation applies to the Jfrog CLI when used with external package managers and build tools? It will only authenticate using login credentials It will only run on insecure connections It will only run as an anonymous user. It will only work on localhost.
AQL (Artifactory Query Language)can only extract data that resides in your Artifactory Instance.It runs on local repos and remote repos caches True False.
What features does Jfrog CLI support? Parallel uploads and downloads Checksum optimization Wildcards and regular expressions Upload preview All of the above.
Which of the following Jfrog CLI commands are applicable to building products? Build-add-dependencies (bad) Build-collect-env (bce) Build-app-git (bag) Build-publish (bp) All of the above.
The Jfrog REST API offers a variety of search options, which of these is the most flexible? Artifact search (quick search) Property search Checksum search AQL (Artifactory Query Language).
A 401 error is returned for REST API you ran. Which of these is the most likely culprit? The resource was not yet cached in the remote repo. The requested resource does not exist. The resource requires credentials that you did not provide. The resource moved to a different location requiring you to preform the call to the new collection.
a permission target can contain the following: choose 5 answers local repos remote repos virtual repos list of users and/or groups. Access levels. builds.
the artifactory-build-info repo can be added to a permission target True False.
Which of the following benefits does access token offer when used in artifactory? Access tokens can be used for authentication, not only by the artifactory instance or cluster where they were created, but also for other instances and clusters that are all part of the same “circle of trust” Access tokens can also be assigned to none user entities such as CI server jobs. Access tokens have an expiry period so you can control the period of time for which you grant access By assigning groups to tokens, you can control the level of access they provide All of the above None of the above.
When configuring permission targets, which option can be used to implement finer control over specific artifacts within the repo? User permissions Group permissions Include/exclude patterns All of the above.
Can access tokens be used to authenticate in different artifactory instances or clusters? Yes, if the instances are all in the same circle of trust No, access tokens are confined to single artifactory instance Yes, in all cases No, access token cannot be used in authentication in artifactory .
Which of the following is not an available repo permission in artifactory> Annotate Read Manage Rename.
if a remote repository is missing a requested artifact, artifactory will return a “404 Not Found” error. This response is cached for a period of time during that time, artifactory will not issue new requests for the same artifacts to the remote and will return a 404 error. Which parameter needs to be set to change this behavior? Work offline Missed retrieval cache period Assumed offline period There is not such option, if the package is available on the remote repo then it will be served without error.
which users can create repos? All users Admin users Depends of the permission of the artifactory instance Only internal users.
how does artifactory behave if you upload a jar file in artifact of the wrong package type and layout to a local rpm repo (e.g. uploading a pypi artifact to a maven repo)? artifactory will throw an error artifactory will provide you with a warning message asking you if you are sure you would like to upload this artifact upload succeeds, but artifactory will NOT index the package or update the metadata for the repo upload succeeds, and artifactory will index the package and update the metadata for the repo.
which repo cannot be deleted? Generic-local Maven-remote Artifactory-build-infra Docker-virtual Any repo with content.
let’s say you have a virtual repo “virtual-a” containing “local-a” , “remote-a”, and “virtual-b” (which contains local-b and remote-b) in that order in which order will artifactory resolve the requests to this repo? the artifact will not be resolved due to invalid nesting local-a, local-b, remote-a-cache, remote-b-cache, remote-a, remote-b remote-a-cache, remote-b-cache, remote-a, remote-b, local-a, local-b remote-a-cache , remote-b-cache, local-a , local-b, remote-a, remote-b local-a, remote-a-cache, remote-a, local-b, remote-b-cache, remote-b depends on the order in which they were added to the configuration.
you don’t want your team to download the logback-core version 1.1.17 from Jcenter, how can you block file downloads? grant a permission target Just delete it from the cache every time someone request it It is impossible to do Specify the package name and version to be excluded in the remote repo configuration.
you are working with remote repos and you want to use only cached artifacts. What can you do? Choose 3 answers: use the “-cache” suffix in the repo name use the property “cache=true” check the “offline” option in the repo configuration change or delete the password for the backing repo of this remote so it won’t be able to access it again work with Jfrog CLI check the “global offline mode” option under configuration In admin tab.
you have a completely stable repo that should not have anything deployed to it. If you want users to be able to use artifacts in this repo, but no new ones should be published to it, how can this be done? By restricting the access to the repository using permissions. It can’t be done By enabling the “blacked out” option in the advanced setup of that repo By relying on the “-cache” version of the repo.
the association of an artifact dependency with a build is retained after it is moved or copied within artifactory true, due to the fact that artifact checksum remains constant regardless of its location true, because a build object contains a copy of all relevant artifacts false, because every build deploys new artifacts false, because the checksum is related to the path of the artifacts.
to make sure your system doesn't become clogged with unused binaries ,artifactory runs the garbage collection ,how does garbage collection run on a HA cluster? GC can run on multiple nodes at the same time GC runs only on the primery node GC has a parameter that can be set to specify the number of nodes to run GC runs on all nodes.
When upgrading artifatory HA, for a zero time upgrade you should: Stop all nodes, proceed to upgrade secondaries, and then upgrade the primary Upgrade the primary first. Once primary has started proceed to upgrade each secondary Stop all database, proceed to upgrade the primary, and then proceed to upgrade the secondary Upgrade the primary, proceed to stop the database and then upgrade the secondary.
What files are used to configure artifactory HA? HA-node properties Binarystore.xml and HA-node.properties Artifactory.system.properties and DB.properties Logback.xml and Db.properties.
What are the various ways to upload artifacts to artifactory? UI REST API JFROG CLI All answers are correct.
What are the benefits of remote repos in artifactory? Choose 3 Configuring pull replications Caching packages Resolving packages through web proxies Easier artifact upload.
Report abuse Consent Terms of use