Arcitura Education S90.05A SOA Technology Lab Exam Practice Test

Page: 1 / 14
Total 40 questions
Question 1

You are asked to create an XML schema for an Address Formatting service that needs to be able to accept a mailing address and then return the same address rearranged in a different format defined by the postal service. You are given the following specific instructions as to how the XML schema should be designed:

* The XML schema requires two elements named "AddressLookup" and "AddressResponse".

* The "AddressLookup" element must contain child elements named "address1", "address21" "city". "stateOrRegion", "postalCode" "country", in that order. Each of these elements must have the type string.

* The "AddressResponse" has the same children as the "AddressLookup" message, plus it contains an "addressValid" element as its last child. This element is added to indicate whether a valid address was found, and therefore this element must be of type Boolean.

Which of the following XML schemas fulfills the requirements while also following the instructions?



Answer : C


Question 2

The technical architecture department contacts you to tell you that all existing WSDL definitions need to be modified to add an additional concrete description in order to bind the service to a new version of SOAP. You begin with the WSDL definition for the Notification service, as shown here:

Given the fact that this WSDL definition has only one "operation" element, which new elements will need to be added in order to add the concrete description described above?



Answer : D


Question 3

You are working on a new Time service that will be able to return the current time, down to six microseconds. You have begun by creating a schema and the beginnings of a WSDL definition, as follows:

Your next task is to define the "portType" and "binding" elements. Which of the following fragments contain the correct "portType" and "binding" elements for this WSDL definition?



Answer : A


Question 4

You are building an HR service with an "UpdateExemptions" operation that allows employees to update the number of exemptions claimed on their paychecks. The operation is only able to receive a message containing the employee ID and the number of exemptions. The operation does not reply with a response message. A partial WSDL definition has been created so far, as follows:

You now need to start on the concrete description by adding an appropriate binding element. Which of the following is correct?



Answer : A


Question 5

You are working with a project team that wants to deploy the Vacation Request service that allows employees to request information regarding the vacation days they are entitled to. The project team has come up with a sample XML fragment that they would like to use as the basis for the request message that the Vacation Request service will receive, as follows:

12311K/empID>

The "vacationRequest" element (which will be placed inside a SOAP "Body" element) contains a child "empID" element that will provide the employee ID used by the Vacation Request service to perform a search. Your task is to define an XML schema for this message and to incorporate the schema into the Vacation Request WSDL definition by embedding the schema content and mapping the XML Schema elements to the appropriate WSDL elements. Which of the following correctly accomplishes this?



Answer : A


Question 6

You have developed the following WSDL definition for the Product Notification service that needs to be able to notify customers every time a new product is added to a product catalog:

The service has a "ProductNotification" operation that receives a request message containing product information. The receipt of this request message triggers the issuance of a notification to customers. This operation does not issue a response message. Your next task is to define the concrete description for this WSDL definition and you start with the "binding" element. Which of the following represents the correct "binding" element for this WSDL definition?



Answer : A


Question 7

Your organization uses an internal HR service that allows other services to update employee dat

a. Currently, the HR service has only one "UpdateEmployee" operation that receives a message with an "emp:updateEmployee" element containing the employee record, and then responds with a message with an "emp:updateEmployeeResponseM element that indicates whether the operation was successful. Below is a fragment from the current WSDL definition that shows the relevant "message", "portType" and "operation" elements:

You are asked to add a new "DeleteEmployee" operation to the WSDL definition that is capable of receiving a message with a "emp:deleteEmployee" element and then responding with a message that contains the "emp:deleteEmployeeResponse" element. Which of the following accomplishes this?



Answer : A


Page:    1 / 14   
Total 40 questions