Explore topic-wise MCQs in Spring.

This section includes 19 Mcqs, each offering curated multiple-choice questions to sharpen your Spring knowledge and support exam preparation. Choose a topic below to get started.

1.

An XML file containing configuration parameters for an application’s launch.

A. application.properties
B. build.xml
C. court.iws
D. court.launch
Answer» E.
2.

An XML file containing configuration parameters for an application’s deployment.

A. application.properties
B. build.xml
C. court.iws
D. court.iml
Answer» D. court.iml
3.

An Apache Ant script with a series of predefined tasks designed to create a Grails application.

A. application.properties
B. build.xml
C. manifest.xml
D. court.iml
Answer» C. manifest.xml
4.

Used to define an application’s properties.

A. application.properties
B. build.xml
C. manifest.xml
D. court.iml
Answer» B. build.xml
5.

AN_XML_FILE_CONTAINING_CONFIGURATION_PARAMETERS_FOR_AN_APPLICATION.?$

A. application.properties
B. build.xml
C. manifest.xml
D. court.iml
Answer» E.
6.

An XML file containing configuration parameters for an application’s launch.$#

A. application.properties
B. build.xml
C. court.iws
D. court.launch
Answer» E.
7.

An XML file containing configuration parameters for an application’s deployment.$#

A. application.properties
B. build.xml
C. court.iws
D. court.iml
Answer» D. court.iml
8.

Some of the more popular Grails plugins follow:

A. App Engine
B. Quartz
C. Spring WS
D. All of the mentioned
Answer» E.
9.

An XML file containing configuration parameters for an application.

A. application.properties
B. ivysettings.xml
C. court.iml
D. court.launch
Answer» D. court.launch
10.

A directory containing the core of an application.

A. application.properties
B. ivysettings.xml
C. court.iws
D. grails-app
Answer» E.
11.

An Apache Ivy configuration file used for defining repositories.

A. application.properties
B. ivysettings.xml
C. court.iws
D. court.launch
Answer» C. court.iws
12.

An Apache Ant script with a series of predefined tasks designed to create a Grails application?

A. application.properties
B. build.xml
C. manifest.xml
D. court.iml
Answer» C. manifest.xml
13.

Used to define an application’s properties.$

A. application.properties
B. build.xml
C. manifest.xml
D. court.iml
Answer» B. build.xml
14.

Grails generates a series of files and directories which includes.

A. Apache Ant file(build.xml)
B. Apache Ivy file(ivy.xml)
C. All of the mentioned
D. None of the mentioned
Answer» D. None of the mentioned
15.

Working directories and files are placed under which directory.

A. User’s home directory under the name.grails/grails version/.
B. WEB-APP
C. WEB-INF
D. None of the mentioned
Answer» B. WEB-APP
16.

To create a Grails application, command:-

A. grails create-app
B. grails create-app grailsappname
C. grails create-app default
D. none of the mentioned
Answer» C. grails create-app default
17.

To see Grails numerous commands.

A. grails help
B. grails -help
C. grails -h
D. help grails
Answer» B. grails -help
18.

To invoke Grails operations from anywhere on your workstation.

A. GRAILS HOME
B. PATH
C. All of the mentioned
D. None of the mentioned
Answer» D. None of the mentioned
19.

Grails is a self-contained framework that comes with various scripts to automate the creation of Java applications.

A. True
B. False
Answer» B. False