When a typical application utilizes a JDBC data source, the process involves several steps. Identify three of these steps.
A. The application returns the connection to the data source.
B. The application looks up the data source using the JNDI name.
C. The application tests the connection to verify the database's availability.
D. The application adds a new connection to the data source if none are available.
E. The application requests a connection from the data source.
Correct Answer: BDE
Applications look up the data source on the JNDI tree or in the local application context (B) and then reserve a database connection with the getConnection (E) method. Data sources and their connection pools provide connection management processes that help keep your system running and performant.
B: JNDI Name - Enter the JNDI path to where this JDBC data source will be bound. Applications look up the data source on the JNDI tree by this name when reserving a connection.
Note: If you've done any work with JDBC DataSources in a Web application, you already understand the basic process: create an initial JNDI (Java Naming and Directory Interface) context, then use the context to perform a "lookup" to retrieve your DataSource.
Incorrect answers:
C: The test is optional and if it is executed by weblogic before releasing the connection to the application
Your server includes an application that uses a generic JDBC data source to connect to a database. However, the network connection between the server and the database is not 100% reliable.
You wish to avoid scenarios in which the application fails due to a failed JDBC connection. Identify two data source attributes to help accomplish this.
A. Statement Cache
B. Pool Reserve Mode
C. Test Table Name
D. Test Connection Mode
E. Test Connections on Reserve
Correct Answer: AE
A: Each connection in a data source has its own individual cache of prepared and callable statements used on the connection. However, you configure statement cache options per data source. That is, the statement cache for each connection in a data source uses the statement cache options specified for the data source, but each connection caches it's own statements.
E: When Test Connections On Reserve is enabled, when your application requests a connection from the data source, WebLogic Server tests the connection using the query specified in Test Table Name before giving the connection to the application.
Testing reserved connections can cause a delay in satisfying connection requests, but it makes sure that the connection is viable when the application gets the connection.
Reference: Oracle Fusion Middleware Oracle WebLogic Server Administration Console Online Help 11g Release 1, Configuring JDBC Data Sources http://docs.oracle.com/cd/E12839_01/web.1111/e13737/jdbc_datasources.htm#i1192665
Question 83:
What is the maximum number of targets (standard or migrate) that you can configure for a JMS server?
A. 0
B. 1
C. 2
D. No limit
Correct Answer: D
To configure the migratable target servers for JMS-related service migration:
1.
If you have not already done so, in the Change Center of the Administration Console, click Lock and Edit (see Use the Change Center).
2.
In the Domain Structure tree, expand Environment, then select Migratable Targets.
3.
On the Summary of Migratable Targets page, click New.
On the Create a new Migratable Target page:
In Name, enter a name for the migratable target.
In Cluster, select a configured cluster for the migratable target.
Reference: Configure migratable targets for JMS-related services
Question 84:
You are deploying a web application called inventory.war. It has been installed and has the Stat* "Prepared." It is targeted to the Managed Server named managed1. The web application's context route is /inventory and the starting page is index.jsp
However, you want to test the application before allowing end users access to it. In the administration console, you select inventory-war, and then select Start and "Servicing only administration requests.
In your web browser, you need to enter a host and port followed by /inventory/index.jsp. What host and port would you use?
A. managed, host and port
B. Administration Server host and port
C. Managed1 host and Administration port
D. Administration Server host and Administration port
Correct Answer: D
Servicing only administrative requests: Specifies that WebLogic Server make the application available in Administration Mode only. While in Administration mode, the application can be accessed only by internal clients through a configured Administration port.
Reference: Oracle Fusion Middleware Oracle WebLogic Server Administration Console Online Help 11g Release 1, A weblogic.Deployer Command-Line Reference
Question 85:
You deployed a simple web application WAR by using the administration console. Its state is currently "Active."
In the administration console, under Configuration of the application, you change some deployment descriptor values.
What happens when you save such changes?
A. The changes are in memory and temporary
B. This is not possible because changes cannot be made to an "Active" application.
C. You are prompted to select a location for a new deployment plan where the changes will be stored.
D. The archive is opened and new versions of the deployment descriptors are placed within it.
Correct Answer: C
Note: You can use the Administration Console to configure selected deployment descriptor element values for an EJB that is deployed as an exploded application. To configure editable deployment descriptor values for an EJB that is deployed as an exploded application:
1.
If you have not already done so, in the Change Center of the Administration Console, click Lock and Edit (see Use the Change Center).
2.
In the left pane of the Administration Console, select Deployments.
3.
In the right pane, click the desired EJB module.
4.
Select the Configuration > General tab.
Selected deployment descriptor elements for the EJB are listed.
5.
Enter new values for the elements you want change, and click Save.
6.
To activate these changes, in the Change Center of the Administration Console, click Activate Changes.
Not all changes take effect immediately--some require a restart
Reference: Oracle Fusion Middleware Oracle WebLogic Server Administration Console Online Help 11g Release 1, Configure deployment descriptor values
Question 86:
You have successfully created a global data source and connection pool via the administration console.
In which directory relative to the domain will this new data source and connection pool definition located?
A. in a directory named config/dataSource
B. in a directory named config/connPool
C. in a directory named config/resources
D. in a directory named config/jdbc
E. in a directory named config
Correct Answer: D
When you create a JDBC resource (data source or multi data source) using the Administration Console or using the WebLogic Scripting Tool (WLST), WebLogic Server creates a JDBC module in the config/jdbc subdirectory of the domain directory, and adds a reference to the module in the domain's config.xml file.
Reference: Configuring WebLogic JDBC Resources
Question 87:
Which three tasks can be performed by the Node manager?
A. Start a server.
B. Define a node server.
C. Host the Node Manager console.
D. Automatically restart a failed server.
E. Kill a failed application on a server.
F. Kill the process of a server that did not shut down properly.
Correct Answer: ABD
Node Manager enables you to perform these tasks:
*
Start and stop remote Managed Servers. (A)
*
Monitor the self-reported health of Managed Servers and automatically kill server instances whose health state is "failed".
*
Automatically restart Managed Servers that have the "failed" health state, or have shut down unexpectedly due to a system crash or reboot. (D)
Question 88:
Which three statements are true when an Administration Server is compared to a managed server?
A. A domain must have at least one of each type of server.
B. Administration Server keeps a domain log, but a Managed Server does not.
C. A Managed Server keeps a server log, but an Administration Server does not.
D. When a Managed Server comes up, it asks its Administration Server for the latest configuration.
E. An Administration Server manages the domain configuration.
F. JEE applications are deployed only to a Managed Server.
Correct Answer: DEF
D: When a Managed Server starts, it contacts the Administration Server to retrieve its configuration information. If a Managed Server is unable to connect to the specified Administration Server during startup, it can retrieve its configuration directly by reading a copy of the config.xml file and other files located on the Managed Server's own file system.
E: One instance of WebLogic Server in each domain acts as an Administration Server. The Administration Server provides a central point for managing a WebLogic Server domain.
F: For a typical production system, BEA recommends that you deploy your applications only on Managed Servers. This practice allows you to dedicate the Administration Server to configuration and monitoring of the domain, while one or more Managed Servers service your applications.
Incorrect answers:
A: In a domain with only a single WebLogic Server instance, that server functions both as Administration Server and Managed Server.
B, C: Many WebLogic Server operations generate logs of their activity. Each server has its own log as well as a standard HTTP access log. These log files can be
configured and used in a variety of ways to monitor the health and activity of your servers and applications.
Reference: Overview of WebLogic Server System Administration
Question 89:
Your production JMS server and/or its consumers are not able to handle the incoming message workload. The number of messages on the server never stabilizes
and the server eventually becomes overload.
Which JMS server attribute will best help prevent the JMS server from being overloaded by producers?
The upper threshold (number of messages stored in this JMS server) that triggers flow control and logging events. A value of -1 disables the events for this JMS
server. If the number of messages exceeds this threshold, the triggered events are:
Log Messages
-A message is logged on the server indicating a high threshold condition. Flow Control
-If flow control is enabled, the JMS server becomes armed and instructs producers to begin decreasing their message flow.
Which three statements are true about WebLogic clusters?
A. Clusters provide clients with transparent failover.
B. EJB applications can be targeted to an entire cluster.
C. All cluster members must bind to the same port number.
D. Cluster members replicate application data by using heartbeats.
E. Cluster members can be associated with one or more domains.
F. Web applications require a proxy in order to be used in a cluster.
Correct Answer: ABC
A: If an object is clustered, failover and load balancing for that object is available. In a WebLogic Server cluster, application processing can continue when a server instance fails. You "cluster" application components by deploying them on multiple server instances in the cluster--so, if a server instance on which a component is running fails, another server instance on which that component is deployed can continue application processing.
The choice to cluster WebLogic Server instances is transparent to application developers and clients.
B: A clustered application or application component is one that is available on multiple WebLogic Server instances in a cluster. If an object is clustered, failover and load balancing for that object is available. Deploy objects homogeneously--to every server instance in your cluster --to simplify cluster administration, maintenance, and troubleshooting.
Web applications can consist of different types of objects, including Enterprise Java Beans (EJBs), servlets, and Java Server Pages (JSPs).
Note: Load balancing and failover for EJBs and RMI objects is handled using replica-aware stubs, which can locate instances of the object throughout the cluster.
C: Cluster Multicast Address and Port
Identify the address and port you will dedicate to multicast communications for your cluster.
Incorrect answers:
D: Cluster heartbeats-- Each WebLogic Server instance in a cluster uses multicast to broadcast regular "heartbeat" messages that advertise its availability. By monitoring heartbeat messages, server instances in a cluster determine when a server instance has failed.
E: All server instances in a cluster must reside in the same domain; you cannot "split" a cluster over multiple domains. Similarly, you cannot share a configured resource or subsystem between domains.
F: Proxy might be needed depending how you set up the architecture, but a proxy is not required for web applications.
Reference: Using WebLogic Server Clusters , Understanding WebLogic Server Clustering
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Oracle exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 1Z0-102 exam preparations and Oracle certification application, do not hesitate to visit our Vcedump.com to find your solutions here.