|
Question 1. Which of the following methods would be called to instantiate a SAX Parser using JAXP? A. a SAXParserFactory.createParser() B. a SAXParserFactory.newSAXParser() C. SAXParserFactory.getSAXFactory() D. SAXParserFactory.newInstance() Answer: B, D Question 2. Which of the following methods would be called to instantiate a DOM Parser using JAXP? A. DOMParserFactory.newInstance() B. DocumentBuilderFactory.newInstance() C. aFactory.newDOMParser() D. aFactory.newDocumentBuilder() Answer: B, D Question 3. Which of the following accurately reflects the relationship between Subjects and Principals within JAAS? A. A Principal manages many Subjects. B. A Principal manages at most one Subject. C. A Subject manages many Principals. D. A Subject manages at most one Principal. Answer: C Question 4. Which method on a JAAS Subject provides declarative authorization via an Access Controller? A. do As () B. do With () C. do As Privileged () D. do With Privileged () Answer: C Question 5. Given: 8.9. 10. 11. 12. Which two elements must be included in the tag? (Choose two.) A. B. C. resource-env-ref> D. Answer: A, B Question 6. What folders within a WAR file are automatically added to the Web component's Class loader? A. META-INF B. WEB-INF C. WEB-INF/classes D. WEB-INF/lib E. WEB-INF/code Answer: C, D Question 7. There is code that is packaged in a JAR file and referenced by multiple EAR files. To minimize maintenance efforts the JAR file should be added to: A. the corresponding lib directory in the archive file of each J2EE module that references it. B. the EAR file and added to each modules manifest class path. C. a class path used by containers to load application specific code. D. the system class path for each effected node. Answer: C Question 8. Which of the following dependencies between J2EE modules within an EAR file are permitted? A. A Web module may depend on classes from another Web module. B. A Web module may depend on classes from an EJB module. C. An EJB module may depend on classes from another EJB module. D. An EJB module may depend on classes from a Web module. Answer: B, C Question 9. A set of third party EJBs are purchased for use on a project. Assuming container-managed persistence, which of the following customization steps can be performed by the project's deployed? A. Define the Home types for the Entity beans B. Map security roles to user groups C. Set named environment properties D. Specify the super classes for each EJB E. Set transaction isolation levels Answer: B, C, E Question 10. An EJB developer is assembling a set of beans for packaging in an EJB JAR file to sell. The Exhibit is a partial listing of the XML deployment descriptor for the EJBs. Which of the following are TRUE concerning the design of LineItemBean? A. LineItemBean must use JNDI to access the sales DB to create Connections. B. LineItemBean instances are to be stored in the marketing DB data store. C. LineItemBean has a custom primary key class. D. LineItemBean uses its number field as the unique identifier for the database. Answer: A, D Question 11. Referring to the Exhibit and assuming container-managed transactions, which of the following statements are TRUE concerning transactions and OrderBean? The sale of items to a customer. OrderBean com.jcert.sales.OrderHome com.jcert.sales.Order com.jcert.sales.OrderBean Container java.lang.Integer False number customer DataSource for the Sales RDB jdbc/salesDB javax.sql.DataSource Container The sale of one item to a customer. LineItemBean com.jcert.sales.LineItemHome com.jcert.sales.LineItem com.jcert.sales.LineItemBean Container java.lang.Integer number False number product quantity DataSource for the Sales RDB jdbc/salesDB javax.sql.DataSource Container A. An invocation of OrderBean.getTotal() outside a transaction will result in a new transaction being created. B. An invocation of OrderBean.addLineItem() outside a transaction will result in a new transaction being created. C. OrderBean.getTotal() can execute outside any transaction scope. D. A deployed cannot set the transaction isolation levels for OrderBean. Answer: B, C Question 12. Referring to the Exhibit and assuming container-managed transactions, which of the following statements is TRUE concerning transactions and OrderBean? Full access Administrator Normal permissions User Administrator OrderBean * Clerk OrderBean getTotal User OrderBean addLineItem OrderBean * Required OrderBean getTotal Supports A. An invocation of an OrderBean method other than getTotal() outside a transaction will result in a new transaction being created. B. An invocation of any OrderBean method outside a transaction will result in a new transaction being created. C. An invocation of an OrderBean method other than getTotal() outside a transaction will result in a Transaction Required Exception. D. An invocation of any OrderBean method outside a transaction will result in a Transaction Required Exception. Answer: A Question 13. An applet displays data one row at a time in tabular form. A session bean coordinates access to multiple entity beans. When updating its display, the applet requests one row at a time from the session bean. The applet is not using a transaction. The client workstation is connected to the EJB Server via a lightly loaded LAN. The applet's display updates slowly. Which of the following would BEST improve the applet's performance? A. Upgrading the LAN speed from 10Mbit to 100Mbit. B. Upgrading the client workstation to a faster CPU. C. Modifying the applet to use a client-side transaction. D. Modifying the session bean and applet so that multiple rows are passed in a single request. E. Increasing the size of the database row cache. Answer: D Question 14. Which two statements about a client’s to a reference to a session bean’s remote home interface are true? (Choose two.) A. The reference can be passed as a methods argument. B. The reference provides the client with the IP address of the bean instance. C. The reference provides the client with access to a least one create method. D. A new home reference must be obtained for each new reference to remote component interface. Answer: A, C Question 15. A developer is designing code to edit the Address of a Customer. What is the BEST way to make use of Entity and Session beans in this situation? A. Design a method in the Address entity bean that allows client code to modify groups of fields with one method call. B. Design the client code to work with a session bean to modify the Address entity bean. C. Design remote client code to work with a session bean to modify the Address entity bean. Design local client code to work directly with the Address entity bean. D. Design the client code to work through Customer entity bean methods to modify the Address. Answer: B Full access Administrator Normal permissions User Administrator OrderBean * Clerk OrderBean getTotal User OrderBean addLineItem OrderBean * Required OrderBean getTotal Supports
|
Question 1. Which protocol is used by multicast to prevent loops? A. OSPF B. RIP C. RPF D. BGP E. EIGRP Answer: C Question 2. What frame type is used to signal TSPEC reservation from a client? A. RSVP B. ADDTS C. 802.11 association information elements D. WMM capabilities exchange Answer: B Question 3. Which two statements are correct if IGMP snooping is enabled on a Cisco WLC? (Choose two.) A. The router IGMP table is updated with the IP address of the wireless clients as the last reporter. B. The IGMP packets from the wireless clients are forwarded to the router without modifications. C. The IGMP packets from the wireless clients are received at the Cisco WLC, which in turn generates a query for the client. D. The IGMP packets from the wireless clients are received at the WLC and are used to update the router via Cisco Group Management Protocol update from the Cisco WLC. E. The router IGMP table is updated with the IP address of the Cisco WLC as the last reporter. Answer: C, E Question 4. Which two messages can carry the TSPEC from client to the AP? (Choose two.) A. Probe request B. Association request C. Authentication request D. Reassociation request Answer: B, D Question 5. Which two statements are correct regarding multicast implementation using a WLAN controller (v5.2) and AP? (Choose two.) A. Multicast traffic is sent out on Cisco APs at the highest mandatory data rate. B. Multicast traffic is sent out on Cisco APs at the highest supported data rate. C. On Cisco APs, multicast traffic and beacons are sent out at the same data rates to maintain a common cell size for normal data as well as multicast data. D. If there is more than one mandatory data rate, multicast traffic will be sent at the highest mandatory rate and beacons will be sent at the lowest mandatory rate. E. On Cisco APs, multicast traffic will be sent out at the highest data rate that a client can Maintain with the AP. Answer: A, D Question 6. What must be true about the client before upstream traffic stream metrics can be displayed on the Cisco WLC? A. Must be Cisco Compatible Extensions version 2 B. Must be Cisco Compatible Extensions version 3 C. Must be Cisco Compatible Extensions version 4 D. Must be associated to a PlatinumQoS WLAN E. Must be associated to an access point on a Cisco WLC with code version 5.0 or newer Answer: C Question 7. On the Cisco Aironet Access Points connected to a Cisco Unified Wireless LAN controller, which TCLAS queue transmits RTP packets with correct 802.11e QoS markings? A. UP B. VO C. VI D. BK E. BE Answer: B Question 8. Which statement describes the WLCv5.2 delivery of a multicast packet from a wired PC source on VLAN_X to a respective wireless client using SSID_X, using a WLAN controller enabled for multicast? A. A packet is delivered to Cisco WLC and forwarded via multicast to all of its associated APs, And finally to all wireless clients of that Cisco WLC, via wireless multicast. B. A packet is delivered to Cisco WLC and forwarded viaunicast to all of its associated APs, and finally to all wireless clients of that Cisco WLC, via wireless unicast. C. A packet is delivered to Cisco WLC and forwarded via multicast to all of its associated APs, discarded at APs without SSID_X joined wireless clients, and forwarded at APs with SSID_X joined wireless clients via wireless multicast. D. A packet is delivered to Cisco WLC and forwarded viaunicast to all of its associated APs, discarded at APs without SSID_X joined wireless clients, and forwarded at APs with SSID_X joined wireless clients via wireless multicast. E. A packet is delivered to Cisco WLC and forwarded via multicast to all of its associated APs, discarded at APs without SSID_X joined wireless clients, and forwarded at APs with SSID_X joined wireless clients via wirelessunicast. F. A packet is delivered to Cisco WLC and forwarded viaunicast to all of its associated APs, discarded at APs without SSID_X joined wireless clients, and forwarded at APs with SSID_X joined wireless clients via wireless unicast. Answer: C Question 9. Which statement is correct for both the LWAPP and CAPWAP AP upstream 802.1Q tagged wired QoS priority for a non-WMM-associated client frame that is H-REAP locally switched running v5.2? A. Wireless client WMM UP classification is translated to a wired DSCP priority. B. Wireless client 802.11p classification is translated to a wired DSCP priority. C. Wireless client WMM UP classification is translated to a wired 802.1pCoS priority. D. Wireless client 802.11p classification is translated to a wired 802.1pCoS priority. E. WLAN configuredQoS level is used to set the wired DSCP priority. F. Wired 802.1pCoS priority is not set. Answer: F Question 10. What two benefits result from Cisco WLC configuration of DCA for 5-GHz VoWLAN deployments? (Choose two.) A. Avoid channels with microwave oven noise. B. Manually remove channels not supported by theVoWLAN clients. C. Avoid 802.11n 40-MHz wide channels. D. Automatically avoid nearby radar. Answer: B, D
Copyright © 2004 CertsBraindumps.com Inc. All rights reserved.