

MCQOPTIONS
Saved Bookmarks
This section includes 338 Mcqs, each offering curated multiple-choice questions to sharpen your Computer Science Engineering (CSE) knowledge and support exam preparation. Choose a topic below to get started.
251. |
The technology used to distribute service requests to resources is referred to as |
A. | load performing |
B. | load scheduling |
C. | load balancing |
D. | all of the mentioned |
Answer» D. all of the mentioned | |
252. |
Which of the following software can be used to implement load balancing? |
A. | apache mod_balancer |
B. | apache mod_proxy_balancer |
C. | f6’s bigip |
D. | all of the mentioned |
Answer» C. f6’s bigip | |
253. |
Which of the following type of virtualization is also characteristic of cloud computing? |
A. | storage |
B. | application |
C. | cpu |
D. | all of the mentioned |
Answer» E. | |
254. |
Point out the correct statement. |
A. | a client can request access to a cloud service from any location |
B. | a cloud has multiple application instances and directs requests to an instance based on conditions |
C. | computers can be partitioned into a set of virtual machines with each machine being assigned a workload |
D. | all of the mentioned |
Answer» E. | |
255. |
Every call to publish() will return a class that conforms to the                      interface. |
A. | batch |
B. | client |
C. | server |
D. | future |
Answer» E. | |
256. |
What is the time elapsed after a batch is created? |
A. | 0.5 seconds |
B. | 0.05 seconds |
C. | 1.5 seconds |
D. | 1 second |
Answer» C. 1.5 seconds | |
257. |
When the batch is created, it begins a countdown that publishes the batch once sufficient time has elapsed. |
A. | true |
B. | false |
Answer» B. false | |
258. |
When you publish a message                  is automatically created? |
A. | client |
B. | server |
C. | batch |
D. | server |
Answer» D. server | |
259. |
What do we call string in python 2? |
A. | str |
B. | unicode |
C. | strs |
D. | unicades |
Answer» C. strs | |
260. |
                 error will show if we try to send text string instead of bytes. |
A. | typeerror |
B. | error |
C. | linker error |
D. | compiler error |
Answer» B. error | |
261. |
The message in pub/sub is an opaque blob of |
A. | bits |
B. | bytes |
C. | word |
D. | nibble |
Answer» C. word | |
262. |
Does publish() method accepts arbitrary arguments. |
A. | true |
B. | false |
Answer» B. false | |
263. |
The topic in the publish method is in which form? |
A. | binomial form |
B. | canonical form |
C. | nominal form |
D. | message form |
Answer» C. nominal form | |
264. |
How many arguments are accepted by publish()? |
A. | 5 arguments |
B. | 3 arguments |
C. | 1 argument |
D. | 2 arguments |
Answer» E. | |
265. |
                 method publishes messages to pub/sub. |
A. | client() |
B. | publish() |
C. | server() |
D. | batch() |
Answer» C. server() | |
266. |
client() class provides                  to create topics. |
A. | software |
B. | classes |
C. | methods |
D. | batch |
Answer» D. batch | |
267. |
Factory to use our Spring bean as the implementation:- |
A. | jaxws:end |
B. | jaxws:endpoint |
C. | all of the mentioned |
D. | none of the mentioned |
Answer» C. all of the mentioned | |
268. |
CXF represents the consolidation of the Celtix and XFire projects, which each had useful SOAP support. |
A. | true |
B. | false |
Answer» B. false | |
269. |
Spring provides a factory that can export beans annotated with:- |
A. | javax.jws.webservice |
B. | javax.jws.webserviceprovider |
C. | all of the mentioned |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
270. |
Exposing a stand-alone SOAP endpoint using the:- |
A. | simplejaxwsserviceexporter |
B. | jax-ws |
C. | all of the mentioned |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
271. |
If you are using the JAX-RS Reference Implementation, this intermediary step will involve a tool called wsgen. |
A. | true |
B. | false |
Answer» B. false | |
272. |
If you are deploying into a Java EE 5 (or better) container, you may simply create a bean that is annotated with:- |
A. | javax.jws.webservice |
B. | javax.jws.webserviceprovider |
C. | all of the mentioned |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
273. |
Tomcat doesn’t support JAX-WS by itself. |
A. | true |
B. | false |
Answer» B. false | |
274. |
The standard for deploying web services on the Java EE platform as of Java EE 1.4:- |
A. | jax-rpc |
B. | jax |
C. | rpc |
D. | none of the mentioned |
Answer» B. jax | |
275. |
3 WEB SERVICES |
A. | true |
B. | false |
Answer» C. | |
276. |
Service exporters that can export a bean as a remote service based on the :- |
A. | rmi |
B. | hessian |
C. | burlap |
D. | all of the mentioned |
Answer» E. | |
277. |
To send objects across the wire, beans need to be encoded using the Java Architecture for XML Binding (JAXB). |
A. | true |
B. | false |
Answer» B. false | |
278. |
In some cases, it’s also hard to map an object to XML (e.g., an object graph with cyclic references) because there’s actually an impedance mismatch between an object model and an XML model. |
A. | true |
B. | false |
Answer» B. false | |
279. |
In contrast, the contract-first approach encourages you to think of the service contract first in terms of :- |
A. | xml |
B. | xml schema(.xsd) |
C. | wsdl |
D. | all of the mentioned |
Answer» E. | |
280. |
There are two approaches to developing a web service, depending on whether you define the contract first or last. |
A. | true |
B. | false |
Answer» B. false | |
281. |
A web service contract is described using :- |
A. | web services description language |
B. | web services description |
C. | all of the mentioned |
D. | none of the mentioned |
Answer» B. web services description | |
282. |
XML tag which represents information related to a REST service request. |
A. | result |
B. | title |
C. | none of the mentioned |
D. | all of the mentioned |
Answer» E. | |
283. |
REST service end point comprises an address. |
A. | starts with http:// and ends with ? |
B. | starts with http:// and ends with & |
C. | no certain url is specified |
D. | depends upon the platform used |
Answer» B. starts with http:// and ends with & | |
284. |
Accessing a third-party REST service inside a Spring application. |
A. | resttemplate class |
B. | viewresolver |
C. | internalviewresolver |
D. | view |
Answer» B. viewresolver | |
285. |
In the case of classesToBeBound, the classes assigned to this property, indicate the class (i.e., object) structure that is to be transformed into XML. |
A. | true |
B. | false |
Answer» B. false | |
286. |
To configure Jaxb2Marshaller marshaller we require. |
A. | classestobebound |
B. | contextpath |
C. | all of the mentioned |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
287. |
The marshaller used by MarshallingView belongs to one of a series of XML marshallers. |
A. | jaxb2marshaller |
B. | xmlbeansmarshaller |
C. | castormarshalle |
D. | all of the mentioned |
Answer» E. | |
288. |
Marshalling is the process of transforming an in-memory representation of an object into a data format.a |
A. | true |
B. | false |
Answer» B. false | |
289. |
General-purpose class that allows a response to be rendered using a marshaller. |
A. | marshallingview |
B. | marshalling |
C. | view |
D. | all of the mentioned |
Answer» B. marshalling | |
290. |
Notation for defining REST endpoints. |
A. | { } |
B. | * |
C. | all of the mentioned |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
291. |
Spring supports a series of mechanisms to generate a REST service payload. |
A. | true |
B. | false |
Answer» B. false | |
292. |
Annotation added as an input parameter to the handler method. |
A. | @pathvariable |
B. | @path |
C. | @pathlocale |
D. | none of the mentioned |
Answer» B. @path | |
293. |
Publishing an application’s data as a REST service requires. |
A. | @requestmapping |
B. | @pathvariable |
C. | all of the mentioned |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
294. |
To publish a REST service with Spring. |
A. | publishing an application’s data as a rest service |
B. | accessing data from third-party rest services |
C. | none of the mentioned |
D. | all of the mentioned |
Answer» E. | |
295. |
Which of the following is used as middleware layer in the following figure? |
A. | xml |
B. | esb |
C. | uddi |
D. | none of the mentioned |
Answer» C. uddi | |
296. |
Which of the following provides commands for defining logic using conditional statements? |
A. | xml |
B. | ws-bpel |
C. | json |
D. | none of the mentioned |
Answer» C. json | |
297. |
Which of the following is commonly used to describe the service interface, how to bind information, and the nature of the component’s service or endpoint? |
A. | wsdl |
B. | scdl |
C. | xml |
D. | none of the mentioned |
Answer» B. scdl | |
298. |
Which of the following is used to define the service component that performs the service? |
A. | wsdl |
B. | scdl |
C. | xml |
D. | none of the mentioned |
Answer» C. xml | |
299. |
Which of the following describes a message-passing taxonomy for a component- based architecture that provides services to clients upon demand? |
A. | soa |
B. | ebs |
C. | gec |
D. | all of the mentioned |
Answer» B. ebs | |
300. |
Which of the following is a repeatable task within a business process? |
A. | service |
B. | bus |
C. | methods |
D. | all of the mentioned |
Answer» B. bus | |