Free Actualpaper Samples and Demo Questions Download
Adobe exams Adobe
Apple exams Apple
Avaya exams Avaya
BlackBerry exams BlackBerry
CheckPoint exams Check Point
Cisco exams Cisco
Citrix exams Citrix
CIW exams CIW
CompTIA exams CompTIA
CWNP exams CWNP
EC-Council exams EC-Council
EMC exams EMC
Exin exams Exin
HP exams Hewlett Packard
IBM exams IBM
ISC exams ISC
ISEB exams ISEB
Juniper Networks exams Juniper Networks
LPI exams LPI
Microsoft exams Microsoft
Network Appliance exams Network Appliance
Nortel exams Nortel
Novell exams Novell
Oracle exams Oracle
PMI exams PMI
RedHat exams RedHat
RSA Security exams RSA Security
SNIA exams SAP
Sun exams Sun
Symantec exams Symantec
Tibco exams Tibco
VMWare exams VMWare
All certification exams

CIW 1D0-442 Exam - ActualPaper.com

Free 1D0-442 Sample Questions:

1. Which type of factory object returns references to objects that reside on another CORBA server?
A. Specific
B. In-process
C. Generic
D. Out-process
Answer: D

2. Which element of the CORBA architecture is required to operate a CORBA-based application?
A. Naming service
B. Life cycle service
C. ORB
D. Client stub
Answer: C

3. Which statement correctly describes the functionality of an EJB (or remote) object?
A. The EJB object synchronizes method calls to an enterprise bean’s home object.
B. The EJB object wraps method calls to an enterprise bean in the EJB container’s security context.
C. The EJB object acts as a factory that creates, locates and removes enterprise beans.
D. The EJB object acts as an intermediary object for an enterprise bean, implementing the bean’s remote interface.
Answer: D

4. Your enterprise bean contains a method with the following signature:
public void removeCustomer(String customerID) throws RemoteException
In which file must a corresponding method signature exist for this enterprise bean?
A. The bean’s client class
B. The bean’s class
C. The bean’s home interface
D. The bean’s remote interface
Answer: D

5. Which method does the EJB specification define as the best method for persisting entity beans?
A. Saving data to a relational database
B. Object serialization
C. Object-relational mapping
D. The EJB specification does not recommend a particular persistence technique.
Answer: D

6. Consider the following statement:

The prepStmt member is of type PreparedStatement. The dbConn member is of type Connection and represents a connection to a database. The ID column is an int data type. The FSTNAME and LSTNAME columns are VARCHAR data types. The value for the ? placeholders in the SQL statement are held by member variables named id, fstName and lstName respectively. Which of the following statements would properly execute the statement given in this question?
A.

B.

C.

D.

Answer: D

7. Consider the following steps necessary to invoke a remote method:
1. Invoke a remote method.
2. Obtain an object reference from the naming service.
3. Initialize the ORB.
4. Obtain the initial naming context.
5. Narrow an object reference.
Which choice lists the correct order in which a CORBA client would perform these steps to invoke a remote method?
A. 3, 4, 2, 5, 1
B. 3, 4, 5, 2, 1
C. 4, 2, 5, 3, 1
D. 3, 5, 4, 2, 1
Answer: A

8. Consider the following IDL definition:

Which statements correctly describe this IDL definition?
A. Calling methodB will require the use of a holder class.
B. Calling methodC will require the use of a holder class.
C. Calling methodA will require the use of a holder class.
D. Calling methodD will require the use of a holder class.
Answer: BD

9. Consider the following IDL definition:

Which statement correctly describes this IDL definition?
A. Calling methodA will require the use of a holder class.
B. Calling methodC will require the use of a holder class.
C. A holder class is not required to call any of the operations defined in MyInterface.
D. Calling methodB will require the use of a holder class.
Answer: B

10. Which statement correctly describes out parameters?
A. out parameters are passed from the calling method to the server-side implementation and from the server-side implementation to the calling method.
B. out parameters are passed only from the calling method to the server-side implementation.
C. out parameters are passed only from the server-side implementation to the calling method.
D. out parameters cannot be used to pass IDL struct types.
Answer: C

11. Which statement correctly describes inout parameters?
A. inout parameters are passed only from the server-side implementation to the calling method.
B. inout parameters are passed only from the calling method to the server-side implementation.
C. inout parameters cannot be used to pass IDL struct types.
D. inout parameters are passed from the calling method to the server-side implementation and from the server-side implementation to the calling method.
Answer: D

12. Consider the following IDL definition:

You want to use this IDL definition to allow clients to update the location of an aircraft by passing an instance of RadarInfo to the remote method. Which statement is true of your design?
A. The remote method will not be able to extract information from parameter ri because it is defined as an out parameter.
B. The IDL definition allows an instance of RadarInfo to be passed to the server-side implementation.
C. The remote method will not be able to extract information from parameter ri because it is a struct type.
D. Instances of RadarInfo may be published to the naming service and accessed remotely.
Answer: A

13. Consider the following IDL definition:

You want to use this IDL definition to allow clients to update the location of an aircraft by passing an instance of RadarInfo to the remote method. Which statement is true of your design?
A. The remote method will not be able to extract information from parameter ri because it is a struct type.
B. Modifications to parameter ri made on the server side will be reflected on the client side.
C. Instances of RadarInfo may be published to the naming service and accessed remotely.
D. The remote method will not be able to extract information from parameter ri because it is defined as an out parameter.
Answer: B

14. Which of the following IDL fragments define a CORBA data structure that can be published to the naming service and accessed remotely?
A.

B.

C.

D.

Answer: BC

15. Which of the following IDL fragments correctly defines a CORBA data structure that can be published to the naming service and accessed remotely?
A.

B.

C.

D.

Answer: B

16. Which statements correctly describe the CORBA naming service?
A. The naming service is highly scalable and is ideal for publishing a large number of object references, such as bank account objects.
B. A naming context may contain both subnaming contexts and object references.
C. The naming service provides the only mechanism for obtaining a remote object reference.
D. The naming service organizes object references in a tree-like structure.
Answer: BD

17. Which statements correctly describe the CORBA naming service?
A. A single naming context may contain multiple subnaming contexts.
B. The initial naming context cannot contain object references.
C. The transient naming service included with Java 2 SDK 1.3 stores the namespace to disk so that it may be restored in the event of a power outage or other system failure.
D. Naming contexts provide a directory or tree-like structure in which to publish object references.
Answer: AD

18. Which CORBA service is used to bind names to object references?
A. Persistent object service
B. Naming service
C. Object collections service
D. Concurrency control service
Answer: B

19. Which statements correctly describe factory objects?
A. A factory object may itself instantiate an object before it passes the reference to a client.
B. A factory object must return a reference to an object implemented within the same process as the factory object.
C. Factory objects must organize object references in a tree-like structure.
D. Factory objects reduce the load on the naming service.
Answer: AD

20. Which type of factory object can return object references of multiple types?
A. In-process
B. Specific
C. Generic
D. Out-process
Answer: C

21. Which type of factory object returns object references of only one type?
A. Generic
B. Out-process
C. In-process
D. Specific
Answer: D

22. Which type of factory object returns references to objects that reside within the same process as the factory object?
A. Out-process
B. Generic
C. Specific
D. In-process
Answer: D

23. A callback object waits for invocations made by:
A. a factory object.
B. the client.
C. the naming service.
D. the server.
Answer: D

24. Which client application could benefit from the use of a callback object?
A. A Java Micro Edition application that notifies the user of a hand-held computer when traffic conditions have improved along a given freeway
B. A Java applet that allows users to send an e-mail message to the quality control department
C. A Java application used by police officers in the field to retrieve vehicle registration information from a remote database by supplying a complete or partial license plate number
D. A Java applet that retrieves a map image when given a street address
Answer: A

25. Which client applications could benefit from the use of a callback object?
A. A Java applet designed to continuously display the most recent prices of up to five commodities as they are traded on a commodities exchange
B. A Java application that retrieves product prices from a Grocery Store database as items are scanned at the checkout counter
C. A Java Micro Edition application that allows a mobile phone to receive instant messages over the Internet
D. A bank ATM application that retrieves an account balance using a customers ATM card number and PIN
Answer: AC

26. Which statements correctly describe callback objects?
A. Callback objects can be used to eliminate the need for polling and to reduce network traffic.
B. Callback objects require a client to provide a server-side implementation of an object.
C. Callback objects help to make a system more scalable.
D. Callback objects are usually published through the naming service.
Answer: ABC

27. Consider the following IDL definition:

Which statement correctly describes this IDL definition?
A. The IDL definition properly defines a factory object that may be used to obtain a reference to an Account object.
B. The IDL definition cannot be compiled due to an error at line 15.
C. The IDL definition cannot be compiled due to an error at line 11.
D. The IDL definition cannot be compiled due to an error at line 5.
Answer: B

28. Consider the following IDL definition:

Which statement correctly describes this IDL definition?
A. The IDL definition properly defines a factory object that may be used to obtain a reference to a Stock object.
B. The IDL definition cannot be compiled due to an error at line 13.
C. The IDL definition cannot be compiled due to an error at line 5.
D. The IDL definition cannot be compiled due to an error at line 11.
Answer: A

29. Which of the following statements accurately describe the Object Management Group (OMG)?
A. The OMG defines the Interface Definition Language (IDL).
B. The OMG defines the CORBA standard and makes periodic updates to the standard.
C. The OMG is a relatively small organization consisting of a few large software vendors.
D. The OMG defines how Object Request Brokers (ORBs) should be implemented.
Answer: AB

30. Which data items are encapsulated within a NamedValue object?
A. The value of a parameter
B. The parameter-passing mode
C. The name of a parameter
D. The method name
Answer: ABC