SQL and Web Services Programming
Quiz covering SQL database programming language and Web Services concepts including SOAP, WSDL, and service-oriented architecture patterns.
Questions
Which of the following is TRUE about Views in SQL?
- Views are windows of existing table
- Creation of view is done by using CREATE VIEW statement
- Views do not contain data but table from which it is created contain data
- All the Above
SQL is a
- Non- procedural language
- Procedural language
- Database Language
- Both A. and C.
Which of the following is TRUE about subqueries in SQL?
- Sub queries must be enclosed in parenthesis
- BETWEEN cannot be used with a sub query
- Both A. and B.
- None of the Above
The database programming language which is used for retrieving data and updating data on a database is called
- Structured database Language
- Structured programming Language
- Structured Query Analyzer
- Structured Query Language
Which of the following SQL command represent character data type?
- CHAR
- VARCHAR
- VARCHAR2
- All the Above
SQL stands for
- Storage Query Language
- Structured Query Language
- Storage Queuing Language
- Standard Query Language
A developer has a requirement to expose a Web service interface to an existing order processing system. The order processing system is quite old and the company has doubts about its compatibility with newer technologies. What is the appropriate design?
- only a new interaction layer
- only a new processing layer
- a new interaction layer and a new processing layer
- a new interaction layer and a facade processing layer that uses the existing order processing system
- a new processing layer and a facade interaction layer that uses the existing order processing system
A client sends a required SOAP header as a SOAP message. The server-side process determines that information in the header is invalid and generates a SOAP fault. What is the appropriate fault code for this type of SOAP fault?
- Client
- Server
- MustUnderstand
- VersionMismatch
- HeaderError
- InvalidHeader
A Web service needs to validate the credit rating for a loan. The service requires a social security number, full name, and date of birth as input and returns one of many possible documents. Which statement is true?
- The developer must use an EJB-based endpoint.
- The developer must use a procedure-style Web service.
- The developer must use a document-style Web service.
- The developer can use a procedure-style or document-style Web service.
A document-style service defines a document passed to the Web service using xsd:anyType in the WSDL file that describes the service. How should the document be typed in Java
- use javax.xml.soap.Element
- use javax.xml.soap.Node
- use javax.xml.soap.SOAPHeader
- use javax.xml.soap.SOAPElement
- use javax.xml.soap.SOAPFault
- use javax.xml.soap.SOAPBodyElement
A company is designing a new application to track the materials used by their construction firm on a large industrial construction project. They want their suppliers to be able to see what materials the company needs for a competitive bid process. As the architect for the Service Oriented Architecture, why would a developer use UDDI?
- It defines the Web services as a resource.
- It defines a stateful behavior for the participating Web services.
- It provides a location where services can be dynamically discovered.
- It defines a stateless behavior for the participating Web services.
- It decouples the Web service from its implementation.