InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Which option stands for Super POM |
|
Answer» Which option stands for SUPER POM |
|
| 2. |
What are the minimal coordinate attributes required for pom xlm file |
|
Answer» What are the MINIMAL coordinate ATTRIBUTES REQUIRED for POM xlm file |
|
| 3. |
Surefire reports are in |
|
Answer» SUREFIRE reports are in (1)*.xml and *.html format.xxx (2)*.TXT and *.xml Format. (3)*.xml format (4)*.txt format. Answer:-(2)*.txt and *.xml Format. |
|
| 4. |
How to get the maven path |
|
Answer» How to GET the maven path |
|
| 5. |
List of files generate from maven archetype |
|
Answer» List of FILES GENERATE from maven archetype |
|
| 6. |
While creating maven project, we must enter value for |
|
Answer» While creating MAVEN PROJECT, we MUST enter value for |
|
| 7. |
What are the three builds in maven life cycle |
|
Answer» What are the three builds in maven LIFE CYCLE |
|
| 8. |
Which plugin is needed to compile project. |
|
Answer» Which plugin is NEEDED to compile project. |
|
| 9. |
Which of the flow is correct for clean life cycle. |
|
Answer» Which of the FLOW is CORRECT for CLEAN LIFE cycle. |
|
| 10. |
Maven search for dependency in ___________________ |
|
Answer» MAVEN SEARCH for DEPENDENCY in ___________________ (1)remote repository (2)local repository only (3)CENTRAL repository only (4)search in all three repositories Answer:-(4)search in all three repositories |
|
| 11. |
Local repository could be one on the web server. |
|
Answer» Local REPOSITORY could be ONE on the WEB server. |
|
| 12. |
Inclusive quantifiers boundary range is defined as |
|
Answer» INCLUSIVE quantifiers boundary RANGE is DEFINED as (1)[3.8,] (2)[, 3.8] (3)[3.8,4.6] (4)[3.8,4.6) ANSWER:-(2)[, 3.8] |
|
| 13. |
Command to generate Super POM view |
|
Answer» COMMAND to GENERATE SUPER POM view Below is the command to generate Super POM view mvn HELP:effective-pom |
|
| 14. |
Maven is _ |
|
Answer» MAVEN is _ COMPREHENSION and MANAGEMENT TOOL. |
|
| 15. |
Surefire plugins are used for |
|
Answer» Surefire plugins are used for |
|
| 16. |
Maven dependencies are stored in |
|
Answer» MAVEN DEPENDENCIES are STORED in Answer:-Below is Maven dependencies and stored in REPOSITORY |
|
| 17. |
Which of the flow is correct for Build life cycle |
|
Answer» Which of the flow is correct for Build life cycle |
|
| 18. |
Syntax used to skip the test using terminal |
|
Answer» Syntax USED to SKIP the test USING terminal |
|
| 19. |
Syntax to create maven project. |
|
Answer» SYNTAX to CREATE MAVEN project. Below is the COMMAND to create maven project mvn archetype:generate |
|
| 20. |
Which command is used for checking upgrade check |
|
Answer» Which COMMAND is used for checking UPGRADE check |
|
| 21. |
What are the types of maven plugins |
|
Answer» What are the TYPES of MAVEN PLUGINS |
|
| 22. |
Which command is used for generating Unit test reports |
|
Answer» Which command is used for GENERATING UNIT test reports |
|
| 23. |
War files are created for |
|
Answer» WAR FILES are created for We create war file for Web APPLICATION |
|
| 24. |
How can we compile and generate war file using single command |
|
Answer» How can we compile and GENERATE WAR file using SINGLE command |
|
| 26. |
What is GAV in maven |
|
Answer» What is GAV in maven |
|
| 27. |
How to generate war file |
|
Answer» How to GENERATE WAR file |
|
| 28. |
Which plugin is needed to execute project. |
|
Answer» Which PLUGIN is needed to EXECUTE project. |
|
| 29. |
A build goal is peripheral for a phase when pom binds all goal to the corresponding life cycle |
|
Answer» A build goal is peripheral for a PHASE when pom binds all goal to the corresponding LIFE CYCLE |
|
| 30. |
To validate maven project we use |
|
Answer» To validate maven PROJECT we use |
|
| 31. |
What does maven surefire plugins stands for? |
|
Answer» What does MAVEN surefire plugins stands for? |
|
| 32. |
Command to get version of MVN? |
|
Answer» COMMAND to GET VERSION of MVN? Below is the command to get the version of maven mvn --version |
|
| 33. |
How to check maven version |
|
Answer» How to check MAVEN VERSION |
|
| 34. |
Syntax used for compiling the maven project. |
|
Answer» SYNTAX USED for COMPILING the MAVEN project. Below is the syntax which is used for compiling the maven project mvn COMPILE |
|
| 35. |
POM stands for __________ in maven. |
|
Answer» POM stands for __________ in maven. (1)Product OBJECT Model. (2)Project Object Model. (3)Programmable Object Model. (4)PAGE Object Model Answer:-(2)Project Object Model. |
|