Professional Documents
Culture Documents
Oracle 11g Guide
Oracle 11g Guide
QUESTION NO: 2
Refer to the Exhibit.
You use the Start button in the administration console to start managed2 successfully. Which two
statements must be true?
A. Managad2 is part of a cluster.
B. The Administration Server is running.
C. Managed2 has applications deployed to it.
D. The Node Manager for machine2 is configured and running.
QUESTION NO: 3
Within your data center, the Administration and Managed Servers utilize a shared, central storage
device, which servers access via NFS.
In this scenario, your application files no longer need to be copied to servers across the network.
Which server attribute allows you to override this behavior?
A. Startup Mode
B. Staging Mode
C. Root Directory
D. Listen Address
Answer: B
Explanation: The server staging mode specifies the default deployment mode for a server if none
is specified at deployment time. For example, the server staging mode is used if you deploy an
application or module using weblogic.Deployer and you do not specify a staging mode.
Reference:http://docs.oracle.com/cd/E12840_01/wls/docs103/ConsoleHelp/taskhelp/deployment/S
etAServerStagingMode.html
QUESTION NO: 5
You run the default startmanageWeblogic (.cmd in Windows) script as shown here:
startmanageWeblogic.sh server1 http://192.168.1.102:8001.
What does this do?
A. It starts the administration server named server1, which is running at 192.168.1.102.8001.
B. It starts the managed server named server1, which is running at 192.168.1.102.8001.
C. It starts the managed server named server1 whose Node Manager is running at
192.168.1.102.8001.
D. It starts the Managed Server named server1 whose Administration Server is running at
192.168.1.102:8001.
Answer: D
"Pass Any Exam. Any Time." - www.actualtests.com
QUESTION NO: 6
An application requires a JDBC data source, which you create in the domain. You name it but the
administrator allot another domain name the same data source DatasourceB.
Without modifying either domain, which is the best method to ensure that the application deploys
successfully in both?
A. Create a separate application archive to use with each domain.
B. Create a separate deployment plan file to use with each domain.
C. Create and register a custom deployment listener.
D. Modify the application code to determine the current domain.
Answer: B
Explanation: A WebLogic Server deployment plan is an optional XML document that you use to
configure an application for deployment to a specific WebLogic Server environment, such as a
domain.
QUESTION NO: 7
Identify three options for Keystores in a server's configuration.
A. Demo Identity and Demo Trust
B. Demo Identity and Java Standard Trust
C. Java Standard Identity and Custom Trust
D. Custom Identity and Demo Trust
E. Custom Identity and Custom Trust
F. Custom Identity and Command Line Trust
Answer: A,B,E
Explanation: Please refer to the screenshot below:
Reference:
http://docs.oracle.com/cd/E23549_01/apirefs.1111/e13952/pagehelp/Corecoreserverserverconfigk
eystoretitle.html#attributes
QUESTION NO: 8
When installing Oracle Weblogic Server 11g with the graphical installer, which three statements
are true?
A. You must choose either a typical or a custom installation.
QUESTION NO: 9
Each domain has a directory called servers that contains subdirectories for each server in the
domain. Your domain has a managed server named managed1. When will the managed1
directory be created?
"Pass Any Exam. Any Time." - www.actualtests.com
QUESTION NO: 10
Identify three properties required by the domain Configuration Wizard when creating a new
domain.
A. machine name
B. Managed Server name
C. domain startup mode
D. domain name
E. administrator username and password
Answer: C,D,E
Explanation: C: Choose the Startup Mode
Specify the startup mode for your domain.
Either Development or Production
D: The Create WebLogic Domain window prompts you to specify the name and pathname for the
domain, and initiate its creation.
E: The Configure Administrator Username and Password window prompts you to specify a
username and password to be used for starting the Administration Server.
Reference: Creating WebLogic Domains Using The Configuration Wizard
http://docs.oracle.com/cd/E13179_01/common/docs92/confgwiz/newdom.html
QUESTION NO: 11
Which two statements are true about adding servers to a cluster?
A. When you create a cluster, you must add at least one server to it.
B. Only managed servers can be in a cluster.
"Pass Any Exam. Any Time." - www.actualtests.com
QUESTION NO: 12
Consider a single JMS module that includes a connection factory as well as queue.
Based on your systems requirements, the connection factory needs to be made available to all
servers in the domain. The queue, on the other hand, can be targeted to only a single JMS server
domain.
What is the best way to achieve the desired JMS setup?
A. Create two subdeployments within the JMS module.
B. Target the JMS server to the JMS module.
C. Target the JMS module to the entire domain.
D. Replace the queue with a topic.
Answer: A
Explanation: A subdeployment is a mechanism by which JMS module resources (such as
queues, topics, and connection factories) are grouped and targeted to a server resource (such as
JMS servers, server instances, SAF agents, or a cluster).
For example, you can group a connection factory with stand-alone queues or topics in a
subdeployment targeted to a specific JMS server, which guarantees that all these resources are
co-located to avoid extra network traffic. Another advantage of such a configuration would be if the
targeted JMS server needs to be migrated to another WebLogic server instance, then the
connection factory and all its connections will also migrate along with the JMS server's
destinations. However, when stand-alone queues or topics are members of a subdeployment, a
connection factory can only be targeted to the same JMS server.
Reference: Oracle Fusion Middleware Oracle WebLogic Server Administration Console Online
Help 11g Release 1, Configure subdeployments in JMS system modules
QUESTION NO: 14
Which can be associated with multiple domains?
A. Cluster
B. Server Log
C. Node Manager
D. Administration Server
10
QUESTION NO: 15
Identify two supported methods of deploying a JMS module to a domain.
A. Create a module by using the administration console.
B. Load a module into the WebLogic database.
C. Include a module file within a web application archive.
D. Include a module file within an enterprise application archive.
E. Define a module within an existing JDBC module.
Answer: A,D
Explanation: A: Main Steps for Creating Packaged JMS Application Modules
Follow these steps to configure a packaged JMS module:
If necessary, create a JMS server to target the JMS module to, as explained in "Configure JMS
Servers" in the Administration Console Online Help.
Create a JMS system module and configure the necessary resources, such as queues or topics,
as described in "Configure JMS system modules and add JMS resources" in the Administration
Console Online Help.
The system module is saved in config\jms subdirectory of the domain directory, with a "-jms.xml"
suffix.
Copy the system module to a new location, and then:
Give the module a unique name within the domain namespace.
Delete the JNDI-Name attribute to make the module application-scoped to only the application.
Add references to the JMS resources in the module to all applicable J2EE application
component's descriptor files, as described in Referencing a Packaged JMS Application Module In
Deployment Descriptor Files.
Package all application modules in an EAR, as described in Packaging an Enterprise Application
With a JMS Application Module.
Deploy the EAR, as described in Deploying a Packaged JMS Application Module.
11
QUESTION NO: 16
Which statement is true about the java Node Manager?
A. It runs on Windows not on Linux
B. In its secure form, it uses one-way SSL.
C. It does not use the nodemanager.domains file, whereas the script-based Node Manager.
D. Unlike the script based Node Manager, it should not be run as an operating system service
Answer: B
Explanation: Node Manager security relies on a one-way SSL connection between the client and
server.
Reference: Oracle Fusion Middleware Oracle WebLogic Server Administration Console Online
Help 11g Release 1, Configuring Java-based Node Manager Security
http://docs.oracle.com/cd/E21764_01/web.1111/e13740/java_nodemgr.htm#i1068397
QUESTION NO: 17
Which two statements are true about a WebLogic domain?
A. It is the basic administrative unit of WebLogic Server.
B. It is an optional administrative construct to organize groups of WebLogic
12
QUESTION NO: 18
Which two statements are true about multicast communication within a cluster?
A. Multicast can be used for cluster heartbeat messages.
B. Multicast is used to replicate session state between servers.
C. Multiple clusters can share the same multicast address and port.
D. You may disable multicast on individual cluster members.
E. Multicast traffic is often limited to a single subnet.
Answer: A,E
Explanation: A: WebLogic Server instances in a cluster communicate with one another using two
basic network technologies:
* IP sockets, which are the conduits for peer-to-peer communication between clustered server
instances.
* IP unicast or multicast, which server instances use to broadcast availability of services and
heartbeats that indicate continued availability.
E: In many deployments, clustered server instances reside within a single subnet, ensuring
multicast messages are reliably transmitted. However, you may want to distribute a WebLogic
Server cluster across multiple subnets in a Wide Area Network (WAN) to increase redundancy, or
to distribute clustered server instances over a larger geographical area.
Reference: Using WebLogic Server Clusters, Communications In a Cluster
13
QUESTION NO: 19
Identify two true statements about an Oracle WebLogic Server JMS Connection Factory.
A. A default JMS Connection Factory exists and is named weblogic.jms.connections
B. A Connection Factory can be targeted to only one WebLogic Server.
C. A JMS Connection Factory's Default Priority and Default Time-to-Live attribute cannot be
modified after the Connection Factory is created.
D. A JMS Connection factory can be created as a system module resource within the
administration console.
Answer: C,D
Reference: Programming WebLogic JMS, Understanding WebLogic JMS
QUESTION NO: 20
In WLST, you enter the shutdown () command with no arguments. Which statement is true in this
case?
A. The server you are connected to will shut down.
B. The command does a "Force" shutdown.
C. The command blocks user interaction.
D. The command has timeout of 30,000 milliseconds.
Answer: A
Explanation: The WLST life cycleshutdowncommand gracefully shuts down a running server
instance or cluster.
Reference: WebLogic Scripting Tool ,Life Cycle Commands
QUESTION NO: 21
Which three statements are true about WebLogic users and groups?
"Pass Any Exam. Any Time." - www.actualtests.com
14
QUESTION NO: 22
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?
A. Producer Pause High
"Pass Any Exam. Any Time." - www.actualtests.com
15
QUESTION NO: 23
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.
Answer: A,B,C
Explanation: 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
clusterso, 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.
16
QUESTION NO: 24
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.
Answer: D,E,F
Explanation: 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
specifiedAdministration 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.
Reference: Overview of WebLogic Server System Administration
"Pass Any Exam. Any Time." - www.actualtests.com
17
QUESTION NO: 25
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.
Answer: A,D,F
Explanation: 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". (F)
* Automatically restart Managed Servers that have the "failed" health state, or have shut down
unexpectedly due to a system crash or reboot. (D)
QUESTION NO: 26
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
Answer: D
Explanation: 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 domains config.xml file.
18
QUESTION NO: 27
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
Answer: D
Explanation: 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
& 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 NO: 28
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?
"Pass Any Exam. Any Time." - www.actualtests.com
19
QUESTION NO: 29
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.
Answer: C
Explanation: 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
& 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.
"Pass Any Exam. Any Time." - www.actualtests.com
20
QUESTION NO: 30
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
Answer: A,E
Explanation: 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
21
QUESTION NO: 31
You have selected Configuration Archive Enabled for the domain. When a configuration change
and activated, where is the previous version of the configuration archived?
A. in the Oracle database
B. in the config directory
C. in the pending directory
D. in the console-ext directory
E. in the configArchive directory
Answer: E
Explanation: You can configure WebLogic Server to make backup copies of the configuration
files. This facilitates recovery in cases where configuration changes need to be reversed or the
unlikely case that configuration files become corrupted. When the Administration Server starts up,
it saves a JAR file named config-booted.jar that contains the configuration files. When you make
changes to the configuration files, the old files are saved in the configArchive directory under the
domain directory, in a JAR file with a sequentially-numbered name like config-1.jar.
Reference: Understanding Domain Configuration, Configuration File Archiving
http://docs.oracle.com/cd/E12840_01/wls/docs103/domain_config/config_files.html
QUESTION NO: 32
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.
Answer: B,D,E
Explanation: 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
"Pass Any Exam. Any Time." - www.actualtests.com
22
QUESTION NO: 33
As an Oracle WebLogic Server administrator, you are given an EAR file application to deploy.
Identity three reasons for creating an EAR file first.
A. After the .ear file has been deployed, the developer will not have to ask for your assistance to
deploy it again.
B. The EAR file is created to avoid namespace clashes in the Java code.
C. The EAR file can contain multiple WAR, EAR, and other resources to easily bundle together.
D. The EAR file is required if you are deploying an application.
E. The EAR file can declare application-wide security roles definitions.
Answer: A,B,E
Explanation:
E: An EARfile contains:
* Web module
A WAR file containing the view logics like JSPs, Servlets, Html contents. Every web module must
have one Web Deployment descriptor placed inside WEB-INF/web.xml
web.xml is a J2EE standard deployment descriptor. Among other settings, it has a set of elements
for configuring security for the web application.
Note:
*An EAR file provides a convenient way to bundle up all pieces of a J2EE application. It may
contain Java Module, WAR Module or an EJB Jar module.
23
QUESTION NO: 34
Identify three types of JMS resources that can be configured as a part of a JMS module.
A. JMS Distributed Destination
B. JMS Connection Factory
C. JMS Data Source
D. JMS Destination
E. JMS Server
Answer: A,B,D
Explanation: Configurable JMS Resources in Modules
The following configuration resources are defined as part of a system module or an application
module:
*Distributed destinations (A, D)
*Connection factories (B)
*Queue and topic destinations
* Templates
* Quota
* Foreign servers
* MS store-and-forward (SAF) configuration items
All other JMS environment-related resources must be configured by the administrator as domain
configuration resources. This includes:
* JMS servers required(not E)
* Store-and-Forward agents (optional)
* Path service (optional)
*Messaging bridges (optional)
* Persistent stores (optional)
Reference: Configuring And Managing WebLogic JMS, Configurable JMS Resources in Modules
"Pass Any Exam. Any Time." - www.actualtests.com
24
QUESTION NO: 35
A managed server, myserver1, has a boot.properties file in the security directory. It was started
with the startManageWeblogic.sh script(.cmd in windows) and his boot.properties file was used for
its startup credentials.
You just used the administration console to change all administrator passwords. To continue using
boot.properties, what can you do?
A. This is not possible. A boot.properties file can be used only with the Administration Server.
B. Delete boot.properties. In the administration console, under the myserver configuration, select
Generate Boot Identity file.
C. You need not do anything- The password in boot .properties was automatically updated by
administration console when you changed the password.
D. Edit boot.propetties. Type over the encrypted password with the new password in clear text.
The next time myserver1 is started, it will encrypt the password in the file.
E. Delete boot .properties. Use the WLST encrypt () command to create a new boot.properties file
containing the new password. Copy that file into the security directory of myserver1
Answer: D
Explanation: If you install the WebLogic Server Examples component, the default user weblogic
is created that has permission to start and stop WebLogic Server. The default password is
welcome1. If you change the password of the weblogic user, WebLogic Server does not
automatically update this password in the boot.properties file, which is located in the
DOMAIN_NAME/servers/AdminServer/security directory.
If you change the password for user weblogic, you can use either of the following workarounds so
that you can continue to boot a WebLogic Server instance via that username and its new
password:
* Remove the boot.properties file. Subsequently each time you start WebLogic Server, you are
prompted for the username and password. The changed password for the weblogic user will be
accepted.
* Modify the existing boot.properties file, changing the username and password as follows:
username=weblogic
password=welcome1
Subsequently during the server startup process, the boot.properties file is encrypted again.
Reference: Oracle Fusion Middleware Oracle WebLogic Server Administration Console Online
"Pass Any Exam. Any Time." - www.actualtests.com
25
QUESTION NO: 36
Refer to the Exhibit.
Which three statements are true about using the administration console to shut down a server?
A. The configuration must first be locked.
B. The choice "Force Shutdown Now" drops in-work requests.
C. Both the choices, "When work completes" and "Force Shutdown Now", reject any new
requests.
D. The choice "When work completes" allows in work requests to complete before the server
down.
E. The administration console can be used to shut down Managed Servers, such as managed not
the Administration Server.
Answer: A,B,D
Explanation: A: See step 3) in the note below.
B: select Force Shutdown Now to stop the server immediately without completing ongoing tasks.
D: Select When Work Completes to gracefully shut down the server
A graceful shutdown gives WebLogic Server subsystems time to complete certain application
processing currently in progress.
26
QUESTION NO: 37
Your company is developing batch order system that utilities JMS. Each order message that is
created will be broadcasted to and consumed by several order processing and billing applications.
As part of configuring the domain that will support this system, which type of JMS destination
resource should you create?
A. Grid
B. Queue
C. Topic
D. Batch
E. Client
Answer: C
Explanation: A JMS destination identifies a queue (point-to-point) or topic (publish/subscribe)
resource within a JMS module.
A JMS topic identifies a publish/subscribe destination type for a JMS server. Topics are used for
asynchronous peer communications. A message delivered to a topic is distributed to all
consumers that are subscribed to that topic.
Reference: Configuring Basic JMS System Resources,Queue and Topic Destination Configuration
QUESTION NO: 38
27
QUESTION NO: 39
Identify the server attributes that you must configure to communicate with the server via HTTPS.
A. SSL Listen Address
B. SSL listen Port
C. SSL Listen Port Enabled
D. Production Mode Enabled
E. Startup Mode
Answer: B
Explanation: Enabling SSL under WLS 10.3
See step 6) below.
28
QUESTION NO: 40
You are creating a new domain by using the Configuration Wizard, based solely on the Basic
WebLogic Server Domain product (no template). Select three resources that you can create while
still in the Configuration Wizard.
A. Administration Server
B. Managed Server
C. Data Server
D. JMS Server
E. Cluster
F. Domain Log
Answer: A,B,E
Explanation: A: The Configure the Administration Server window prompts you to define the
configuration information for the Administration Server, including:
Administration Server name
Listen address
Nonsecure and secure (optional) listen ports
B: The Configure Managed Servers window prompts you to define the configuration information for
one or more Managed Servers, including:
Managed Server name
Listen address
Nonsecure and secure (optional) listen ports
"Pass Any Exam. Any Time." - www.actualtests.com
29
QUESTION NO: 41
Which three statements are true about the administration console?
A. The administration console cannot be disabled.
B. The context path of the administration console may be changed.
C. The administration console may be extended.
D. If a domain is in Development Mode, the administration console no longer requires an
administration-level user when logging in.
E. If a domain is in Production Mode, access to the administration console must be made through
secure port.
F. If the domain's Administration Port is enabled, access to the administration console must be
made only through that port.
Answer: B,C,D
Explanation: B: The Console Context Path is an advance configuration option.
The context path that you want to use in URLs that specify the Administration Console.
Note: Create a new WebLogic Server domain based on a template. Templates allow you to recreate an existing domain for use in another context, such as migrating a domain containing an
application under development to a production environment.
C: An Administration Console extension is a WAR file that contains the resources for a
section of a WebLogic Portal Web application. When you deploy the extension, the
Administration Console creates an in-memory union of the files and directories in its
WAR file with the files and directories in the extension WAR file. Once the extension
has been deployed, it is a full member of the Administration Console: it is secured by
the WebLogic Server security realm, it can navigate to other sections of the
Administration Console, and if the extension modifies WebLogic Server resources, it
30
QUESTION NO: 42
Which three statements are true about deployment plans?
A. A plan is an XML file.
B. A plan is packaged within an application archive.
C. You can generate a new plan with the administration console.
D. A plan is a required to deploy EJB applications and modules.
E. A plan may override values in an application's deployment descriptors.
F. A single application deployment can be associated with multiple plans.
Answer: A,C,E
Explanation: A: A deployment plan is an XML document that defines an application's WebLogic
Server deployment configuration for a specific WebLogic Server environment.
C: The Administration Console updates or creates new deployment plans as necessary when you
change configuration properties for an installed application.
E: A deployment plan can apply changes to deployment properties stored in the applications
existing WebLogic Server deployment descriptors.
Reference: Overview of WebLogic Server Application Development, Deployment Plans
QUESTION NO: 43
All the servers in your domain are running.
31
32
33
QUESTION NO: 45
Identify three attributes of a WebLogic cluster.
A. Listen Address
B. Cluster Address
C. Cluster Factory
D. Messaging Mode
E. Servers
F. Targets
Answer: B,D,E
Explanation: WebLogic Cluster Attributes includes:
B: * ClusterAddress
Defines the address to be used by clients to connect to this cluster. This address may be either a
DNS host name that maps to multiple IP addresses or a comma separated list of single address
host names or IP addresses. If network channels are configured, it is possible to set the cluster
address on a per channel basis.
D: The Message Mode of a cluster can be either Unicast or multicast.
E: Managed Servers are included in a WebLogic cluster.
34
QUESTION NO: 46
A client accesses a web application named companystore that is running on WebLogic Server.
After adding several items to the shopping cart, the host server crashes. The client is automatically
redirected to another server by a proxy, but the shopping cart is now empty.
Which WebLogic Server feature would you enable to remedy this situation?
A. Application Persistence
B. Message Persistence
C. Session Replication
D. Dynamic Failover
E. Stateful Pooling
Answer: C
Explanation: In order for a cluster to provide high availability it must be able to recover from
service failures.
In clusters that utilize Web servers with WebLogic proxy plug-ins, the proxy plug-in handles
failover transparently to the client. If a server fails, the plug-in locates the replicated HTTP session
state on a secondary server and redirects the client's request accordingly.
Reference: Using WebLogic Server Clusters, Failover and Replication in a Cluster
"Pass Any Exam. Any Time." - www.actualtests.com
35
QUESTION NO: 47
Which three statements are true about the Change Center in administration console?
A. The Change Center has a link to view the changes made so far.
B. The Change Center is available only in a Production Mode domain.
C. The Change Center has a link to view any servers that need to be restarted.
D. After activating the changes to a server's configuration, you must always restart that server.
E. In a Development Mode domain, the configuration lock can be acquired automatically.
F. Changes must always be activated before they can be undone.
Answer: A,C,F
Explanation: A: You can view any changes that you have saved, but not yet activated, by clicking
the View Changes and Restarts link in the Change Center.
C: The View Changes and Restarts link presents two tabs, Change List and Restart Checklist:
* The Change List tab presents all changes that have been saved, but not yet activated.
* The Restart Checklist lists all servers for which non-dynamic changes have been activated, but
which require restarts before the changes become effective.
F (not D):As you make configuration changes using the Administration Console, you click Save (or
in some cases Finish) on the appropriate pages. This does not cause the changes to take effect
immediately. The changes take effect when you click Activate Changes in the Change Center. At
that point, the configuration changes are distributed to each of the servers in the domain. If the
changes are acceptable to each of the servers, then they take effect. If any server cannot accept a
change, then all of the changes are rolled back from all of the servers in the domain. The changes
are left in a pending state; you can then either edit the pending changes to resolve the problem or
revert the pending changes.
Note: To change a production domains configuration, you must:
1. Locate the Change Center in the upper left of the Administration Console screen.
2. Click the Lock & Edit button to lock the configuration edit hierarchy for the domain.
3. Make the changes you desire on the relevant page of the Console. Click Save on each page
where you make a change.
4. When you have finished making all the desired changes, click Activate Changes in the Change
Center.
You can revert any pending (saved, but not yet activated) changes by clicking Undo All Changes
in the Change Center. You can revert any individual change by going to the appropriate page in
36
QUESTION NO: 48
Identify two methods for utilizing WebLogic Server's production redeployment feature.
A. Specify a version identifier when deploying the application.
B. Include a version identifier in the application's manifest file.
C. Provide a version identifier when running the Plan Generator tool.
D. Include a unique context root in the application's descriptor files.
Answer: A,B
Explanation: A: If you are testing the production redeployment feature, or you want to use
production redeployment with an application that does not include a version string in the manifest
file, specify a unique version string by using the -appversion option when deploying or redeploying
an application
B: To assign a version identifier to an application, BEA recommends that you store a unique
version string directly in the MANIFEST.MF file of the EAR or WAR being deployed.
Reference: Redeploying Applications in a Production Environment, Specifying an application
version identifier
http://docs.oracle.com/cd/E11035_01/wls100/deployment/redeploy.html#wp1020276
QUESTION NO: 49
Identify four attributes of a JDBC data source.
A. URL
B. Targets
C. JNDI Name
D. Delivery Mode
E. Database Driver
F. Server Log
"Pass Any Exam. Any Time." - www.actualtests.com
37
QUESTION NO: 50
Identify two reasons for defining machines and assigning servers to them in Weblogic Server.
A. A machine can be the proxy to a cluster.
B. A machine definition is required to configure the Node Manager.
C. To reference an instance of WebLogic Server, you must know its machine and port.
D. Machine is a required organizational unit. A domain contains machines and machines contain
servers.
E. WebLogic Server uses server machine assignments to help it choose servers in a cluster on
which to replicate session state.
F. The machine's Cluster Weight attribute may be used by load balancers to help them determine
how often to send requests to servers assigned to that machine.
Answer: B,E
Explanation: B: The Administration Server uses the machine definition in conjunction with the
Node Manager application to start remote WebLogic Server instances.
E: By default, WebLogic Server attempts to create session state replicas on a different machine
than the one that hosts the primary session state. You can further control where secondary states
are placed using replication groups. A replication group is a preferred list of clustered servers to be
used for storing session state replicas.
Using the WebLogic Server Console, you can define unique machine names that will host
individual server instances. These machine names can be associated with new WebLogic Server
instances to identify where the servers reside in your system.
Machine names are generally used to indicate servers that run on the same machine.
38
QUESTION NO: 51
The computer that the Administration Server was running on has crashed and cannot be restarted.
Which three steps are required to bring up the Administration Server on the backup computer?
A. Move the crashed computer's IP address to the backup computer.
B. Have WebLoqic Server installed on the backup computer.
C. Have a copy of the configuration and security files of the domain on the backup computer.
D. Shut down the managed servers of the domain.
E. Start the Administration Server on the backup computer.
Answer: B,C,E
Explanation: If a machine crash prevents you from restarting the Administration Server on the
same machine, you can recover management of the running Managed Servers as follows:
(B) 1. Install the WebLogic Server software on the new administration machine (if this has not
already been done).
2. Make your application files available to the new Administration Server by copying them from
backups or by using a shared disk. Your application files should be available in the same relative
location on the new file system as on the file system of the original Administration Server.
(C) 3. Make your configuration and security data available to the new administration machine by
copying them from backups or by using a shared disk. For more information, refer to Directory and
File Backups for Failure Recovery.
(E) 4. Restart the Administration Server on the new machine.
Reference: Avoiding and Recovering From Server Failure, Restarting an Administration Server on
Another Machine
QUESTION NO: 52
You received a signed certificate from a Certificate Authority and you wish to use the keytool
command-line utility to store it in your keystore. Which command of keytool would you us
A. genkeypair
B. importcert
"Pass Any Exam. Any Time." - www.actualtests.com
39
QUESTION NO: 53
YCMJ are viewing the deployments in the administration console. A web application that is
targeted to the Managed Server named server01 has a State of "Now."
Which statement best explains this State?
A. Server01 is running and the application has been installed.
B. Sarver01 is shut down and the application has been installed.
C. Server01 is running and the application has not been installed.
D. Server01 is shut down and the application has not been installed.
E. Server01 is running and the application was installed for the first time.
F. Server01 is running and the application has been installed, but is not servicing requests.
Answer: B
Explanation:
QUESTION NO: 54
Which three tasks are required to use JDBC session persistence for a web application?
A. Enable automatic migration on each server.
B. Create the session database table.
C. Configure SSL on each server.
D. Edit the weblogic.xml descriptor.
"Pass Any Exam. Any Time." - www.actualtests.com
40
QUESTION NO: 55
Which three statements are true about the default behavior of WebLogic Server proxy plug-ins?
A. The proxy will pin a client to a specific server if a session cookie is created.
B. The proxy fails over to another server if a connection or request times out.
C. The proxy distributes requests to cluster members based on their CPU usage.
D. The proxy dynamically learns the latest locations of cluster members.
E. The proxy always uses SSL, regardless of the client's protocol.
F. The proxy replicates session data to its backup proxy.
Answer: A,B,D
Explanation: A: When the HTTP client requests the servlet, HttpClusterServlet proxies the
request to the WebLogic Server cluster. HttpClusterServlet maintains the list of all servers in the
cluster, and the load balancing logic to use when accessing the cluster. In the above example,
HttpClusterServlet routes the client request to the servlet hosted on WebLogic Server A.
WebLogic Server A becomes the primary server hosting the client's servlet session.
To provide failover services for the servlet, the primary server replicates the client's servlet session
"Pass Any Exam. Any Time." - www.actualtests.com
41
B: In clusters that utilize Web servers with WebLogic proxy plug-ins, the proxy plug-in handles
failover transparently to the client. If a server fails, the plug-in locates the replicated HTTP session
state on a secondary server and redirects the client's request accordingly.
D: The WebLogic proxy plug-in maintains a list of WebLogic Server instances that host a clustered
servlet or JSP, and forwards HTTP requests to those instances on a round-robin basis.
Reference: Using WebLogic Server Clusters, Failover and Replication in a Cluster
Reference: Using WebLogic Server Clusters, Load Balancing in a Cluster
QUESTION NO: 56
Refer to the Exhibit
42
What is the meaning of the yellow triangle icon next to Listen Address?
A. This attribute has no value.
B. The server must be running to change this attribute.
C. The server must be shut down to change this attribute.
D. The server must be restarted for a change to this attribute to take effect.
E. This attribute is read only and cannot be changed in the administration console
Answer: D
Explanation: The server instance for which you configure the listen address does not need to be
running. If it is running, you must restart it after you complete these steps.
Reference: Administration Console Online Help, Configuring the Listen Address from the
Administration Console
QUESTION NO: 57
You run the following WLST script and it completes successfully. Which statement best describes
43
A. A CMO named myserver with the listen address 192.168.1.102 and port 8008
B. A Managed Server named myserver with the listen address 192.168.1.102 and port 7001
C. A Managed Server named myserver with listen address 192.168.1.102 and port 8008
D. An Administration Server named myserver with the listen address 092.168.1.102 and port 8008
Answer: C
Explanation: A managed server (not a CMO, not an administration server) is created.
Port is 8008.
Note: Listing:Creating a Managed Server
connect("username","password")
edit()
startEdit()
svr = cmo.createServer("managedServer")
svr.setListenPort(8001)
svr.setListenAddress("my-address")
save()
Reference: WebLogic Scripting Tool, Using WLST Online to Update an Existing Domain
QUESTION NO: 58
44
QUESTION NO: 59
Identify three ways to create a domain template.
45
QUESTION NO: 60
View the following file excerpt, which configures HTTP session replication:
<session - descriptor >
<persistent-store-type>replicated</persistent-store-type>
</session-descriptor>
From which file is this excerpt taken?
A. weblogic-application.xml
B. weblogic.xml
C. session.xml
D. config.xml
E. web.xml
Answer: B
46
QUESTION NO: 61
You use a web browser to log in to a web application that is deployed to WebLogic Server. When
you click link named "publish" on the site, an "Access Denied" message appears.
Which two statements must be true about this server's security configuration?
A. The application is not associated with any security roles.
B. Multiple security realms are active at the same time.
C. Your user account is a member of a group.
D. Your user account exists in an authentication provider.
E. A security policy is attached to the "publish" link URL.
Answer: D,E
Explanation: D: You were able to log in to the web application that is deployed through
WebLogic.
In WebLogic Server, Authentication providers are used to prove the identity of users or system
processes.
This implies that your account exists in an authentication provider.
E: Extra security is needed to use the publish link. This could be explained by a security policy
attached the publish Link URL.
Reference: Developing Security Providers for WebLogic Server, Authentication Providers
47
QUESTION NO: 63
Which three methods does WebLogic provide to implement persistent JMS messaging?
A. Create a file store and assign it to a JMS server.
B. Create a JDBC store and assign it to a JMS server.
C. Configure a file store within a JMS module.
D. Configure the domain's default store.
E. Use the target server's default store.
Answer: A,B,E
Explanation: A: The main steps for creating a custom file store are as follows:
1.Create a directory where the file stores data will be persisted.
2.Create a custom file store and specify the directory location that you created.
3.Associate the custom file store with the subsystem(s) or migratable target that will be accessing
"Pass Any Exam. Any Time." - www.actualtests.com
48
QUESTION NO: 64
Managed Server Independence enabled is not selected in the configuration of myserver1. Which
statement is true?
49
QUESTION NO: 65
You have opened a terminal window (or a Window command prompt) to run a WLST script named
weeklydeployer.py. You enter the following command:
Java weblogic.WLST weeklydeployer.py
Instead of the WLST initializing and the script running, however, you receive the
NoClassDefFoundError java exception for weblogic/WLST.
What is the problem?
A. You forgot to set PATH to include the java executable.
B. There is an error in the code of the script.
C. You forgot to set CLASSPATH to include weblogic.jar.
D. You are not in the directory where weeklydeployer.py resides.
E. You should have omitted the ".py" in the file name; it is assumed by WLST.
F. You forgot to set PATH to include the WLST executable.
Answer: C
50
QUESTION NO: 66
You monitor a running JMS topic with the console and note the following values:
Consumers Current = 3
Message Current = 1
Message Pending = 0
These values do not change for several minutes. Which is the most plausible explanation?
A. Production on the topic has been paused.
B. A message arrived after a durable subscribe disconnected from the topic.
C. One of the consumers received a message but did not acknowledge it.
D. None of the consumers are durable subscribes.
Answer: B
Explanation: For durable subscriptions, WebLogic JMS stores a message in a persistent file or
database until the message has been delivered to the subscribers or has expired, even if those
subscribers are not active at the time that the message is delivered.
Note #1: Durable subscriptions means that weblogic server will store the messages in a persistent
store (i.e a file-store or a JDBC-store) until those messages are delivered to the
subscribers/listener. This technic helps weblogic server to make sure that the messages get
delivered even if those subscribers/listeners are not active at the time that the message is getting
delivered.
As all of us know that in Topics the senders/producers just send the messages to the topic and
the receivers/listeners have subscribe them self to get those messages, hence senders/producers
"Pass Any Exam. Any Time." - www.actualtests.com
51
QUESTION NO: 67
Which statement best describes WebLogs default application staging behavior?
A. The Administration Sever distributes application files when the application is first accessed by a
client.
B. The Administration Sever copied application files to a database that is shared with the
Managed Servers.
C. The Managed Servers obtain application files from a disk that is shared with the Administration
Server.
D. The Administration Sever distributes copied of application files over the network to the
Managed Servers.
Answer: D
Explanation: Deployment Staging Mode: stage
Behavior: The Administration Server first copies the deployment unit source files to the staging
directories of target servers specified by the Staging Directory Name attribute.
The target servers then deploy using their local copy of the deployment files.
Note: The deployment staging mode determines how deployment files are made available to
target servers that must deploy an application or standalone module. WebLogic Server provides
three different options for staging files: stage mode, nostage mode, and external_stage mode. The
"Pass Any Exam. Any Time." - www.actualtests.com
52
QUESTION NO: 68
Indentify two valid elements that can belong in the weblogic-application.xml deployment
descriptor.
A. <shared-library-reference>
B. <library-ref>
C. <app-scoped-ref>
D. <work-manager>
Answer: B,D
Explanation: B: <library-ref>
A reference to a shared Java EE library.Enclose all other elements within library-ref.
Note:A Java EE application can reference a registered shared Java EE library using entries in the
applications weblogic-application.xml deployment descriptor.
Elements include:
library-ref
library-name
D: <work-manager>
Specifies the Work Manager that is associated with the application.
53
QUESTION NO: 69
You create a system-wide JMS module named Payroll-JMS and set its default target to an existing
cluster in your domain named PayrollCluster. Next, you add a standard JMS topic to Payroll-JMS.
To which are you permitted to target this topic?
A. the entire PayrollCluster
B. any single JMS server in the domain
C. any combination of member servers in Payrollcluster
D. several JMS servers targeted to PayrollCluster
Answer: B
Explanation: JMS system modules are owned by the Administrator, who can delete, modify, or
add JMS system resources at any time. With the exception of standalone queue and topic
resources that must be targeted to a single JMS server, the connection factory, distributed
destination, foreign server, and JMS SAF destination resources in system modules can be made
globally available by targeting them to server instances and clusters configured in the WebLogic
domain. These resources are therefore available to all applications deployed on the same targets
and to client applications.
Note #1: JMS modules are application-related definitions that are independent of the domain
environment. You create and manage JMS resources either as system modules or as application
modules.
System modules are globally available for targeting to servers and clusters configured in the
domain, and therefore are available to all applications deployed on the same targets and to client
applications.
Note #2: JMS servers are environment-related configuration entities that act as management
containers for the queues and topics in JMS modules that are targeted to them. A JMS server's
primary responsibility for its destinations is to maintain information on what persistent store is used
for any persistent messages that arrive on the destinations, and to maintain the states of durable
subscribers created on the destinations. JMS servers also manage message paging on
destinations, and, optionally, can manage message and/or byte thresholds, as well as server-level
quota for its targeted destinations. As a container for targeted destinations, any configuration or
run-time changes to a JMS server can affect all the destinations that it hosts.
54
QUESTION NO: 70
The projects architect has provided you with a design diagram that identifies the key components
of the new insurance system. From the diagram, you can clearly see that JMS will be used as the
communication channel between several applications. Identify four tasks that you may need to
perform to support this design.
A. Create a JMS server
B. Create a JMS message template
C. Add JMS destinations to a JMS module
D. Add a JMS module to a JMS factory
E. Target JMS destinations to JMS servers
F. Target a JMS server to a WebLogic Server
G. Target a JMS module to a JMS store
Answer: A,C,E,F
Explanation:
A: If necessary, create a JMS server to target the JMS module.
QUESTION NO: 71
Which three statements are true about the Node Manager?
"Pass Any Exam. Any Time." - www.actualtests.com
55
QUESTION NO: 72
You have made several changes to variable attributes on a managed server within a domain.
You first locked the console, made some nondynamic changes, made some dynamic changes as
well, and then activated your changes. Which statement is true?
A. All the changes that you made on the server will take effect immediately.
B. The dynamic changes that you made will take effect immediately and the changes that are
nondynamic will take effect after the server is restarted.
C. The changes that you made on the server will not take effect until you restart the server.
"Pass Any Exam. Any Time." - www.actualtests.com
56
QUESTION NO: 73
When you use the Embedded LDAP that is supplied by Oracle WebLogic Server, which three
statements are true?
A. The Embedded LDAP can be used to store user, group, security roles and security policies for
the WebLogic security providers.
B. The Embedded LDAP uses the file system to store Weblogic security provider data.
C. The Embedded LDAP can be accessed by an external LDAP viewer.
D. The Embedded LDAP cannot be used in a production environment
E. The Embedded LDAP can store Auditing Data.
Answer: A,C,E
Explanation: A: The embedded LDAP server contains user, group, group membership, security
role, security policy, and credential map information.
C: The credential (usually a password) used to connect to the embedded LDAP server. If this
password has not been set, WebLogic Server generates a password at startup, initializes the
attribute, and saves the configuration to the config.xml file. If you want to connect to the embedded
LDAP server using an external LDAP browser and the embedded LDAP administrator account
(cn=Admin), change this attribute from the generated value.
"Pass Any Exam. Any Time." - www.actualtests.com
57
QUESTION NO: 74
An application is deployed to your domain and its manifest indicates version 1.1. You then perform
an application update by using a manifest that indicates version 1.2.
Indentify two outcomes of this scenario.
A. The existing 1.1 clients are redirected to the 1.2 application
B. The existing 1.1 clients are shown a warning message.
C. The existing 1.1 clients continue to use the 1.1 application.
D. New clients are asked which version they wish to use.
E. New clients use only use 1.2 application
Answer: C,E
Explanation: As long as the HTTP Session is valid, the old user will continue to use "Version 1."
All new users will be using "Version 2.
Reference: Oracle WebLogic Server 12c: Configuring and Using Production Redeployment.
QUESTION NO: 75
View the exhibit.
58
You are logged in to the WebLogic Server administration console and you are editing the fields
shown in exhibit. Which type of WebLogic Server resource are you currently editing?
A. JMS Server
B. Persistent Store
C. JDBC Data Source
D. Diagnostics Module
E. JMS Connection Factory
Answer: E
Explanation: MS Connection Factory: Configuration: Default Delivery
Use this page to define the default delivery configuration parameters for this JMS connection
factory, such as the default delivery mode, default time to live, etc.
Reference: JMS Connection Factory: Configuration: Default Delivery
QUESTION NO: 76
You have 10 cluster managed servers in a domain. Due to the maintenance tasks currently in
progress, two of the managed servers are in a Shutdown status.
You have been asked to deploy an application.
As a default behavior of WebLogic Server, which two statements are true?
59
QUESTION NO: 77
An application fails. The exception indicates that the JDBC data source, jdbc-hr.HRDS, cannot be
found. Identify two possible steps that you can perform to verify the data sources availability.
A. Launch the JDBCDiagnostics utility.
B. Verify the Targets attribute of the application.
C. Verify the Dependencies attribute of the data source.
D. Verify the target servers JNDI tree in the console.
E. Verify the Target attribute of the data source.
Answer: D,E
Explanation: D: In WebLogic Server, you configure database connectivity by adding data sources
to your WebLogic domain. WebLogic JDBC data sources provide database access and database
connection management. Each data source contains a pool of database connections that are
created when the data source is created and at server startup. Applications reserve a database
connection from the data source by looking up the data source on the JNDI tree or in the local
application context and then calling getConnection().
E: Each data source that you configure contains a pool of database connections that are created
when the data source instance is createdwhen it is deployed or targeted, or at server startup.
Applications lookup a data source on the JNDI tree or in the local application context
"Pass Any Exam. Any Time." - www.actualtests.com
60
QUESTION NO: 78
Indentify three ways to create a domain template.
A. Administration console
B. Domain Template Builder
C. unpack command
D. pack command
E. Node Manager
F. WLST
G. Configuration Wizard
Answer: B,D,F
Explanation: B: Go to Start Menu->All programs->weblogic10gR3->Tools->Domain Template
Builder
D: The pack command creates a template archive (.jar) file that contains a snapshot of either an
entire domain or a subset of a domain. You can use a template that contains a subset of a domain
to create a Managed Server domain directory hierarchy on a remote machine.F: WLST enables
you to create a new domain or update an existing domain without connecting to a running
WebLogic Server (that is, using WLST offline)supporting the same functionality as the
Configuration Wizard.
Incorrect answer:
Reference: Creating Domain Templates Using the Domain Template Builder
Reference: Creating Domains Using WLST Offline
QUESTION NO: 79
What is the default Staging Mode for servers?
A. No-Stage
61
QUESTION NO: 80
When using the Install Application Assistant in the administrator console, what are the two options
that may select for Choose Targeting Style?
A. Choosing Install this deployment as a resource will allow you to deploy any type of resource
archive.
B. Choosing Install this deployment as a library will allow you to deploy any archive, which can
be referenced by other applications.
C. Choosing Install this deployment as expanded format allow expanded directories to be
utilized.
D. Choosing Install this deployment as an application will allow you to deploy any archive or
extended directory.
E. Choosing Install this deployment as a stand-alone library will allow you to deploy a library,
which can be used only by nonclustered servers.
Answer: B,D
Explanation: The Choose Targeting Style page is displayed:
62
Reference: Oracle Fusion Middleware Application Adapter Best Practices Guide for Oracle
WebLogic Server, Configuring Oracle Application Adapters in a High Availability Cluster
Environment
QUESTION NO: 81
You wish to provide failover for HTTP sessions within a cluster. However, you are limited by the
following constraints:
1. While under load, your servers have very little free memory.
2. you do not have appropriate access rights to modify your companys database.
Which is the best option, given these restrictions?
A. in-memory replication
B. automatic migration
C. file persistence
D. JDBC persistence
E. replication groups
Answer: C
Explanation: File persistence use less memory than in-memory replication, and does not need
access rights to the company's database.
Note:
You use session persistence to permanently store data from an HTTP session object to enable
failover and load balancing across a cluster of WebLogic Servers. When your applications stores
data in an HTTP session object, the data must be serializable.
There are five different implementations of session persistence:
* Memory (single-server, non-replicated)
* File system persistence
* JDBC persistence
* Cookie-based session persistence
* In-memory replication (across a cluster)
Reference: Oracle Fusion Middleware Developing Web Applications, Servlets, and JSPs for
Oracle WebLogic Server, Using Sessions and Session Persistence
"Pass Any Exam. Any Time." - www.actualtests.com
63
QUESTION NO: 82
Indentify three tools that you can use to create a deployment plan.
A. administration console
B. weblogic.PlanGenerator
C. the /autodeploy folder that is locked in the domain directory
D. developer tools such as JDeveloper or Eclipse
E. the /plan subfolder that resides outside the application archive
Answer: A,B,D
Explanation: A: To create a deployment plan for a deployed application that does not already
have a deployment plan, make a configuration change to the deployed application. When you
make apersisted configuration change to a deployed application that does not have an existing
deployment plan, the Administration Console automatically creates a deployment plan for you and
prompts you for the location in which to save it.
B: The weblogic.PlanGenerator is a Java-based deployment configuration tool. It is primarily
intended for developers who want to export portions of a WebLogic Server deployment
configuration into an XML deployment plan. weblogic.PlanGenerator also enables you to generate
a basic WebLogic Server configuration for applications that have only J2EE deployment
descriptors.
D: Deployment plans can be created or edited through the deployment plan editor functionality
available through the Web-based Oracle Enterprise Manager 10g Application Server Control
Console interface and the J2EE and Studio Editions of the Oracle JDeveloper 10g integrated
development environment.
Reference: Administration Console Online Help, Create a deployment plan
Reference: weblogic.PlanGenerator Command Line Reference
QUESTION NO: 83
While creating a new domain in the Configuration Wizard, there are two types of machines that
may be configured. Identify them.
A. Machine and Windows machine
B. administrator machine and managed machine
C. machine and Unix machine
D. stand-alone machine and cluster machine
"Pass Any Exam. Any Time." - www.actualtests.com
64
Managed machine:
The minimum requirement for your domain is a single Administration Server on a single machine.
In addition, however, you have the option of configuring other resources to be managed by the
Administration Server and distributing them across multiple machines. Specifically, you can:
* Add, change, or delete Managed Servers
* Add, change, or delete clusters
* Group Managed Servers into clusters, or change current groupings
* Assign servers to machines, or change current assignments
Note: The Managed Servers, Clusters, and Machines Options window prompts you to specify
whether you want to distribute your WebLogic configuration across Managed Servers, clusters,
and physical machines
Note 2:
The Configure Managed Servers window prompts you to provide the configuration information
for one or more Managed Servers. Production environments typically deploy one or more
Managed Servers, in addition to the Administration Server, to host enterprise applications.
Reference: Creating WebLogic Configurations Using the Configuration Wizard, Configuring
Managed Servers, Clusters, and Machines
QUESTION NO: 84
View the Exhibit.
65
You previously deployed an application but later decide to change various configuration
parameters, such as timeouts. You access the applications Configuration tab in the console and
make your configurations, as shown in the Exhibit.
In which file does WebLogic record these modifications?
A. config.xml
B. weblogic.xml
C. Application.xml
D. Plan.xml
Answer: B
Explanation: The following attributes are displayed in the exhibit:
Session Invalidation Interval (in seconds)
Session Timeout (in seconds)
debug-enabled
Maximum in-memory Sessions
These attributes are stored in the weblogic.xml file as the following elements:
invalidation-interval-sec
timeout-secs
debug-enabled
max-in-memory-sessions
Reference: weblogic.xml Deployment Descriptor Elements
QUESTION NO: 85
66
QUESTION NO: 86
You wish to restrict access to a JMS queue so that only specific accounts may receive messages
"Pass Any Exam. Any Time." - www.actualtests.com
67
QUESTION NO: 87
A domain created based on the Basic WebLogic Server Domain product has start scripts called
startWebLogic.sh and startManagedWebLogic.sh (.cmd in Windows). Which three statements are
true?
A. startWebLogic.sh starts Node Manager.
B. startWebLogic.sh has a required parameter.
C. startManagedWebLogic.sh has a required parameter.
D. startWebLogic.sh starts the Administration Server of the domain.
E. startManagedWebLogic.sh can start any managed server in the domain.
F. Both scripts can start any WebLogic Server, but each has different default parameter values.
"Pass Any Exam. Any Time." - www.actualtests.com
68
QUESTION NO: 88
Which answer best describes how you can start the Java-based version of the Node Manager?
A. W1scontrol.sh (.cmd in Windows)
B. Wisifconfig.sh (.cmd in Windows)
C. startNodeManager.sh (.cmd in Windows)
D. startNM.sh (.cmd in Windows)
Answer: C
Explanation: Although running Node Manager as an operating system service is recommended,
you can also start Node Manager manually at the command prompt or with a script.
UsestartNodeManager.cmd on Windows systems and startNodeManager.sh on UNIX systems.
Reference: Configuring and Managing WebLogic Server, Configuring, Starting, and Stopping
Node Manager
QUESTION NO: 89
Which two statements are true about Log Filters?
A. Log Filters are created at the domain level.
"Pass Any Exam. Any Time." - www.actualtests.com
69
The filter and filter expression are listed in the Log Filters table.
D: Log Filter Configuration
Use this page to define a custom log filter to restrict the set of messages that one or more servers
send to a message destination, such as the domain log, standard out, server log file, or memory
buffer of recent log events.
You can click Edit to type or paste in an expression directly, using WLDF Query Language syntax
(see Related Topics, below); or you can click Add Expression to construct an expression by
choosing items from lists.
Once you create a filter, you cannot change its name. Instead, you must create a new filter under
a different name.
QUESTION NO: 90
Consider a domain with an existing JDBC data source, which connects to an Oracle database.
Your administrator requests that the JDBC connections to this database now specify a different
username. Which data source attribute would you modify to implement this requirement?
70
QUESTION NO: 91
Which two are typically found in the WEB-INF folder of a Java web application?
A. the web application HTML and JSP files
B. the classes directory containing the compiled classes
C. the web.xml deployment descriptor
D. the weblogicserver.xml deployment descriptor
Answer: B,C
Explanation: The WEB-INF directory contains the deployment descriptors for the Web application
(web.xml (C) and weblogic.xml) and two subdirectories for storing compiled Java classes (B) and
library JAR files. These subdirectories are respectively named classes and lib. JSP taglibs are
stored in the WEB-INF directory at the top level of the staging directory. The Java classes include
servlets, helper classes and, if desired, precompiled JSPs.
Reference:
Oracle Fusion Middleware Developing Web Applications, Servlets, and JSPs for Oracle WebLogic
Server, Creating and Configuring Web Applications
QUESTION NO: 92
Which four tasks can be accomplished in the administration console only after the configuration is
71
Note: If you want to use the Administration Console to make configuration changes, you must first
click the Lock & Edit button in the Change Center. When you click Lock & Edit, you obtain a lock
on the editable hierarchy of Configuration MBeans for all servers in the domain (the edit tree).
As you make configuration changes using the Administration Console, you click Save (or in some
cases Finish) on the appropriate pages. This does not cause the changes to take effect
immediately; instead, when you click Save, you are saving the change to the edit tree and to the
DOMAIN_NAME/pending/config.xml file and related configuration files. The changes takeeffect
when you click Activate Changes in the Change Center. At that point, the configuration changes
are distributed to each of the servers in the domain. If the changes are acceptable to each of the
servers, then they take effect. (Note, however, that some changes require a server to be
restarted.) If any server cannot accept a change, then all of the changes are rolled back from all of
the servers in the domain. The changes are left in a pending state; you can then either edit the
pending changes to resolve the problem or revert the pending changes.
Reference: Administration Console Online Help, Use the Change Center
QUESTION NO: 93
A web application called sales was deployed and is currently Active. It is targeted to managed1
and managed2. The developers have given you an upload WAR file and you have replaced the
original WAR file with it. From the directory where the WAR file resides, you run the following
weblogic.Deployer command:
java weblogic.Deployer adminurl t3://192.168.1.101:7001-username weblogic password
welcom1 name sales redeploy
"Pass Any Exam. Any Time." - www.actualtests.com
72
73
QUESTION NO: 95
Indentify two attributes of a JMS server.
A. Target
B. Persistent Store
C. Destination
D. Connection Factory
E. Store and Forward
Answer: A,B
Explanation: A:Target
The target that this JMSServer is deployed to.
See step 5) in the Note below.
B: Persistent Store
The file or database in which this JMS server stores persistent messages. If unspecified, the JMS
server uses the default persistent store that is configured on each targeted WebLogic Server
instance.
Note: See step 4) below.
To create a JMS server:
Note: Once you create a JMS server, you cannot rename it. Instead, you must delete it and create
74
QUESTION NO: 96
The master Embedded LDAP has the capability to back up its data. Which statement is true?
A. The Managed Servers should be shut down when backups are being performed on the
Embedded LDAP.
B. The backup feature is enabled by default.
C. The backup feature of the Embedded LDAP should be enabled for all the servers in the domain
on a per-basis.
D. The backup is stored in a comma-separated variable format.
Answer: C
Explanation: The backup of the embedded LDAP server is enabled for a domain at a time. See
step 2) in Note below.
QUESTION NO: 97
Indentify two requirements for in-memory session replication.
A. Clusters must contain an even number of members.
B. Web applications must be configured to use replication.
C. Web applications must be deployed as an archive file.
D. Cluster members must be started by using the Node Manager.
E. Web applications must be accessed via a proxy that supports session cookies
Answer: B,E
Explanation: B:When in-memory replication is enabled for a web application, WebLogic Server
copies session state from one server in the cluster (primary) to one other server in the same
cluster (secondary). The replica on the secondary server is kept up-to-date so that it may be used
if the primary server fails.
75
Note 1:In its default configuration, WebLogic Server uses client-side cookies to keep track of the
primary and secondary server that host the client's servlet session state. If client browsers have
disabled cookie usage, WebLogic Server can also keep track of primary and secondary servers
using URL rewriting. With URL rewriting, both locations of the client session state are embedded
into the URLs passed between the client and proxy server. To support this feature, you must
ensure that URL rewriting is enabled on the WebLogic Server cluster.
Note 2: To support automatic failover for servlet and JSP HTTP session states, WebLogic Server
replicates the session state in memory. WebLogic Server creates a primary session state on the
server to which the client first connects, and a secondary replica on another WebLogic Server
instance in the cluster. The replica is kept up-to-date so that it may be used if the server that hosts
the servlet fails. The process of copying a session state from one server instance to another is
called in-memory replication.
Reference: eDocs Home > BEA WebLogic Server 8.1 Documentation > Using WebLogic Server
Clusters > Failover and Replication in a Cluster, Failover and Replication in a Cluster
QUESTION NO: 98
You are deploying an EAR by using the administration console. You are part way through the
process. In the administration console, you see that the EAR has the State of Prepared.
What can you do in the administration console to bring the deployment to the Active State?
A. Select it and click the Install button.
B. Select it, and then from the Install drop-down list, select Servicing all requests
C. Select it, and then from the update drop-down list, select Servicing all requests
D. Select it, and then from the Start drop-down list, select Servicing all requests
E. Select it, and then from the Start drop-down list, select Servicing only administration requests
Answer: D
Explanation: To Deploy the EAR File to the Production Server
See step 8 below.
76
QUESTION NO: 99
Your domain includes a cluster of five servers, but only three are currently running. A colleague
then uses the administration console to install and deploy a new EJB application to the cluster.
By default, which outcome would you expect?
A. The application deploys successfully on the three servers that are running.
B. The deployment fails because the entire cluster is not running.
C. The deployment succeeds, but the application is not accessible.
D. The user is prompted to start the two unavailable servers before continuing.
E. The two unavailable servers are automatically removed from the cluster.
Answer: A
Explanation:
Note #1:If your EJBs will run on a WebLogic Server cluster, Oracle recommends that you deploy
them homogeneouslyto each Managed Server in the cluster. Alternatively, you can deploy an
EJB to only to a single server in the cluster (that is, pin a module to a server). This type of
deployment is less common, and should be used only in special circumstances where pinned
services are required.
Note #2:When you deploy an EJB, you specify the servers and clusters to which the EJB
deployment is targeted. After you have deployed an EJB, you can update the servers and clusters
to which it is targeted.
To set target servers and clusters for a deployed EJB:
The right pane lists the EJBs and other modules that you have deployed, or tried to deploy.
Servers and clusters in the domain are displayed.
By default, the Administration Console deploys an EJB to all server instances in the cluster (the "
All servers in the cluster" option). To deploy the EJB to selected servers in a cluster, select "
Part of the cluster", and then select the individual server instances to which you want to deploy
the EJB.
77
Incorrect answer:
Not A. See screenshot below.
78
Reference:edocs Home > Oracle WebLogic Server Documentation > Administration Console
Online Help > Assign servers to clusters
79
80
81
82
Note: The WebLogic Persistent Store provides a built-in, high-performance storage solution for all
subsystems and services that require persistence. For example, it can store persistent JMS
messages or temporarily store messages sent using the Store-and-Forward feature. Each
WebLogic Server instance in a domain has a default persistent store that requires no configuration
and which can be simultaneously used by subsystems that prefer to use the system's default
storage. However, you can also configure a dedicated file-based store or JDBC databaseaccessible store to suit your JMS implementation.
Reference: Documentation Home > BEA WebLogic Server 9.2 Documentation > Configuring
WebLogic Server Environments > Using the WebLogic Persistent Store, Main Steps for
Configuring a JDBC Store
83
84
85
Note #1: The <IfModule test>...</IfModule> section is used to mark directives that are conditional
on the presence of a specific module. The directives within an <IfModule> section are only
processed if the test is true. If test is false, everything between the start and end markers is
ignored.
The test in the <IfModule> section directive can be one of two forms:
module name
86
87
88