In the area of Performance Management and Diagnostics, which feature is supported in Oracle
Enterprise Manager 12C?
An airline is building a booking system for its premium and general customers. The goal is to ensure
premium members are given higher access priority when user traffic is high.
What configuration will achieve this goal?
fair-share-request-classSpecifies the average thread-use time required to process requests. The
default fair share value is 50.
For example, assume that WebLogic Server is running two modules. The Work Manager
forModuleAspecifies afair-share-request-classof 80 and the Work Manager forModuleBspecifies
During a period of sufficient demand, with a steady stream of requests for each module such that the
number requests exceed the number of threads, WebLogic Server will allocate 80% and 20% of the
thread-usage time toModuleAandModuleB, respectively.
* A request class expresses a scheduling guideline that WebLogic Server uses to allocate threads to
requests. Request classes help ensure that high priority work is scheduled before less important
work, even if the high priority work is submitted after the lower priority work.
Not C: response-time-request-classSpecifies a response time goal in milliseconds. Response time
goals are not applied to individual requests. Instead, WebLogic Server computes a tolerable waiting
time for requests with that class by subtracting the observed average thread use time from the
response time goal, and schedules requests so that the average wait for requests with the class is
proportional to its tolerable waiting time.
Not A, D: Not related to thread constraints.
For example, assume that WebLogic Server is running two modules. The Work Manager for ModuleA
specifies a fair-share-request-class of 80 and the Work Manager for ModuleB specifies a fair-share-
request-class of 20.
You want to migrate an application that was developed for OAS/OC4J to WebLogic. The application
uses Oracle Streams Advanced Queuing (AQ). You configured a Foreign JMS Server and Data Source
but you are not able to send messages to the AQ destination and see them reach the database.
Which two things are missing in this configuration?
* A WebLogic Messaging Bridge communicates with the configured source and target bridge
destinations. For each mapping of a source destination to a target destination, you must configure a
messaging bridge instance. Each messaging bridge instance defines the source and target destination
for the mapping, a message filtering selector, a QOS, transaction semantics, and various
* In your JMS Foreign Server configuration:
/ Specify oracle.jms.AQjmsInitialContextFactory as the JNDI Initial Context Factory.
/ Configure the JDBC data sources needed for your application environment.
A customer is developing a custom application that involves a multistep provisioning process for a
new account. There is a custom Java client application that is generating multiple JMS messages as
part of the process and sending them to the WebLogic tier where they are processed.
Which three steps must you take to implement the solution to allow for scalability and parallel
processing of multiple simultaneous provisioning requests while ensuring messages for an individual
process are not delivered out of order?
B, C, D
C: Message Unit-of-Order is a WebLogic Server value-added feature that enables a stand-alone
message producer, or a group of producers acting as one, to group messages into a single unit with
respect to the processing order. This single unit is called a Unit-of-Order and requires that all
messages from that unit be processed sequentially in the order they were created.
D Transactions required for parallel processing.
A: Many applications need an even more restricted notion of a group than provided by the Message
Unit-of-Order (UOO) feature. If this is the case for your applications, WebLogic JMS provides the
Unit-of-Work (UOW) Message Groups, which allows applications to send JMS messages, identifying
some of them as a group and allowing a JMS consumer to process them as such. For example, an JMS
producer can designate a set of messages that need to be delivered to a single client without
interruption, so that the messages can be processed as a unit. Further, the client will not be blocked
waiting for the completion of one unit when there is another unit that is already complete.
* WebLogic JMS defines two default connection factories, which you can look up using the following
Reference: Using Message Unit-of-Order
In a Java EE messaging application, one MDB is consuming a lot of memory at high traffic.
What configuration should you use to prevent possible out-of-memory error at high traffic and at the
same time not losing messages?
* When to Use Work Managers
Following are guildelines to help you determine when you might want to use Work Managers to
customize thread management:
/ The default fair share is not sufficient.
This usually ocurrs in situations where one application needs to be given higher priority over
/ A response time goal is required.
/ A minimum thread constraint needs to be specified to avoid server deadlock
When you use WebLogic Management Pack EE, which three operations are enabled compared to
managing WebLogic Server only through web console?
A, B, E
The WebLogic Server Management Pack EE greatly improves application
performance by providing unique functionality to automatically detect performance
bottlenecks; quickly diagnose these performance problems, and identify their root
cause. Key application performance management features of the pack include the
* (A) Manage multiple farms and WebLogic Domains centrally
* Monitor Oracle Coherence Cluster including all nodes within a cluster, all
caches, services, connection managers and connections
* Monitor middleware availability and performance out-of-box; track such data
historically, and receive notifications of potential problems
* Obtain real-time, in-depth JVM diagnostics without instrumentation overhead
* Trace transactions across containers as well as to the database
* (E) Analyze call paths and dependencies via graphical, architecture views
* (E) Automatically discover and model dependencies between Java components,
frameworks, and web services
Reference: Weblogic Server Management Pack Enterprise Edition
Which technology does WebLogic Server use to look up a WebLogic JMS resource?
Using JNDI, a JMS client can obtain access to a JMS provider by first looking up a ConnectionFactory.
The ConnectionFactory is used to create JMS connections, which can then be used for sending and
receiving messages. Destination objects, which represent virtual channels (topics and queues) in
JMS, are also obtained via JNDI and are used by the JMS client. The directory service can be
configured by the system administrator to provide JMS administered objects so that the JMS clients
don't need to use proprietary code to access a JMS provider.
* The Java Naming and Directory Interface (JNDI) is part of the Java platform, providing applications
based on Java technology with a unified interface to multiple naming and directory services.
When a critical error occurs, which module in Enterprise Manager will automatically collect
diagnostics data from WebLogic Server?
Support Workbench is a feature where, on identification of a problem, targeted diagnostics data is
dumped in a well-known format and location, for further analysis by administrators, Oracle Support
and development. In case of Support Workbench for FMW, this feature works for Weblogic Server
You deploy two different applications to the WebLogic container. One application use Xerces parser
version A and the other application uses Xerces parser version B. Both these versions are different
from the parser version that the WebLogic server uses internally. You want to use the Filtering
Classloader feature to solve this problem. What action would you take to generate proper filtering
* The FilteringClassLoader provides a mechanism for you to configure deployment descriptors to
explicitly specify that certain packages should always be loaded from the application, rather than
being loaded by the system classloader. This allows you to use alternate versions of applications such
as Xerces and Ant.
* To configure the FilteringClassLoader to specify a certain package is loaded from an application,
add a prefer-application-packages descriptor element to the weblogic-application.xml which details
the list of packages to be loaded from the application. The following example specifies that
org.apache.log4j.* and antlr.* packages are loaded from the application, not the system classloader:
Reference: Understanding WebLogic Server Application Classloading
Which two options best describe how the Maven Plugin for WebLogic enables WebLogic to be
effectively used in a Continuous Integration environment?
* Apache Maven is a software tool for building and managing Java-based projects. WebLogic Server
provides support for Maven through the provisioning of plug-ins that enable you to perform various
operations on WebLogic Server from within a Maven environment.
* Continuous Integration is a software engineering practice which attempts to improve quality and
reduce time to deliver software by applying small, frequent quality control efforts. It is characterized
by these key practices:
Use of a version control system
All developers commit to the HEAD (main code line) every day
The product is built on every commit
The build must be automated and fast
Automated deployment to a production-like environment
Results of all builds are published (so everyone can see who broke the build)
Deliverables are easily available (for developers, testers, other stakeholders)
In the absence of shared storage between cluster nodes, which two actions can you take to configure
a High Availability architecture?
A customer has a WebTrade application that initially uses the embedded LDAP to authenticate users.
To enhance security, the customer decides to use OAM to authenticate some of the users against an
external LDAP store. For this to work, a customer configured an OAMAuthenticator, but was not sure
what to select for the Control Flag. What Control Flag should the customer choose?
* When you configure multiple Authentication providers, use the JAAS Control Flag for each provider
to control how the Authentication providers are used in the login sequence.
You can choose the following the JAAS Control Flag settings, among others:
REQUIREDThe Authentication provider is always called, and the user must always pass its
authentication test. Regardless of whether authentication succeeds or fails, authentication still
continues down the list of providers.
SUFFICIENTThe user is not required to pass the authentication test of the Authentication
provider. If authentication succeeds, no subsequent Authentication providers are executed. If
authentication fails, authentication continues down the list of providers.
OPTIONALThe user is allowed to pass or fail the authentication test of this Authentication
provider. However, if all Authentication providers configured in a security realm have the JAAS
Control Flag set to OPTIONAL, the user must pass the authentication test of one of the configured
Setting the Order of Providers
Re-order the OAM Identity Asserter, OID Authenticator, and Default Authenticator by ensuring that
the control flag for each authenticator is set as follows:
Reference: Oracle Fusion Middleware Security Guide
Which action cannot be done in a scripted, automated fashion using WLST?
Which option must you choose to configure Node Manager on a machine (server or zone)?
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 instanceswhether Administration Server or Managed
Serverthat you want to control with Node Manager.
Reference: Overview of WebLogic Server Domains
A customer wants to send JMS messages to a remote WebLogic server from a Java SE application
over an unreliable network connection. Which feature of WebLogic JMS will enable the customer to
send messages from a Java SE client to a JMS destination that is not always easily reached?
. The JMS SAF Client feature extends the JMS store-and-forward service introduced
in WebLogic Server 9.0 to standalone JMS clients. Now JMS clients can reliably send
messages to server-side JMS destinations, even when the client cannot reach a
destination (for example, due to a temporary network connection failure). While disconnected from
the server, messages sent by a JMS SAF client are stored locally on
the client file system and are forwarded to server-side JMS destinations when the
client reconnects. See Reliably Sending Messages Using the JMS SAF Client.
Reference: Programming JMS for Oracle WebLogic Server, Using WebLogic JMS SAF Client