Tag: web technology

Questions Related to web technology

The built-in service pub.flow:setResponse can be used to perform all of the following EXCEPT:

  1. Change the content type of the output returned to the client of a service invoke

  2. Return an XML message in response to an XML HTTP POST request

  3. Display an HTML message in a browser

  4. Return a text document that has been previously formatted with an output template


Correct Option: D

AI Explanation

To answer this question, let's go through each option to understand why it is correct or incorrect:

Option A) Change the content type of the output returned to the client of a service invoke - This option is correct. The pub.flow:setResponse service can be used to change the content type of the output returned to the client. It allows you to set the content type header of the response message.

Option B) Return an XML message in response to an XML HTTP POST request - This option is correct. The pub.flow:setResponse service can be used to return an XML message in response to an XML HTTP POST request. It allows you to set the response body content as an XML message.

Option C) Display an HTML message in a browser - This option is correct. The pub.flow:setResponse service can be used to display an HTML message in a browser. It allows you to set the response body content as an HTML message.

Option D) Return a text document that has been previously formatted with an output template - This option is incorrect. The pub.flow:setResponse service cannot be used to return a text document that has been previously formatted with an output template. It is primarily used to set the response content type and body.

The correct answer is D. This option is incorrect because the pub.flow:setResponse service cannot be used to return a text document that has been previously formatted with an output template.

  1. Multiply floating point numbers

  2. Retry a service that didn't work the first time

  3. Perform custom exception handling

  4. Persist null variables within the pipeline


Correct Option: A
  1. Control access to a Flow service

  2. Store encrypted Access Control Lists (ACLs)

  3. Restrict access to DSP, HTML and XML files

  4. Control Administrator access to the Integration Server


Correct Option: C
  1. A required input was not set or mapped and so did not exist at run-time

  2. The "switch" variable of a Branch operation in the Flow was NULL at run-

  3. The Flow executed an Exit operation with the "signal failure" option

  4. A Loop operation in the Flow service has no input array defined


Correct Option: A
  1. An IData pipeline object is instantiated

  2. A content-handler is invoked

  3. A session is created

  4. The client posting the data is authenticated


Correct Option: D
  1. Validation of all negative scenarios like handling of incorrect data type

  2. Testing the boundaries of each field to find any limitations

  3. Job not to be aborted at any cause - all abort scenarios must be handled in the code

  4. Cleansing of obvious data for any anomalies (even if its not specified in requirements)

  5. None of the above


Correct Option: A,B
  1. 1 Pg Client Print

  2. Detailed Client Print

  3. Detailed Office Print

  4. Office Print


Correct Option: A,B,C
  1. Compiler error complaining about access restriction of private variables of AQuestion

  2. Compiler error complaining about forward referencing

  3. No Compilation error - The output is 0;

  4. No Compilation error - The output is 10;


Correct Option: A,B,C,D
  1. Using the action

  2. Using the action

  3. Use the request.getParameter() method

  4. Use the response.getParameter() method


Correct Option: C