Home »
MCQs
Apache IVY Multiple-Choice Questions (MCQs)
Apache Ivy is a transitive package manager. It is a sub-project of the Apache Ant project, with which Ivy works to resolve project dependencies.
Apache IVY MCQs: This section contains multiple-choice questions and answers on the various topics of Apache IVY. Practice these MCQs to test and enhance your skills on Apache IVY.
List of Apache IVY MCQs
1. Which language is Apache IVY written in?
- Python
- Java
- JavaScript
- Ruby
Answer: B) Java
Explanation:
Apache IVY is written in Java Language.
Discuss this Question
2. Does Apache Ivy need Apache Ant to be installed on your machine?
- Yes
- No
Answer: A) Yes
Explanation:
The sole prerequisite for Apache Ivy is that Java and ANT be installed on your PC.
Discuss this Question
3. The name of the firm, individual developer, or team who created the project or library is referred to ____?
- Module
- Artifact
- Organization
- Module descriptor
Answer: C) Organization
Explanation:
The name of the firm, individual developer, or team who created the project or library is referred to the organization.
Discuss this Question
4. The term "____" refers to the ivy.xml file that specifies a module?
- Module
- Artifact
- Type
- Module descriptor
Answer: D) Module descriptor
Explanation:
The term "module descriptor" refers to the ivy.xml file that specifies a module.
Discuss this Question
5. ____ indicates the artefact category, such as jar, war, src, doc?
- Module
- Artifact
- Type
- Module descriptor
Answer: C) Type
Explanation:
Type indicates the artefact category, such as jar, war, src, doc.
Discuss this Question
6. Which of the following function is used to resolve a project's dependencies and obtain the required assets from the repository?
- Resolve ()
- Retrieve ()
- Publish ()
- Dependencymanagement()
Answer: A) Resolve ()
Explanation:
Resolve () function is used to resolve a project's dependencies and obtain the required assets from the repository.
Discuss this Question
7. A ____ is a library or component that a software project needs to work properly.
- Module
- Artifact
- Dependency
Answer: C) Dependency
Explanation:
A dependency is a library or component that a software project needs to work properly.
Discuss this Question
8. Which of the following is the artifact file name extension?
- Jar
- Zip
- Tar
- All of the above
Answer: D) All of the above
Explanation:
The extension of the artifact file are: jar, zip, tar, etc.
Discuss this Question
9. Which of the following status of revision value indicates that the module has not yet been entirely completed?
- Integration
- Milestone
- Release
- All of the above
Answer: B) Milestone
Explanation:
Milestone value indicates distributed but not yet finished fully.
Discuss this Question
10. Which of the following status of revision value indicates that the module is tested and completed?
- Integration
- Milestone
- Release
- All of the above
Answer: C) Release
Explanation:
The release value indicates that the module is tested and completed.
Discuss this Question
11. Which of the following represents ongoing development?
- Integration
- Milestone
- Release
- All of the above
Answer: A) Integration
Explanation:
Integration Represents ongoing development.
Discuss this Question
12. sync =____ ensures that the lib directory is up to date and that any unnecessary files are removed?
- True
- False
- None
Answer: A) True
Explanation:
sync true ensures that the lib directory is up to date and that any unnecessary files are removed.
Discuss this Question
13. Which of the following built-in resolver searches your file system for ivy files and artefacts?
- FileSystem
- URL
- Both A and B
- None
Answer: C) Both A and B
Explanation:
URL and filesystem resolver search your file system for ivy files and artefacts.
Discuss this Question
14. A ____ is used to specify a directory structure or the name of an artefact file.
- Artifact
- pattern
- Revision
- Status
Answer: B) pattern
Explanation:
A pattern is used to specify a directory structure or the name of an artefact file.
Discuss this Question
15. The Apache Ivy configuration file is an ____ file?
- HTML
- CSV
- XML
- All of the above
Answer: C) XML
Explanation:
The Apache Ivy configuration file is an XML file.
Discuss this Question
16. If Type=jar is specified, Ivy is instructed to duplicate just the jar artifact?
- Yes
- No
Answer: A) Yes
Explanation:
Ivy will only replicate jar artefacts if the type is set to jar.
Discuss this Question
17. ____ Creates an Ant classpath from resolved artefacts in the cache?
- Apache Ivy cachepath
- Apache Ivy retrieve
- Both
- None
Answer: A) Apache Ivy cachepath
Explanation:
Apache Ivy CachePath Creates an Ant classpath from resolved artefacts in the cache.
Discuss this Question
18. Apache Ivy has how many Ant jobs for exposing dependencies to the Java build path?
- 4
- 5
- 3
- 2
Answer: D) 2
Explanation:
Apache Ivy has two Ant jobs for exposing dependencies to the Java build path:
- <ivy:cachepath> task
- <ivy:retrieve> task
Discuss this Question
19. Which of the following method is used to define and maintain project settings?
- Configure ()
- Configurations ()
- Publish ()
- Dependencymanagement()
Answer: B) Configurations ()
Explanation:
The configuration() method is used to define and maintain project settings.
Discuss this Question
20. Which of the following method is used to make artefacts available to other projects by publishing them to a repository?
- Resolve ()
- Retrieve ()
- Publish ()
- Dependencymanagement()
Answer: C) Publish ()
Explanation:
Publish () method is used to make artefacts available to other projects by publishing them to a repository.
Discuss this Question
21. Apache Ivy uses pattern setting to ____?
- to alter the repository or directory layouts.
- to place artefacts in the right directory.
- to access, find or recover artefacts from multiple repository layouts.
- All of the above
Answer: D) All of the above
Explanation:
Apache Ivy uses pattern setting to :
- to alter the repository or directory layouts.
- to place artefacts in the right directory.
- to access, find or recover artefacts from multiple repository layouts.
Discuss this Question
22. Apache Ivy has how many types of resolvers?
- 2
- 3
- 4
- 5
Answer: A) 2
Explanation:
Apache Ivy has two types of resolvers: - Standard and composite.
Discuss this Question
23. The task is delegated to standard resolvers by ____ resolvers.
- Standard
- Composite.
Answer: B) Composite.
Explanation:
The task is delegated to standard resolvers by composite resolvers.
Discuss this Question
24. A ____ is a private repository to which only the owner has access.
- Special repository
- public repository
- local repository
Answer: C) local repository
Explanation:
A local repository is a private repository to which only the owner has access.
Discuss this Question
25. Ivy uses ____ resolvers to actually resolve tasks?
- Standard
- Composite
- Both
Answer: A) Standard
Explanation:
Ivy uses standard resolvers to actually resolve tasks.
Discuss this Question