This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
please answer this 128 questions for WLS. I know answers to many. But giving here for sake of others. Mail me answer (and also other questions/stuff you have) or post here if administrator allows. pleassse! i have exam scheduled in next week. sameer pawar firstname.lastname@example.org scjp and ocp(pl/sql) 1.For clusters that utilize a bank of web servers with WebLogic proxy plug-ins, which type of load-balancing algorithm is/are available? round-robin parameter-based random weight-based 2.When using peer-to-peer communication using sockets, which of the following provides the best performance? Use a pure Java socket reader implementation Use a native socket reader implementation Use an exclusive multicast address Set the number of socket reader threads to exceed the potential maximum number of opened sockets 3.A WebLogic server has a web application named “fruits” deployed in it. This application has three servlets mapped under URL patterns /apples, /oranges and /grapes. Without making any further assumptions about the deployment, which of the following will invoke the oranges servlet from this Server? http://host ort/oranges http://host ort/fruits/oranges http://host ort/oranges/index.htm http://www.oranges.com/index.htm 4.Assume two clients call the findByPrimaryKey() method of an entity EJB and specify the same primary key. WebLogic Server does which of the following? (Select two) Both clients will be able to access the entity bean at the same time (Optimistic Concurrency) The first client who called the findByPrimaryKey() method will have exclusive access to work with that entity bean and he will have a lock on the bean (Pessimistic Concurrency) The second client will receive a RemoteException The second client will block (wait) until the first transaction has completed 5.Given the following JSP expresson: <%= myBean.getName() %> Which following statement will produce the same results? <jsp:getProperty myBean.getName() /> <jsp:getProperty "myBean.name" /> <jsp:getProperty name="myBean" property="name" /> <jsp:getProperty name=myBean property=name /> 6.In the event the config.xml file becomes corrupt and the administration server fails to boot, a copy of the configuration file that was used to boot the active domain can be found where? /config/mydomain/config.xml.booted /config/mydomain/config.xml /config/mydomain/weblogic.properties /config/mydomain/applications/console.war 7.Which of the following statements is/are false concerning the use of JNDI in WebLogic Server from a java client? JNDI environment properties must be defined for the InitialContext InitialContext is established with WebLogic Server Context is used to look up a named object in the WebLogic Server namespace Before you can use JNDI to access an object in a WebLogic Server environment, you need not load the object into the WebLogic Server JNDI tree 8.When monitoring JDBC through the Administration Console, the "Waiters High" field corresponds to which of the following? The highest number of clients waiting for a connection at one time The number of clients that are currently awaiting a database connection The highest number of connections that have occurred at any one time The longest duration a client has had to wait for a database connection 9.To ensure that one and only one client processes a message, which of the following JMS models would be implemented? Subscribe to a Topic Receive messages from a Queue Use a Message Driven Bean Use a non-transacted session and define the CLIENT_ACKNOWLEDGE mode 10.Which of the following statements are true concerning objects that implement the javax.ejb.SessionSynchronization interface? The container automatically calls the afterBegin() method when a stateful session bean enters a transaction The beforeCompletion() call occurs before the transaction is prepared to commit If the container passes true to afterCompletion(), then the transaction was committed The afterBegin() method can be used to read data from a database and cache the data in the instance fields 11.Which of the following is a valid mechanism for re-deploying a web application? By changing the pagecheckseconds value in the web.xml deployment descriptor Via the Admin Console Modify the REDEPLOY file Re-copy the war file into the applications directory 12.The default scope limitation of a scriptlet is which of the following? application session page method 13.An enterprise application myBigApp consists of a web application named myWebApp.war, and an EJB component application named myEJB.jar. Which one of the following statements is true concerning the dep It is placed in the main application directory /myBigApp/ along with the myWebApp.war and myEJB.jar It is placed in the /applications/ directory It is placed in the /myBigApp/META-INF/ directory It is placed in the /myBigApp/WEB-INF/ directory 14.Invalidating an Http Session results in which of the following? Deleting the user record from the database Setting a cookie on the user’s system Logging the user out of the system Throwing an error message on the user’s browser 15.Which JMS class encapsulates connection configuration information? Connection ConnectionFactory Session Message 16.A JSP which calls other JSPs or servlets, and these other mechanisms report back to that initial JSP when they are finished processing, is an example of which JSP delegation model? The Simple Model The Forward Delegation Model The Include Delegation Model The Decoupled Model 17.Which of the following is/are not a JMS message type in WebLogic? StreamMessage TextMessage ArrayMessage MapMessage 18.Which of the following JMS models would be implemented to facilitate a message that may be processed by multiple clients? Subscribe to a Topic Receive messages from a Queue Use a Message Driven Bean Use a non-transacted session and define the CLIENT_ACKNOWLEDGE mode 19.Select the options below that are valid commands available with the weblogic.Admin utility in version 6.0. LIST THREAD_DUMP CREATE_POOL CONNECT 20.WebLogic Server instances in a cluster detect failures of their peer server instances by monitoring which of the following? Socket connections to a peer server Regular server "heartbeat" messages Changes in the cluster-wide JNDI naming service Via the CallRouter interface 21.Which of the following are the options for setting up web application authentication? BASIC FORM-BASED CLIENT-CERT T3S 22.Which of the following statements is true concerning the JTA methods setRollbackOnly()? setRollbackOnly() may not cause the rollback to commence immediately setRollbackOnly() is valid only if the current thread is the transaction initiator setRollbackOnly() is valid only if the current principal has administrator privileges setRollbackOnly() is valid only if one or more of the transaction participants throws an exception 23.The Node Manager is required to start and stop Managed servers remotely from the console. Which of the following statements are false about Node Managers? In a typical deployment of WebLogic, there can be multiple Node Managers running in different machines Each node manager can manage only one Managed Server All Communication between the Node Manager and the Admin Server uses the Secure Socket Layer (SSL) protocol The Listen Address of the Administration server must be listed in a “trusted” host file on the Node Manager’s machine 24.A session bean may utilize which of the following to manage transactions? Use bean-managed transactions Use JDBC-managed transactions Use JTA-managed transactions by Implementing the UserTransaction interface Use container-managed transactions 25.An Enterprise Java Bean "MyEJB" which uses a utility class called Helper.class. Helper.class is defined in the com.myapp.helper package. When staging for EJB creation, the Helper.class class is found in which directory? ../myApp/com/myapp/helper/Helper.class ../myApp/META-INF/com/myapp/helper/Helper.class ../myApp/WEB-INF/com/myapp/helper/Helper.class ../myApp/Helper.class 26.Which of the following are steps are necessary to change existing reference implementation RMI applications to WebLogic RMI applications? Change the import statement by using import weblogic.rmi.*; Run the remote classes through the WebLogic RMI compiler Create a separate stub and skeleton class for every remote class Change the java.rmi.RemoteException to weblogic.rmi.RemoteException in its throw block 27.The persistent configuration for a domain of WebLogic Servers and clusters is stored in which entity? HttpSession State config.xml fileRealm.properties SerializedSystemIni.dat 28.All methods in both the home and remote interfaces must throw which exception? javax.ejb.CreateException javax.ejb.EJBException java.rmi.RemoteException Methods in the home and remote interfaces need not throw any exceptions 29.The transaction management property that defines where all changes that a transaction makes to a database are made permanent; otherwise, all changes are rolled back is called which of the following? Atomicity Consistency Isolation Durability 30.Which servlet session persistence mechanism offers the highest performance? In-memory replication Filesystem persistence JDBC persistence Depends on the hardware being used 31.Which of the following APIs or services cannot be clustered in WebLogic Server 6.0? (Select two) File services Time services JDBC connections JMS 32.Which of the following is the WebLogic implementation of the JNDI standard interface? weblogic.jndi.WLInitialContextFactory jndi.weblogic.WLInitialContextFactory weblogic.sun.jndi.InitialContext There is no weblogic specific implementation that uses the standard interfaces 33.Which directory stores the deployment descriptor for an enterprise application located in the DefaultWebApp_myserver directory? DefaultWebApp_myserver/META-INF DefaultWebApp_myserver/META-INF/lib DefaultWebApp_myserver/META-INF/catalog DefaultWebApp_myserver/META-INF/classes 34.Calling an entity bean's ejbStore() method is analogous to which SQL command? INSERT UPDATE SELECT ADD 35.Which of the following JMS message acknowledgment modes is most efficient in terms of resource usage in non-transacted sessions? CLIENT_ACKNOWLEDGE AUTO_ACKNOWLEDGE NO_ACKNOWLEDGE DUPS_OK_ACKNOWLEDGE 36.To develop an RMI over IIOP application (not usingIDL), which three of the following are steps that must be performed? (Select three) Develop the remote interface and implementation class in Java Compile the implementation classes using the WebLogic RMI compiler, and generate the IIOP stub class Compile the implementation class with a language-specific compiler, such as C++. Develop the client and compile with a language-specific compiler 37.Which of the following EJB Transaction Attributes ensures that the method call always takes place in a transaction, either client started, or container started? TX_SUPPORTS TX_MANDATORY TX_REQUIRED TX_REQUIRES_NEW 38.When authoring an EJB, which of the following statements are true? Your "home" interface extends EJBHome Your "remote" interface implements EJBObject Your bean class implements EntityBean or SessionBean Your "remote" interface extends EJBRemote 39.Which of the following is/are not a JMS message type in WebLogic? Stream XMLMessage Map Integer 40.Which directory stores the deployment descriptor for a Web application located in the DefaultWebApp_myserver directory? DefaultWebApp_myserver/WEB-INF DefaultWebApp_myserver/WEB-INF/lib DefaultWebApp_myserver/WEB-INF/catalog DefaultWebApp_myserver/WEB-INF/classes 41.WebLogic Server instances in a cluster communicate with one another using which two basic network technologies? HTTP IP Multicast Corba IP Sockets 42.Which of the following is/are true about WebLogic Server’s implementation of JNDI? (Select three) Gives clients access to the WL name services Make objects available in the WL namespace Retrieve objects from WL namespace Provides security services to java applications 43.Name the implicit object that can be used in JSP scriptlets and expressions to store attributes at web application scope. session application page request 44.A multi-tiered JDBC configuration is composed of which of the following? (Select two) The WebLogic JDBC driver between the client and WebLogic Server A database-specific JDBC driver on the client A multi-pool The vendor-specific JDBC driver between WebLogic Server and the database 45.Which JMX MBean represents the configured properties of various subcomponents of the server? Administration MBean Run-time MBean Configuration MBean a and c 46.Which of the following EJB Transaction Attributes ensures that all transactions are always demarcated by the container (automatic demarcation)? TX_SUPPORTS TX_MANDATORY TX_REQUIRED TX_REQUIRES_NEW 47.The Transaction Isolation Level which prevents dirty reads, non-repeatable reads, and phantom reads is which of the following? TRANSACTION_READ_UNCOMMITTED TRANSACTION_READ_COMMITTED TRANSACTION_REPEATABLE_READ TRANSACTION_SERIALIZABLE 48.Which MBean provides a snapshot of information about domain resources, such as current HTTP sessions or the load on a JDBC connection pool? Configuration MBeans Administration MBeans Run-Time MBeans Deployment MBeans 49.Which of the following statements are true concerning the weblogic.jndi.WLInitialContextFactory class? If unset, the string that specifies the URL of the WebLogic server that will provide the name service defaults to t3://localhost:7001 It can also be used to create a multitier connection to another naming service through a WebLogic Server The string that specifies the URL of the WebLogic server that will provide the name service can be set using the Environment. All of the above are true 50.Which of the following directives would be used in a JSP error page to facilitate use of the exception object JspException? include the directive <%@ page errorPage="file_name" %> include the directive <%@ page isErrorPage="true" %> include the directive <%@ page import="java.rmi.RemoteException" @> both b and c 51.Which of the following statement(s) is/are true concerning HTTP Tunneling? HTTP Tunneling is guaranteed to provide better performance when compared to Normal Socket connections HTTP Tunneling allows for continuous two - way communication between the client and the server By default, HTTP Tunneling is disabled in a WebLogic implementation When a client requests a connection with WebLogic Server, all it needs to do in order to use HTTP tunneling is specify the HTTP protocol in the URL 52.WebLogic Server log messages with which of the following severity attributes are by default forwarded to the Domain log? (Select three) Warning Error Notice Alert 53.The built-in JSP object application represents what entity in WebLogic Server? the session object the servlet request object the actual servlet object generated by the JSP compiler the servlet engine 54.What is the effect of the following? <%@ include file="anotherpage.jsp" %> Forwards control to "anotherpage.jsp" at translation time Inserts the file "anotherpage.jsp" into a JSP file at translation time Inserts the file "anotherpage.jsp" into a JSP file each time the JSP is requested Error 55.In an application that uses connections from a multipool configured for High Availability, which of the following is/are true? (Select two) The application does not use distributed transactions The application may or may not use distributed transactions At any given time the first available pool is always serving the required connections It is guaranteed that various Connection pools within this Multipool are connected to the same database 56.Which statement is true concerning the HttpServlet method: doPost(HttpServletRequest)? It is called by the server (via the init() method) to allow a servlet to handle a POST request It is called by the server (via the service() method) to allow a servlet handle a POST request It returns servlet context information It returns servlet version information 57.Which of the following statements are true concerning the javax.ejb.SessionSynchronization interface? Can help restore the status of a stateless session bean after a rollback of a transaction Can help restore the status of a stateful session bean after a rollback of a transaction Can help restore the status of an entity bean after a rollback of a transaction The EJB container will automatically call the methods of this interface at the appropriate times 58.By default, where does WebLogic Server first replicate HTTP session state in a clustered environment? In the memory of the same WebLogic Server to which the client first connects In the memory of a secondary WebLogic Server instance in the cluster In a specified replication group In a specified file 59.Which is the servlet object used to track a user's state? javax.servlet.HttpServletRequest javax.servlet.HttpServletResponse javax.servlet.http.HttpSession javax.servlet.ServletConfig 60.Which of the following statements regarding Administration and Managed Servers are true? Being a Managed Server is the default role for a WebLogic Server. A new Managed Server can only be added from within the Administration Console A WebLogic Domain may have one or more Administration Servers A WebLogic Domain may have one or more Managed Servers 61.Which of the following statements ensures that only one request can be served at a time by an instance of a JSP? By setting the isThreadSafe=false in the page directive By setting the isThreadSafe=true in the page directive From the Administration Console, set the Execute Threads attribute in the Tuning section of the application server to 0 seconds A JSP cannot limit how many requests it serves at a given time 62.Given the following JSP code: 1. <html> 2. <body> 3. ... 4. <% x += 10; > 5. Result = <%= x %> 6. </body> 7. </html> <% int x = 35 > <%@ int x = 35 %> <%! int x = 35 %> <%! int x = 35; %>
63.Which of the following statements concerning the ejbc utility are true? May be used to compile both EJB 1.1 and EJB 2.0 container classes Checks all EJB classes and interfaces for compliance with the EJB specification Runs each EJB container class through the RMI compiler to create a client-side stub and a server-side skeleton May be used to generate CORBA Interface Definition Language for remote interfaces 64.In the context of a transaction using WebLogic Server’s JTS driver, database operations in a thread executed by different services (such as EJBs, Servlets, etc.) do which of the following? Are assured to get the same connection from the connection pool May get different connections from the pool, but all the connections will be participating in the same transaction May get different connections from the pool and it cannot be guaranteed that they participate in the same transaction The answer depends on the type of service that is doing the database operation.
65.The main entry point of a Servlet is which of the following methods? main() method doPost() method service() method setContentType() method 66.The default file rotation type for the Domain Log is which of the following? By Size By Time By Message Severity None 67.Two stateful session beans are identical if which of the following is true? their primary keys are identical their data attributes are equal their session contexts are equal all instances are always identical 68.Which of the following statements are true concerning the addition of a Managed Server to a Domain? A Managed Server can only be added from within the Administration Console on the Administration Server for the domain A Managed Server can be added from the command line of the Administration Server for the domain A Managed Server must be run on the same machine as the Administration Server The Administration Server specified may be in a different domain than the Managed Server 69.Calling an entity bean's ejbCreate() method is analogous to which SQL command? INSERT UPDATE SELECT ADD 70.Which of the following is/are not a JMS message type in WebLogic? Stream XMLMessage Map Integer 71.The amount of time a transaction may be active before the system forces a rollback is set by what attribute in the Administration Console? TimeoutSeconds AbandonTimeoutSeconds Time Threshold Transaction Timeout 72.When monitoring JDBC connection pools, the value in the "Shrink Period" attribute corresponds to which of the following? The amount of time to wait before refreshing this connection pool The length of time the JDBC subsystem waits before shrinking the pool from the maximum The number of seconds to delay between logins when creating the pool The increment by which the pool capacity is expanded 73.Descriptors that define the caching, clustering, security role names, and performance behavior of EJBs are found in which file? ejb-jar.xml weblogic-ejb-jar.xml weblogic-cmp-rdbms.xml both a and b 74.Which of the following statement(s) is/are false concerning the HttpClusterServlet provided with Weblogic 6.0? The Servlet proxies requests from a weblogic server to other weblogic servers in a Weblogic Cluster The Servlet provides load balancing for proxied HTTP requests The Servlet provides failover for the proxied HTTP requests The Servlet proxies requests from a weblogic server to other WebLogic servers only within a single WebLogic Domain 75.A servlet can pass on a request to another resource, such as a servlet, JSP, or HTML Page by either using the include() or forward() method of the RequestDispatcher interface. Which of the following is/are the correct way(s) of creating the requestdispatcher object? Using the ServletConfig object Using the ServletContext Using the HTTPServletRequest Using the HTTPServletResponse 76.When WebLogic Server starts up, it uses a class-level ordering for deploying components. Which of the following types are deployed before the others in this list? JMS Connection Factories JDBC Multi Pools JDBC Tx Data Sources EJB Components
77.When a WebLogic Server is starting, if any errors occur before initialization is complete, these errors are logged to where? Logged to stdout Logged to a local server startup log file called weblogic-startup.log Logged to the Domain log Both a and b 78.A JNDI lookup on an EJB's bound name returns which of the following? The remote interface The stub which implements the remote interface The home interface The stub which implements the home interface 79.While using Http Sessions, URL encoding can be used as an alternative for which of the following? Servlets Cookies Database Entity Beans 80.Which of the following formats may be used to put hidden comments in a JSP? <% //hidden comments > <%-- hidden comments --%> <!-- hidden comments--> <%! // hidden comments %> 81.Before using the WebLogic Server default File realm, you need to define which of the following fields that govern the use of the File realm? (Select three) Max Users Max Roles Max Groups Max ACLs 82.If all of the business methods in a stateless session bean are idempotent, which of the following statements is true? <stateless-methods-are-idempotent> is set to false in the weblogic-ejb-jar.xml deployment descriptor <stateless-methods-are-idempotent> is set to true in the weblogic-ejb-jar.xml deployment descriptor <stateless-methods-are-idempotent> is set to false in the ejb-jar.xml deployment descriptor <stateless-methods-are-idempotent> is set to true in the ejb-jar.xml deployment descriptor 83.Which two steps would be configured in order to restrict JSP and/or servlet usage to just a subset of users? (Select two) Set up SSL encryption enabling Define security roles in the web.xml file Assign principles to security roles in the weblogic.xml file Set up security constraints to force authentication by an HTML form 84.A transaction that updates multiple resource managers (such as databases) in a coordinated manner is the definition of which of the following? (Select one) Local Transaction Distributed Transaction Container-managed Transaction Two-phase commit Protocol 85.Which of the following requirements for the ejbCreate() method in a stateless session bean are correct? It must have only one ejbCreate() method The ejbCreate() method must return the void return type The ejbCreate() method must contain no arguments If the ejbCreate() method is run successfully, an object of the type EJBHome is created 86.What is the security file included in the WebLogic Server distribution that contains a set of default permissions, enabling you to start WebLogic Server without first creating your own security file? weblogic.policy fileRealm.properties password.ini SerializedSystemIni.dat 87.What is the pattern recommended by WLS that can be used to avoid the overhead involved in the common task in web applications to cache data used by multiple objects for a period of time? Exactly-Once-Per-Cluster Design Pattern Data Caching Design Pattern Data Computation Design Pattern None of the above 88.A JDBC Driver implemented purely by Java, is commonly known as which of the following? Type 3 driver Native driver Third party driver Type 4 driver 89.The WebLogic rmic compiler provides which of the following? Ability to define and translate an RMI object interface to an equivalent IDL interface Define a service as clusterable via the -clusterable option Signatures of remote methods do not need to throw RemoteException A one-to-one correspondence between the proxy classes and the remote objects 90.At runtime, which is the correct syntax to lookup an EJB that has been defined as "employee" in the JNDI naming tree? java:comp/env/employee java:comp/env/ejb/employee java:env/comp/employee jsp:comp/env/ejb/employee 91.When WebLogic Server creates an Http Session state replica on a different machine than the one hosting the primary session state, this is an example of which Http Session persistence mechanism? Memory-based File-based Database (JDBC) In-memory replication in a cluster 92.In the javax.jta.UserTransaction interface, which method will modify the transaction associated with the current thread such that the only possible outcome of the transaction is to roll back the transaction. commit() setTransactionTimeout() rollback() setRollbackOnly() 93.Which of the following statement(s) is/are true concerning Access Control Lists (ACLs)? ACLs determine if a particular user has access to perform a particular task The recommended way is to assign ACLs to individual users The recommended way is to assign ACLs to groups of users By default, all users have modify permissions for MBeans 94.If you restart the WebLogic Administration Server while Managed Servers continue to run, how might the Administration Server detect the presence of the running Managed Servers? The Administration Server automatically detects any running Managed Servers After the Administration Server is brought back up, you must restart the Managed Servers to recover The Administration Server must be restarted from the command line on one of the Managed Servers Start the Administration Server from the command line, instructing it to do a discovery of Managed Servers with the argument 95.Which of the following statements is false concerning Message Driven Beans? The MessageListener interface is automatically registered The Message Acknowledgement Mode is specified in the container The container creates a Message Consumer (Queue Receiver or Topic Subscriber) to consumer messages May use only container-managed transactions 96.The root element of the config.xml file is which of the following? <Domain> <Server> <Properties> <Config> 97.The best performance for heavy-duty socket usage in a WebLogic Server cluster is provided by which of the following? (Select one) A pure-Java implementation of socket reader threads The native socket reader implementation for your operating system Connecting to a cluster through a firewall utilizing a single socket Ensuring that the number of socket reader threads in WebLogic Server equals the potential maximum number of opened sockets 98.An arrangement that allows a single WebLogic Server or WebLogic Cluster to host multiple Web sites is known as what? Virtual Hosting A proxy server configuration Clustering Http Session Replication 99.Which of the following statements are true concerning session beans? (Select two) Each ejbPostCreate() method must correspond to a specific create() method in the session bean's home An ejbCreate() method cannot be invoked directly by the client A stateless session bean can have multiple ejbCreate() methods Each ejbCreate() method must match the signature of a corresponding create() method in the home interface 100.What is the registered default Servlet in a web application? FileServlet Servlet Servlet JSPServlet HttpServlet 101.Connection requests to a MultiPool which are always served by the first pool in the list is an example of which of the following? Round-Robin Backup Pool Load Balancing a and c 102.Given the following JSP expresson: <% for (int j=0; j<3; j++) out.print(j); %> Which following statement represents the output ? "012" will be displayed in the console "012" will be displayed in the html page "for (int j=0; j<3; j++)out.print(j);" will be displayed in the html page Error 103.Which of the following APIs or services cannot be clustered in WebLogic Server 6.0? (Select two) File services Time services JDBC connections JMS 104.A particular production environment requires WebLogic Version 6.1 to be started as the Administration server. In order to exploit new features of WebLogic Version 7.0 in the deployed applications, the company decides to deploy its applications on the managed servers, which run Version 7.0. Which of the following statement(s) is/are true concerning this scenario? The system will start without errors but the deployed applications will not be able to access the additional features of Version 7.0 Booting the administration server will abort with errors It is required that the Managed servers and the Admin server run the same version of WebLogic The system will start without errors and the deployed applications will be able to access the additional features of Version 7.0 105.The config.xml file defines which of the following? A single domain A single administration server A cluster of managed servers A cluster of administration servers 106.Which of the following load balancing algorithms has a slight probability that the load will not be evenly balanced over a small number or runs? round-robin weight-based parameter-based random 107.Which of the following is not a valid command of the weblogic.deploy utility? password list deploy redeploy 108.The amount of time to wait before reducing the number of unused open connections in a connection pool to its initial capacity, is done by modifying which field in the Administration Console? Initial Capacity Maximimum Capacity Refresh Period Shrink Period 109.When creating an initial context for accessing the WebLogic naming service, what will happen if an initial context factory isn't set? The default "t3://localhost:7001" is used The default " weblogic.jndi.WLInitialContextFactory " is used The code will not compile The code compiles, but a NoInitialContextException is thrown when an initial context is required to complete an operation 110.The functionality of the <jsp:include> action in a JSP corresponds to which interface in a servlets? javax.servlet.HttpServletRequest javax.servlet.Servlet javax.servlet.Context javax.servlet.RequestDispatcher 111.Which of the following parameter(s) in the config.xml allows setting the number of TCP connections which may be queued? Accept Backlog TCP Pool Size TCP Cache Size None of the above 112.If the client does not begin a transaction, calls an EJB method, and the container sees a transaction attribute of "TX_MANDATORY" on that EJB, which of the following will happen? The container will enclose the client’s method call within a begin(), commit(), rollback() block, in effect starting a transaction on behalf of the client The container will throw a TransactionNotSupported exception to the client without even accessing the EJB The container will throw a TransactionRequired exception to the client without even accessing the EJB The container will do nothing, and begin method calls on the EJB 113.The maximum number of stateful session bean instances that can be held in the in-memory cache is defined by which of the following? max-beans-in-memory max-beans-in-cache max-beans-in-free-pool max-stateful-session 114.Which of the following JMS message acknowledgment modes requires the client to use the javax.jms.Message.acknowledge() method to explicitly acknowledge messages in non-transacted sessions? CLIENT_ACKNOWLEDGE AUTO_ACKNOWLEDGE NO_ACKNOWLEDGE DUPS_OK_ACKNOWLEDGE 115.Message Driven Beans must implement which two of the following interfaces? (Select two) javax.ejb.EJBObject javax.ejb.MessageDrivenBean javax.jms.MessageListener javax.jms.ExceptionListener 116.For clustered objects, automatic failover generally occurs in which of the following cases? With objects that are idempotent With objects that are not idempotent With clusters that utilize web servers with WebLogic proxy plug-ins With clusters that use a supported hardware load balancing solution 117.Which of the following statements is false, concerning the WebLogic RMI Implementation when compared to the J2EE implementation? WebLogic uses one-socket connection WebLogic RMI uses serialization WebLogic does not have to declare RemoteException WebLogic RMI must extend the UnicastRemote object 118.The doPost and doGet methods of the HttpServlet class are called by the server via which method(s)? service(HttpServletRequest req, HttpServletResponse resp) getServletConfig() doOptions(HttpServletRequest req, HttpServletResponse resp) doPut(HttpServletRequest req, HttpServletResponse resp) 119.True or False: After deploying an application using the auto-deploy feature of WebLogic, any changes made to the configuration of the application using the console will be persisted to the config.xml file and the changes will be available for future restarts of the server. True False N/A N/A 120.Which of the following is/are about are true about the following statement? Context ctx = new InitialContext(); Used to create Server-side contexts that run in the context of WebLogic Server The context is connected to the local naming service It is an illegal construct and a compilation error is thrown The created ctx can be used to lookup system objects in an admin server of weblogic cluster 121.When a client closes a connection obtained from the connection pool, which of the following occurs? The connection is permanently closed The connection is never closed - simply returned to the pool The connection is closed, but reopened and returned to the pool Impossible to tell for sure with the given information 122.Which of the following are legal ways of creating the context in JNDI? (Select two) Using the Hashtable Object Using the WL Environment Object By creating a object of type WLInitialContextFactory using new() Using the getInstance() method in WLInitialContextFactory object 123.Which of the following are valid mechanisms for a client to access a Message Driven Bean? By sending a message to a JMS Queue or Topic By creating a message-driven bean instance and passing JMS messages to that instance Call the message-driven bean's onMessage() method Call the message-driven bean's ejbCreate() 124.The default algorithm used when using the WebLogic Cluster API is which of the following? round-robin weight-based random parameter-based 125.Which of the following statement(s) is/are true concerning Administration and Managed Servers in a typical production deployment? Applications are deployed across Managed servers Any server can be used to modify the configuration file of the domain If the Administration server goes down, there is definitely going to be a down time Restarting the Administration server without restarting the managed server(s) is a fruitless activity. The Administration server will not be able to function properly 126.Which of the following is/are correct technique(s) for making custom object accessible from any WebLogic Server in the cluster Rely on WebLogic JNDI's default behavior of replicating JNDI bindings to replicate the custom object across all WebLogic Servers in the cluster Deploy the custom object on each WebLogic Server in the cluster without replicating the JNDI bindings By using the add method in WLJNDI class Custom objects cannot be bound in JNDI
127.Which JMS object represents an open communication channel to the messaging system? Connection ConnectionFactory Session Message 128.An entry in a JSP's Declaration Tag corresponds to what part of its compiled Servlet? It goes into the servlet's class declaration, but outside any method It goes into the servlet's service() method It goes into the servlet's import statement It goes into the servlets's doPost() method
Sameer, Wha? 128 questions! (Which, by the way look an awful lot like mine.) Knowing the answers to individual questions won't help you on the exam (unless of course you are asked these exact questions, which I doubt). You have to know the theory behind the answers. Ask yourself, should you carry a certification because you memorized some answers, or because you know the theory? If I were your employer, I'd expect the latter. :roll: -------------------------------------- Joe McGuire Sun Certified Java™ 2 Programmer, BEA WLS Certified Developer
Hi Sameer, Please seriously consider Joe McGuire suggestion.
The getgamma is the best site to get weblogic certification.Follow the guidelines given by getgamma and I am sure u will come out with great percentage. Search previous posts by me for more stuffs for Weblogic certification. [ June 17, 2002: Message edited by: Pradeep Bhat ]