1) Which two statements are true about java EE shared libraries ?
A. A shared library cannot be deployed to a cluster.
B. An application that is targeted to server1 can use a shared library that is targeted to server 2.
C. Multiple versions of the same shared library can be deployed and be active at the same time.
D. A shared library is referenced through an application's deployment descriptor.
Answer : C, D
Explanation:
C: If more than one copy of myLibrary is registered, WebLogic Server
selects the library
with the highest specification version. If multiple copies of the library use
the selected specification
version, WebLogic Server selects the copy having the highest implementation version.
D: A
Java EE application can reference a registered shared Java EE library using
entries in the application’s
weblogic-application.xml deployment descriptor.
Reference:
Referencing Shared Java EE Libraries in an Enterprise Application
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.
E. The Node
Manager for the Administration Server machine is configured and running.
Answer:
B,D
Explanation:
B: The administration server must be running.
Note: A
WebLogic Server administration domain is a logically related group of WebLogic
Server resources.
Domains include a special WebLogic Server instance called the Administration
Server, which is
the central point from which you configure and manage all resources in the
domain.
D: Node
Manager is a WebLogic Server utility that enables you to start, shut down, and
restart Administration
Server and Managed Server instances from a remote location. Although Node Manager
is optional, it is recommended if your WebLogic Server environment hosts
applications with
high availability requirements.
A Node
Manager process is not associated with a specific WebLogic domain but with a
machine. You can
use the same Node Manager process to control server instances in any WebLogic
Server domain,
as long as the server instances reside on the same machine as the Node Manager process.
Node Manager must run on each computer that hosts WebLogic Server instances -- whether
Administration Server or Managed Server -- that you want to control with Node
Manager.
QUESTION
NO: 3
Within
your data center, the Administration and Managed Servers utilize a shared,
central storage device,
which server’s 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.
QUESTION
NO: 4
An EJB
application is targeted to a cluster. Remote EJB clients can therefore take
advantage of WebLogic Server’s load
balancing and failover capabilities.
However,
a proxy server exists between the clients and the cluster, which performs IP
address translation. Which cluster attribute should you modify to ensure that
load balancing and failover work
correctly?
A. Multicast
Address
B. Persistent
Store
C. Cluster
Address
D. Migration
Basis
E. Replication
Channel
Answer:
B
Explanation:
Persistentstore provides a built-in, high-performance storage solution
for WebLogic Server subsystems and
services that require persistence.
The
persistent store provides a built-in, high-performance storage solution for
WebLogic Server subsystems and services
thatrequire persistence.
Note: In
Memory replication is used in clustered deployments. When a user accesses a
shopping
cart
application deployed in the cluster, and the server (server1), which was
handling user
requests,
goes down; the load balancer or the proxy server may failover the subsequent
requests
to next
server (server2) in the cluster as per the fail over algorithm. However, by
default the
session
is not replicated and the user may be prompted to a fresh login / error page as
the session
for that
user is null in server2. In order to prevent this, web logic provides out of
box session
replication
mechanisms. The replication could happen in memory; or using JDBC / File based
persistence.
When all the members in the cluster have the same JDBC / File persistence for
session
management; it is equivalent to having a session replication. In memory
replication copies
the
session information of the user across different servers in the cluster.
<persistent-store-type>replicated</persistent-store-type>
or
<persistent-store-type>replicated_if_clustered</persistent-store-type>
Reference:http://middlewaremagic.com/weblogic/?p=6334(clustering,
4th bulleted point)
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
Explanation:
A Managed Server is a WebLogic Server instance that runs deployed
applications. It
refers
to the Administration Server for all of its configuration and deployment
information. Usually,
you use
Managed Servers to run applicationsin a production environment.
See step
4 and 5 below in particular:
To use
the WebLogic Server scripts to start Managed Servers:
See
Creating WebLogic Domains Using the ConfigurationWizard or "Create Managed
Servers" in
the
Administration Console Online Help.
where DOMAIN_NAME
is thedirectory in which you located the domain. By default, this directory
is BEA_HOME\user_projects\domains\DOMAIN_NAME.
where managed_server_name
specifies the name of the Managed Server and admin_url
specifies
the listen address (host name or IP address) and port number of the domain's
Administration
Server.
For
example, the following command uses startManagedWebLogic.cmd to start a Managed
Server
named
myManagedServer. The listen address for the domain's Administration Server
is
AdminHost:7001:
c:\bea\user_projects\domains\mydomain\bin\startManagedWebLogic.cmd
myManagedServer
http://AdminHost:7001
Reference:
StartingManaged Servers with a Startup Script
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 customdeployment 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.
Reference:
Deploying Applications To WebLogic Server, Configuring Applications for
Production Deployment
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:
A:WebLogic Server is configured with a default identitykeystore (
DemoIdentity.jks)
and a
default trust keystore ( DemoTrust.jks).
B: OptionDemo
Identity Keystore:
Description:
The path and file name of the demo identity keystore.
OptionJava
Standard Trust Keystore:
Description: The path
and file name ofthe trust keystore.
E:
Option: Custom Identity Keystore
Description:
The path and file name of the identity keystore.
The path
name must either be absolute or relative to where the server was booted. The
custom identity
key store file name is only used ifKeyStores is
CUSTOM_IDENTITY_AND_JAVA_STANDARD_TRUST,
CUSTOM_IDENTITY_AND_CUSTOM_TRUST
or
CUSTOM_IDENTITY_AND_COMMAND_LINE_TRUST.
Reference:
Oracle Fusion Middleware Oracle WebLogic Server Administration Console Online
Help 11g
Release 1, Servers: Configuration: Keystores
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.
B. You
install under Microsoft Windows because the graphical installer is available
only for
Window
C. You may
create a new middleware home directory or choose an existing one.
D. You must
register for critical security updates.
E. You may
install a JDK or choose one that was previously installed.
Answer:
A,C,E
Explanation:
Tasks WebLogic Server Product Installation Procedure
Step 1 -
Obtain the appropriate installation file for your platform
Step 2 -
Complete the installation planning requirements
Ensure
that your system environment meets the requirements for the installation. Also
determine your
Oracle Middleware home directory, and product installation home directories.
(C) When
you are installing WebLogic Server, you are prompted to choose an existing
Middleware
home
directory or specify a path to create a new Middleware home directory. If you
choose to
create a
new directory, the installation program automatically creates it for you.
Step 3
-Determine the appropriate installation mode for your situation
Step 4 -
Determine the type of installation
(A)
There are two types of installation Typical or Custom. The type of installation
depends on the
products
and sub-components you want to install.
Step 5 -
Install the software
Step 6 -
Create a WebLogic domain
E: The
JDK selection screen.
This
screen is displayed only if you selected a Custom installation. It is not
displayed if you are
running
an Upgrade installer.
This
screen displays a list of JDKs. This list contains JDKs that are available for
(and common
across)
previous installations of all the selected WebLogic Server components.
Select
the JDK that you want to install with the product.
Reference:
Oracle Fusion MiddlewareInstallation Guide for Oracle WebLogic Server 11g
Release
1,
Running the Installation Program in Graphical Mode
Reference:
Oracle Fusion Middleware Installation Guide for Oracle WebLogic Server 11g
Release
1,
Installation Overview
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?
A. When the
managed1 server is defined in the configuration Wizard
B. When the
domain is created
C. When the
administration server comes up for the first time
D. When the
managed1 server1 comes for the first time
Answer:
A
Explanation:
WebLogic Platform gives you an opportunity to change the distribution of
your
domain
across servers, clusters, and machines. The Managed Servers, Clusters, and
Machines
Options
window prompts you to decide whether you want to define additional
infrastructure
components
and distribute the domain across those components. If you select No, the wizard uses the
configuration settings exactly as defined in the configuration
source
that you selected earlier. If you select
Yes, you are prompted in subsequent windows to define the configuration you
want, as described below.
Task:
Configuring Managed Servers
Description:
Optionally, add Managed Servers or change the configuration of existing Managed Servers in your domain. In addition to the Administration Server,
production environments typically deploy one or more Managed Servers to host enterprise
applications.
Reference:
Creating WebLogic Configurations Using the Configuration Wizard
http://docs.oracle.com/cd/E13196_01/platform/docs81/confgwiz/multi.html#1057945
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 path name 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.
C. The
administration server is automatically added to a new cluster.
D. You must
explicitly identify which servers belong to the cluster.
Answer:
A,B
Explanation:
A cluster must include at least one server. A
clustered is administered through an administration server, but the cluster
consists of managed servers
only.
QUESTION
NO: 12
Consider
a single JMS module that includes a connection factory as well as queue.
Based on
your system’s 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 sub deployments 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 systemmodules
No comments:
Post a Comment