JDBC - Quiz Explanation

The correct answers are indicated below, along with text that explains the correct answers.
 
1. Describe your role in the case study used in JDBC Fundamentals.
Please select the best answer.
  A. I will be a team member in a Java troubleshooter group who will assess database connectivity.
  B. I will be a team member of a group of consultants who will create a system that will view and modify databases of healthcare facilities in Brazil.
  C. I will be a team member that is a JDBC expert who will create a system that views and modifies databases in Brazil.
  D. I will be a team member researching health trends across databases.
  The correct answer is B.
You will be working with a group of consultants, rather than a Java or JDBC specific team. The focus of the team is on viewing and modifying databases that are in the healthcare facilities in Brazil. The role that you play is on that team. Based on this explanation, answers A, C, and D are incorrect.

2. What is the goal of your customer, Dr. Jonathan Michael?
Please select the best answer.
  A. To be able to update, maintain, and expand the hospital databases
  B. To be able to make the data in the hospital databases accessible over the Web
  C. To be able to provide fast database connections to the Brazilian hospitals
  D. To be able to view and modify databases in the Brazilian hospitals and acquire current information about health trends
  The correct answer is D.
The customer has specified the need to identify health trends in Brazil, through access to current databases in the Brazilian hospitals. Answer A is incorrect because the customer does not need to perform the updates, or maintain or expand the

3. Which of the following are correct about various RowSet subinterfaces?
Please select the best answer.
  A. RowSets are helpful because they can be wrapped into a JavaBean component to provide a JavaBean view.
  B. A JdbcRowSet can be wrapped into a JavaBean component to provide a JavaBean view.
  C. A JdbcRowSet object can be used to make a ResultSet object scrollable and updatable.
  D. To make a JdbcRowSet JavaBean compliant, you must extend it and make the extension implement Serializable.
  The correct answer is C.
a. RowSets are JavaBean components and provide a JavaBean view. They do not need to be wrapped into any other class. All RowSets have this feature built in.
c. All RowSet objects are by default scrollable and updatable. If the driver and database being used do not support scrolling and/or updating of result sets, an application can populate a JdbcRowSet object with the data of a ResultSet object and then operate on the JdbcRowSet object as if it were the ResultSet object.
d.All RowSets are JavaBean compliant. While you may extend JdbcRowSet, you should not make it Serializable because a JdbcRowSet is a connected RowSet and so it maintains a connection to the database which cannot be serialized.