Explore topic-wise MCQs in Testing Subject.

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

1.

Which locale (i.e., from an internationalization properties file) to use for a user is based on?

A. /grails-app/conf/spring/resource.groovy file
B. user’s browser language preferences
C. all of the mentioned
D. none of the mentioned
Answer» D. none of the mentioned
2.

Grails relies on the standard Java JDBC notation to specify RDBMS.

A. True
B. False
C. May be
D. Can't say
Answer» B. False
3.

AbstractDependencyInjectionSpringContextTests supports dependency injection.

A. auto-wires beans by type via setter methods
B. auto-wires beans by name via protected fields
C. none of the mentioned
D. all of the mentioned
Answer» D. all of the mentioned
4.

There is no default configuration present in an application resource.groovy file.

A. True
B. False
C. May be
D. Can't say
Answer» B. False
5.

To deploy the application to a web container:-

A. mvn tomcat:run
B. mvn jetty:run
C. all of the mentioned
D. none of the mentioned
Answer» D. none of the mentioned
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.

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
9.

Used to define an application’s properties.

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