Configuring JMS and WLS Security Policies
Configuring JMS and WLS Security Policies
I am configuring the security policy for my JMS module. I am specifying some security conditions for
the module.
Which two security conditions are valid in this context? (Choose two.)
B. The JMS module should throw a custom security exception on invalid access.
D. The JMS module can be accessed only by users belonging to the Operators group.
Correct Answer: AD
There are two security conditions:
* time-constrained
* By Group or User
Question #2
Review the digital certificate below.
Based on what the certificate contains, which statement is true? (Choose the best answer.)
Correct Answer: A
Question #3
You want to create a WebLogic Server (WLS) Work Manager with a Response Time Request Class of
one second. You start to create the following WLST script:
Which two can replace the missing sequence to finish this script? (Choose two.)
A. [Link](getMBean('/Servers/ManagedServer'))
cd('edit:/SelfTuning/wls_domain/WorkManagers/MyWorkManager')
[Link](getMBean
('/SelfTuning/wls_domain/ResponseTimeRequestClasses/MyResponseTime'))
B. managedServer=getMBean('/Servers/ManagedServer') [Link](managedServer)
[Link](getMBean('/SelfTuning/wls_domain/WorManagers/MyWorkManager'))
C. cd('edit:/Servers/ManagedServer') [Link](getMBean
('/SelfTuning/wls_domain/ResponseTimeRequestClasses/MyResponseTime')) [Link]
(getMBean('/SelfTuning/wls_domain/WorkManagers/MyWorkManager'))
D. managedServer=getMBean('/Servers/ManagedServer') [Link](managedServer)
cd('edit:/SelfTuning/wls_domain/WorkManagers/MyWorkManager')
[Link](getMBean
('/SelfTuning/wls_domain/ResponseTimeRequestClasses/MyResponseTime'))
E. [Link]('/Servers/ManagedServer')
cd('/SelfTuning/wls_domain/WorkManagers/MyWorkManager') [Link]
('/SelfTuning/wls_domain/ResponseTimeRequestClasses/MyResponseTime')
Correct Answer: AD
Reference:
[Link]
[Link]
Question #4
You are creating and configuring a production WebLogic Server (WLS) domain that is highly available.
Which three WebLogic Server features allow you to best accomplish this requirement? (Choose
three.)
Reference:
[Link]
Community vote distribution
Question #5
You are troubleshooting an issue with a WLS data source. However, your attempt to execute a
manual test on the connection pool fails when you invoke the testPool() method on the
corresponding JDBCDataSourceRuntimeMBean.
Which configuration condition would contribute to the failure of executing the test? (Choose the
best answer.)
A. The TestTableName property is either not set or is set to an invalid SQL statement.
B. The TestFrequencySeconds property is set to a value greater than 0.
C. The TestReservedConnections property is enabled.
D. The ManualTestEnabled property is set to false.
E. The ConnectionReserveTimeoutSeconds property is set to a value other than -1.
Correct Answer: A
testPool tests the connection pool in the data source by reserving and releasing a connection from it.
TestTableName is the name of the database table to use when testing physical database
connections. This name is required when you specify a Test Frequency and enable Test Reserved
Connections, Test Created Connections, and Test Released Connections.
Reference:
[Link]
Question #6
My JMS file store size has grown very large and is using up a significant chunk of the disk. I need to
reduce the file size during the maintenance window without impacting any relevant information.
Which utility enables me to do this? (Choose the best answer.)
A. [Link]
B. [Link]
C. [Link]
D. [Link]
Correct Answer: B
To open the persistent store administration utility from a Java command line, type the following:
> java [Link]
Here is an example of using the compact command to compact the space occupied by a file store in
the mystores directory.
> storeadmin->compact -dir c:\mystores -tempdir c:\tmp
Question #7
Your WebLogic Server (WLS) environment consists of multiple domains.
Which is a true statement about WLS domains? (Choose the best answer.)
A. Multiple domains can use the same or separate WLS installation while running on the
same machine.
B. Domains require a minimum of one managed server.
C. Multiple domains require separate WLS installations while running on the same machine.
D. Multiple domains require individual Node Managers while running on the same machine.
E. Multiple domains can share the same administration server.
Correct Answer: A
You can use a single Oracle WebLogic Server installation to create and run multiple domains, or you
can use multiple installations to run a single domain.
Question #8
You are asked to configure Node Manager for your production environment. You are considering
whether to use the Java version or the script-based version of Node Manager.
Which statement correctly describes the difference between the two versions?
A. If you are installing WebLogic Server on a Windows system, you must use the Java version
of Node Manager.
B. The script-based version of Node Manager can be used in conjunction with inetd on
supported UNIX systems.
C. The script-based version of Node Manager requires a larger footprint than the Java
version.
D. When Node Manager is used for consensus leasing, you may see faster performance with
the script-based version.
Correct Answer: A
Java-based Node Manager runs within a Java Virtual Machine (JVM) process. It is recommended that
you run it as a Windows service on Windows platforms and as an operating system service on UNIX
platforms.
For UNIX and Linux systems, WebLogic Server provides a script-based version of Node Manager.
Question #9
Your organization is using a Multi data source (MDS) on WebLogic Server to support applications
connecting to an Oracle RAC database. You have been tasked with configuring a new callback
handler for the MDS.
Which two statements are true concerning related MDS options and behaviour? (Choose two.)
A. Callback handlers are optional when using the Failover MDS Algorithm.
B. If the Failover Callback Handler attribute is set on the MDS, the Test Frequency attribute is
no longer used.
C. Callback handlers are called for both failover and failback decisions.
D. You can register only one callback handler for each WebLogic server.
Correct Answer: CD
C: A callback handler used to control the failover and failback within a multi data source must
include an implementation of the [Link]
interface.
D: You can register a callback handler with WebLogic Server that controls when a multi data source
with the Failover algorithm fails over connection requests from one JDBC data source in the multi
data source to the next data source in the list.
Question #10
You are managing and monitoring durable subscribers for your JMS topics to ensure that all the
subscribers would receive persistent messages.
However, JMS connections are currently restricted, so only one connection with the same client ID
could exist in the scope of your cluster.
On which page of the Administration Console can you set Client ID Policy to unrestricted to lift this
restriction? (Choose the best answer.)
Correct Answer: B
You can find help on Client ID Policy configuration through the following path:
OTN Home > Oracle WebLogic Server [Link] Documentation > Administration Console Online Help
> JMS Connection Factory: Configuration: Client
Question #11
Examine the domain diagram:
What is the correct path within the configuration hierarchy to the MBean that contains the log
rotation parameters for server04? (Choose the best answer.)
A. /Servers/server04/Log/server04
B. /server04/log/rotation
C. /Cluster01/server04/log
D. /Machine02/server04/log
E. /Logs/server04
F. /TestDomain/server04/log
G. /server04/log
Correct Answer: A
Question #12
Which two automatic migration scenarios require node manager for all migratable services? (Choose
two.)
A. Consensus leasing
B. Database leasing with no pre and post migration scripts
C. Database leasing with pre and post migration scripts
D. Synchronous leasing
Correct Answer: AC
When using automatic service migration, the Node Manager is required to get health monitoring
information about the member servers involved, as follows:
* Consensus leasing Node Manager must be running on every machine hosting managed servers
within the cluster.
* Database leasing Node Manager must be running on every machine hosting managed servers
within the cluster only if pre/post-migration scripts are defined. If pre/post-migrations are not
defined, then Node manager is not required.
Question #13
Which two statements are true about the role of cluster master in whole server migration? (Choose
two.)
A. There is exactly one cluster master in the cluster at a given point of time.
B. The cluster master must host all the pinned services in the cluster.
C. Any managed server in the cluster can serve as the cluster master.
D. A cluster master must always be different from a singleton master.
E. The cluster master must always be started with the node manager.
Correct Answer: AC
One server instance in a cluster that contains migratable servers acts as the cluster master and
orchestrates the process of automatic server migration, in the event of failure.
Any Managed Server in a cluster can serve as the cluster master, whether it hosts pinned services or
not.
Note: Any server instance in the cluster can serve as the cluster master. When you start a cluster
that contains migratable servers, the first server to join the cluster becomes the cluster master and
starts up the cluster manager service. If a cluster does not include at least one migratable server, it
does not require a cluster master, and the cluster master service does not start up.
Question #14
You are trying to set up a JMS Session with a specified acknowledgment mode. You want the
application that receives the message to explicitly take care of the acknowledgment.
Which option represents a valid choice for the acknowledgment mechanism that you can use?
(Choose the best answer.)
A. AUTO_ACKNOWLEDGE
B. CLIENT_ACKNOWLEDGE
C. DUPS_OK_ACKNOWLEDGE
D. DEFAULT_ACKNOWLEDGE
Correct Answer: B
With CLIENT_ACKNOWLEDGE the Session object relies on the application to call an acknowledge
method on a received message. Once the method is called, the session acknowledges all messages
received since the last acknowledge.
Question #15
You created a script to monitor your WebLogic Server WLS Execute Thread:
What is the value of xxxx if the thread has been running a request for twenty minutes, assuming a
default configuration?
A. STANDBY
B. ACTIVE
C. STUCK
D. RUNNING
E. WAITING
F. ADMIN
G. FAILED
Correct Answer: C
This thread is considered Stuck by WebLogic because it's been running for over the time defined in
MaxStuckThreadTime (600 seconds by default). Weblogic
Server waits for this time to be reached before marking a thread as stuck if the thread is still working
after this time.
Example: [STUCK] ExecuteThread: '2' for queue: '[Link] (self-tuning)' id=73
idx=0x128 nid=13410 prio=1 alive, in native, daemon
Question #16
A current production WebLogic Server (WLS) domain needs to be upgraded without affecting the
users. What are the five steps to follow for a Rolling Update?
(Choose five.)
Question #17
You have a multithreaded application that looks up the WebLogic JMS ConnectionFactory object
from the JNDI tree.
Which statement is correct in this scenario? (Choose the best answer.)
Correct Answer: B
A connection factory supports concurrent use, enabling multiple threads to access the object
simultaneously. A session and its message producers and consumers can only be accessed by one
thread at a time (i.e., the access must be synchronized). Their behaviour is undefined if multiple
threads access them simultaneously.
Question #18
You are planning to use WebLogic JMS for implementing my enterprise messaging architecture.
Which messaging paradigm is invalid in this context? (Choose the best answer.)
Correct Answer: C
Question #19
What are two differences between a group and a role? (Choose two.)
Correct Answer: AB
A security role is a privilege granted to users or groups based on specific conditions. Like groups,
security roles allow you to restrict access to WebLogic resources for several users at once. Security
roles differ from groups as follows:
* Security roles are computed and granted to users or groups dynamically, based on conditions such
as username, group membership, or the time of day. Groups are static. * Security roles can be
scoped to specific WebLogic resources within a single application in a WebLogic Server domain
(unlike groups, which are always scoped to an entire WebLogic Server domain).
Question #20
A Web Module needs specific tuning. The Development team fine tunes the module in the
deployment descriptor ([Link]) as follows:
Correct Answer: AB
Question #22
Your WebLogic domain is experiencing a problem. You want to use the WebLogic Diagnostic
Framework (WLDF) to diagnose the problem.
You have a support case open with Oracle Support, and they have requested a diagnostic image of
your server that is experiencing the problem.
The problem is not predictable or reproducible on-demand, but you noticed that the number of
requests waiting to execute increases dramatically when the problem does occur.
The problem also seems to occur at any time of the day or night.
How would you approach reliably capturing a diagnostic image that contains data that is relevant to
the problem that is occurring?
A. Configure a WLDF watch that triggers a diagnostic image action when the number of
requests waiting to execute exceeds a certain threshold.
B. Configure WebLogic overload protection to automatically trigger a diagnostic image when
the number of requests waiting to execute exceeds a certain threshold.
C. Manually monitor the number of requests waiting to execute and create a diagnostic
image when you see the number of requests waiting to execute exceeds a certain threshold.
D. Configure the server health failure action to trigger a diagnostic image when the number
of requests waiting to execute exceeds a certain threshold.
Correct Answer: A
The Watch & Notifications (W&N) system consumes data generated by other parts of WLDF (MBean
data through the Harvester, as well as data from Instrumentation and/or Log events) and applies
configured rules against that data. If a rule evaluates to true, W&N can generate a notification over
SNMP, SMTP, JMX, JMS, or any combination therein.
✑ Diagnostic Images
✑ Java Management Extensions (JMX)
✑ Java Message Service (JMS)
✑ Simple Mail Transfer Protocol (SMTP), for example, e-mail
✑ Simple Network Management Protocol (SNMP)
Question #23
The image below depicts a high-level diagram of configuration auditing within WebLogic Server.
When Administrators make configuration changes to the WebLogic Server domain, those changes
are sent to the audit provider for logging.
What task must be performed to make configuration audit messages in the log meaningful to an
observer?
Correct Answer: D
You can configure the Administration Server to emit a log message when a user changes the
configuration or invokes management operations on any resource within a domain. For example, if a
user disables SSL on a Managed Server in a domain, the Administration Server emits a log message.
These messages provide an audit trail of changes within a domain's configuration. You can then
create and use a JMX listener and filter that respond to configuration auditing messages.
Question #24
A hardware load-balancer (HWLB) is positioned as the primary entry point into your WebLogic Server
domain. Aspects of your application use SSL to protect data on the network from your clients to your
domain.
Which configuration provides the best performance for your domain? (Choose the best answer.)
A. Configure the HWLB to use an SSL hardware accelerator and terminate SSL.
B. Configure the HWLB to use pass-through SSL, configure an SSL hardware accelerator on
WebLogic, and terminate SSL.
C. Configure the HWLB to delegate SSL handling to the WebLogic Proxy Plug-in and
terminate SSL.
D. Configure the HWLB to use pass through SSL to the WebLogic Server that it connects to
and terminate SSL.
Correct Answer: A
In most of the architectures, the SSL is terminated at the hardware load balancer for performance
reasons and allows the internal traffic to use HTTP for communication.
Reference:
[Link]
Question #25
You successfully configured a new dynamic cluster but haven’t launched any of the dynamic servers.
Which parameter can you modify for that server before starting up the dynamic clustered servers for
the first time?
Correct Answer: E
A dynamic server is a server instance that has not been individually configured but instead gets its
configuration from a server template.
Question #26
You need to make sure that a JMS Message never expires.
What value should you set for the JMSExpiration header? (Choose the best answer.)
A. 0
B. 999
C. 1000
D. 1
Correct Answer: A
WebLogic JMS calculates the JMSExpiration value as the sum of the application's time-to-live and the
current GMT. If the application specifies time-to-live as 0, JMSExpiration is set to 0, which means the
message never expires.
Question #27
You want to use the WebLogic Diagnostic Framework (WLDF) to monitor some historic MBean
attribute values in your WebLogic domain.
Which WLDF component do you use to accomplish this? (Choose the best answer.)
Correct Answer: D
The Archive component of the WebLogic Diagnostics Framework (WLDF) captures and persists all
data events, log records, and metrics collected by WLDF from server instances and applications
running on them.
The Archive provides access interfaces so that the Accessor may expose any of the persisted
historical data including logged event data and persisted metrics.
Question #28
You are analyzing the JMSDeliveryMode header field for all the messages for all the queues
deployed to your JMSServer.
Which two values do you expect to find for this header? (Choose two.)
A. PERSISTENT
B. NON_PERSISTENT
C. TRANSIENT
D. PERMANENT
E. MULTIMODE
F. EXACTLY_ONCE
Correct Answer: AB
JMSDeliveryMode specifies PERSISTENT or NON_PERSISTENT messaging.
Reference:
[Link]
01. We find the JMSRedelivered header set for a particular message on the receiver. In which two
scenarios are this expected to happen? (Choose two.)
a) The application has already received the message but did not acknowledge it.
b) The session’s recover() method was called to restart the session beginning after the last
acknowledged message.
c) The sender calls the redeliver() method for the message.
d) The sending application crashes after sending the message.
Answer: - a, b
02. I want to configure automatic migration of pinned services from an unhealthy server to
another target in the cluster. I wish to configure consensus leasing for this purpose.
Which two statements are true in this scenario? (Choose two.)
Answer: - a, c
03. Under a normal startup scenario, a managed server contacts the administration server to get
its configuration information.
However, in case the administration server is not available, which mechanism can be used by the
managed server to start up successfully?
a) Silent Mode
b) Isolated Mode
c) MSI Mode
d) Cluster Mode
Answer: - c
04. The administration server is a major component of a WebLogic domain. I need to make
available a standby administration server in case the main administration server in the domain
crashes.
Which utility will help me in doing this?
a) Configuration Wizard
b) Domain Template Builder
c) pack/unpack
d) Enterprise Manager
Answer: - d
05. You are deploying an application. Which two are common processes for all three staging
modes?
(Choose two.)
a) The target server receives the deployment command, performs its internal preparation of
the deployment, and performs the actual deployment.
b) The administration server executes the deployment process on all targeted servers.
c) The administration server copies all the files to each of the targeted servers.
d) The administration server copies all the files to the appdeploy directory for the targeted
servers.
e) The administration server executes the unarchive process in each of the targeted servers.
Answer: - b,e
a) .jar
b) .zip
c) .ext
d) .tpl
e) .war
f) .ear
Answer: - a
07. Your application includes a message driven bean (MDB) that is listening to messages on a JMS
Queue. You need to ensure that every message is processed exactly once by the MDB.
Which configuration allows you to achieve this requirement? (Choose the best answer.)
Answer: - c
08. A client application asynchronously receives the message sent to a JMS Queue. The client is
going to send a response to the sender.
Which two JMS Header fields from the original message are used to send the response? (Choose
two.)
a) JMSResponseMode
b) JMSTimeStamp
c) JMSDeliveryMode
d) JMSCorrelationID
e) JMSReplyTo
Answer: - d,e
09. You are using the administration console to monitor messages in a queue.
Which three tasks can be performed while doing this monitoring? (Choose three.)
10. Which three tools allow you to create a Domain Template? (Choose three.)
a) JDeveloper
b) pack command
c) Smart Template Wizard
d) [Link]
e) Domain Template Builder
f) WLST
g) Archive command
Answer: - b,e,f,
11. You are configuring two-way SSL for a WebLogic Server domain. As a security professional, you
realize that even if a client certificate is authentic, it is always possible for a valid certificate to
become compromised.
Which two options can you configure for WebLogic Server to check if a certificate it receives has
been compromised? (Choose two.)
a) Certification Revocation List
b) Certificate Revocation Status Protocol
c) Online Revocation Status Protocol
d) Online Certificate Status Protocol
Answer: - a, d
12. Examine the illustration:
b) depicts a FAN-disabled Data Source between WebLogic Server and an Oracle Database
service that includes two RAC nodes
c) depicts a Multi Data Source between WebLogic Server and an Oracle Database service that
includes two RAC nodes
d) depicts a Data Source using SCAN between WebLogic Server and an Oracle Database
service that includes two RAC nodes.
Answer: - c
13. What is the first action to take during a Rolling Update? (Choose the best answer.)
a) Change the Startup Mode to Development; Production Mode is not supported.
b) Remove all managed servers from any cluster and reassign them after the update.
d) Back up your applications, database schema, other application data, and domains.
Answer: - d
14. Review this scenario of an application running on a storage-disabled, managed Coherence
server that uses a Coherence two-tier near cache:
Cache data is already written to the distributed cache.
There is a local near cache configured on the application side (storage-disabled node).
Application requests the data from Coherence twice.
Assuming this is the server's first access of this data from the cache, how many network round
trips between Coherence cluster instances take place in total? (Choose the best answer.)
a) 3
b) 4
c) 1
d) 2
Answer:- c
15. I am sending a set of ten JMS messages. I want all these messages to be sent successfully or
none.
Which JMS Session feature is most suitable for implementing such a scenario? (Choose the best
answer.)
a) Transacted Session
b) Unit of Order
c) Store and forward
d) Persistent Session
e) Server affinity
Answer: a
16. You are designing an application that uses JMS transactions to coordinate a group of messages
for production and consumption, treating messages sent or received as an atomic unit.
What are two ways you can use transactions in JMS? (Choose two.)
a) You create a JMS-transacted session if you are using only JMS in your transactions.
b) You set various levels of control over message acknowledgement.
c) Use message-driven beans if consumers are nondurable.
d) Use a JTA user-transactions in a non-transacted JMS session.
Answer: a, d
1
17. You are considering targeting your JMS servers to dynamic clusters to benefit from dynamic
scaling. However, you have been advised to keep in mind some of the associated limitations.
What are two valid limitations and considerations for clustered JMS services? (Choose two.)
Answer: a, d
A: Store-and-Forward (SAF) Agents cannot be targeted to a Dynamic or Mixed cluster. You can
target SAF Agents to Configured clusters using the default store.
D: Targeting a messaging bridge to a mixed or dynamic cluster is not supported.
Question No. 3
18. My domain consists of an administration server and two managed servers. During runtime, my
administration server has crashed, and I wish to start the managed servers in MSI mode.
Which two files need to be copied from the admin server to the managed servers when starting
them in this mode? (Choose two.)
a) [Link]
b) [Link]
c) [Link]
d) [Link]
e) [Link]
Answer: a, c
In Managed Server Independence mode, a Managed Server looks in its root directory for the
following files:
* [Link]---a replica of the domain's [Link].(Even if the domain's configuration file is
named something other than [Link], a Managed Server in MSI mode always looks for a
configuration file named [Link].)
* [Link]
* [Link]---an optional file that contains an encrypted version of your username and
password.
Note: When a Managed Server starts, it tries to contact the Administration Server to retrieve its
configuration information. If a Managed Server cannot connect to the Administration Server
during startup, it can retrieve its configuration by reading configuration and security files directly.
A Managed Server that starts in this way is running in Managed Server Independence (MSI) mode.
19. Which three statements are correct regarding the WLST create command? (Choose three.)
a) When the create command is used with WLST online, the connection must be to the
administration server.
b) The type of MBean being created must be a child type of the current management
object.
c) The correct order of the mandatory parameters for the create statement is name
followed by childMBeanType.
d) The create command is used to create any configuration or runtime management bean.
e) The create command returns a WLSTProgress object.
Answer: a, b, c
A: When using the create command with WLST online you must be connected to an
Administration Server.
B: Child types must be created under an instance of their parent type.
C: Syntax: create(name, childMBeanType, [baseProviderType])
The Create command creates a configuration bean of the specified type for the current bean.
20. Your development team is considering several different types of new applications. You have
been asked to advise them concerning which types can be deployed in WebLogic Server leveraging
the Production Redeployment feature.
Which application deployment type is NOT supported for Production Redeployment? (Choose the
best answer.)
a) enterprise applications (EAR) that contain a Coherence Grid Archive (GAR) module.
b) web service applications that are conversational or that use reliable messaging.
c) standalone Enterprise Java Bean (EJB) applications
d) enterprise applications (EAR) that are accessed by inbound JMS messages.
Answer: a
21. Your clients are connected to distributed destinations to consume messages sent to various
JMS topics.
Recently, JMS connections got interrupted due to a network failure and your clients dropped their
connections as well.
How would you ensure seamless failover for your clients when a distributed destination fails?
(Choose the best answer.)
a) No action should be needed at the client's level if the failover is being handled properly at
the cluster level.
b) Set the clientReconnectOptions parameter to Automatic in the Administration Console
under the destination configuration general page.
c) Implement an automatic reconnect mechanism in the client exception handler.
d) Set AutomaticClientReconnect to Enabled in the Administration Console under the
destination configuration general page.
Answer: - c
22. You are tasked with doing a rolling upgrade of a production domain that will minimize user
interruptions.
What are two characteristics of a rolling upgrade? (Choose two.)
Answer: - d, e
23. You have enabled JMS Diagnostic Logging and are analysing JMS Message delivery and
acknowledgment using the generated log entries. For this purpose, you are tracking individual
message IDs.
What is the default format of the message ID that you would expect to see in the log? (Choose the
best answer.)
Answer: - d
24. You need to update a database accessed by an application that uses a WebLogic server data
source. It has been decided that the data source on WLS should first be shut down.
You have been asked to advise as to whether they should execute a shutdown() or a
forceShutdown() on the corresponding JDBCDataSourceRuntimeMBean.
Which two statements are true regarding the impact on the application that is using that data
source? (Choose two.)
a) The shutdown() operation will fail if there are any reserved connections in use.
b) The forceShutdown() operation will allow 20 seconds for any reserved connections in use
to complete prior to destroying the connection.
c) The shutdown() operation will send an HTTP 503 status code to clients.
d) The forceShutdown() operation will immediately cause any in-flight transaction to be
rolled back.
e) The shutdown() operation will allow 20 seconds for any reserved connections in use to
complete, otherwise the operation will fail.
Answer: - a, d
Question 1
You have been tasked with deploying and targeting a new application to every server in a WebLogic
cluster.
Some servers are running on machines that have access to a common shared file system, while other
servers do not have that same access.
Currently, the default deployment staging mode for all servers in the cluster is set to STAGE --
however, you wish to avoid having the AdminServer automatically copy the application to the servers
(in that cluster) with shared file system access.
Which two approaches would satisfy the above requirement? (Choose two.)
Options:
A- Change the default deployment staging mode for all servers to EXTERNAL_STAGE, and then copy
the application to all servers.
B- Change the default deployment staging mode for the servers with access to the shared file system
to NO_STAGE, then copy the application to the shared file system.
C- Change the staging mode of the application to EXTERNAL_STAGE when you are deploying it to the
cluster.
D- Leave the default deployment staging mode for all servers as STAGE but copy the application to
the shared file system prior to deployment.
Answer: A, C
Question 2
Your domain is experiencing some intermittent problems that you are not able to figure out on your
own.
You have opened a case with Oracle Support to help you figure out the problem.
The support engineer would like to use the WebLogic Diagnostic Framework (WLDF) to obtain an
overall view of your WebLogic Server environment to try to narrow the problem to a particular
subsystem.
What WLDF data does the support engineer request from you? (Choose the best answer.
Options:
Answer: A
Explanation: Diagnostic Image Capture gathers the most common sources of the key server state
used in diagnosing problems. It packages that state into a single artifact, the Diagnostic Image.
Question 3
You manage an application that uses SAML tokens from a trusted voucher to provide single signon
for virtual clients of your WebLogic domain. Your domain uses an identity assertion provider to
manage this authentication. Clients are failing to authenticate. Client return codes and server log files
do not include any useful information that can he used to discern where the issue lies. What do you
do to determine the problem?
Options:
A- Configure SAML and provider debugging, perform a test client request, and analyse the
server logs for errors.
B- Inspect network packets to examine token data because, for security purposes, the server
does not provide detailed information.
C- Configure the security debug log, perform a test client request, and analyse the log for
errors.
D- Reorder the SAML identity asserter provider to determine if the problem is related to virtual
users.
Answer: A
Explanation: You can enable debug scopes or attributes by passing them as options in the command
that starts WebLogic Server. You can configure SAML debugging either through command line
options by using the WebLogic Server Administration Console.
Question 4
You are developing and managing distributed destination applications for which you do not need to
create or designate destination members. Which configuration steps in the Administration Console
will help you to create and target a Uniform Distributed Topic so that you can rely on WLS to create
the necessary members on the JMS servers to which a JMS module is already targeted? (Choose the
best answer.)
Options:
A- 1. Expand Services > Messaging, select the JMS Module in which to configure the destination.2.
Click New, select Distributed Topic, and click Next.3. Enter a Name, JNDI Name and set Destination
Type to Uniform.4. Click Next, select the targeted server, and click Finish to finalize the creation of
the topic.
B- 1. Expand Services > Messaging, select Destinations.2. Click New, select Distributed Topic, and click
Next.3. Enter a Name, JNDI Name and set Destination Type to Uniform.4. Click Next and select the
JMS Module assigned to this topic.
C- 1. Expand Services > Messaging, select the JMS Module in which to configure the destination.2.
Click New, select Distributed Queue, and click Next.3. Enter a Name, JNDI Name and set Destination
Type to Uniform.4. Click Next, select the targeted server, and click Finish to finalize the creation of
the queue.
D- 1. Expand Services > Messaging, select the JMS Module in which to configure the destination.2.
Click New, select Distributed Topic, and click Next.3. Enter a Name, JNDI Name and expand Advanced
Options.4. Set Destination Type to Uniform.5. Click Next, select the targeted server, and click Finish
to finalize the creation of the topic.
E- 1. Expand Services > Messaging, select the JMS Module in which to configure the
destination.2. Click New, select Uniform Distributed Topic, and click Next.3. Enter a Name,
JNDI Name and click Next.4. Select the targeted server and click Finish to finalize the creation
of the topic.
Answer: - A
Question 5
You are using the Domain Template Builder to create a new template using an existing domain as the
source. Which two directories are included by default? (Choose two.)
Options:
A- bin directory
B- lib directory
C- servers directory
D- common directory
E- logs directory
F- replication directory
Answer: - A, B
Question 6
Your architecture requires that you create 100 JMS Queues with similar, though not necessarily
identical, configuration settings. Which entity will help you carry out the task efficiently? (Choose the
best answer.)
Options:
Answer: - C
Question 7
You are monitoring a WebLogic JDBC data source and have decided to drop some connections
because an earlier peak usage condition has now ended. In addition, this data source has not been
enabled for automatic shrinking. What will occur once you execute the shrink() method on that
JDBCDataSourceRuntimeMBean?
Options:
A- The number of connections in the pool will be reduced to the greater of either the current
number of connections in use or to the minCapacity property setting.
B- The number of connections in the pool will be reduced to the current number of connections
in use regardless of the minCapacity property setting.
C- The number of connections in the pool will be reduced to the minCapacity property setting
regardless of the current number of connections in use.
D- The number of unused connections in the pool will be reduced by half.
Answer: - A
Question 8
You are responsible for creating scripts to use Node Manager with a WebLogic Server domain. Which
four statements correctly describe the WLST command: nmEnroll? (Choose four.)
Options:
Answer: - A, C, E, F
Question 9
Your application has an auditing requirement that says that all audit events that have a severity of
FAILURE must be logged, and a notification must be sent to the application's monitoring tier. The
monitoring tier is implemented as a stateless session bean that provides an entry point called audit
log. The development team has provided you with the code that calls the monitoring tier. How can
you meet this requirement using WebLogic Server auditing? (Choose the best answer.)
Options:
A- Configure the default audit provider and configure the custom audit provider that calls the
monitoring tier.
B- Configure the default audit provider to call the custom audit provider, that calls the
monitoring tier.
C- Remove the default audit provider and configure the custom audit provider that calls the
monitoring tier.
D- Configure the default audit provider and configure it to use the plug-in class that calls the
monitoring tier.
Answer: A
Question 10
You are implementing leasing functionality within your environment to ensure exclusive ownership
of a cluster-wide entity. Which type of leasing requires that Node Manager is configured and
running? (Choose the best answer.)
Options:
Answer: C
Explanation: Setting Migration Basis to Consensus leasing means that the member servers maintain
leasing information in-memory, which removes the requirement of having a high-availability
database to use leasing. This version of leasing requires that you use Node Manager to control
servers within the cluster.
Question 11
My JMS Server uses a persistent file store. I need to ensure that the size of the persistent store does
not exceed 1GB. Which option can I use to configure this? (Choose the best answer.)
Options:
Answer: D
Question 12
You have an application already deployed in a production environment that needs a modification to
one of its tuning parameters. Currently, that tuning parameter has a default value since there was
neither a deployment descriptor used, nor a deployment plan included with the application
deployment. You now attempt to use the Administration Console web application to make a dynamic
modification to that parameter. Which statement is true? (Choose the best answer.)
Options:
A- A new deployment plan will be generated and saved at the indicated location.
B- The modification attempt will fail because there is no deployment descriptor included within
the application.
C- The modification attempt will fail because there is no existing deployment plan associated
with the application.
D- A new skeleton [Link] will be generated if a plan folder is detected with the deployed
application.
Answer: D
You are deploying an application. Which two are common processes for all three staging modes?
(Choose two.)
Options:
A- The target server receives the deployment command, performs its internal preparation of
the deployment, and performs the actual deployment.
B- The administration server executes the deployment process on all targeted servers.
C- The administration server copies all the files to each of the targeted servers.
D- The administration server copies all the files to the appdeploy directory for the targeted
servers.
E- The administration server executes the unarchive process in each of the targeted servers.
Answer: B, E
Explanation:
Note: WebLogic Server provides three different options for staging files: stage mode, nostage mode,
and external_stage mode.
* In stage mode, the Administration Server copies the deployment files from their original location
on the Administration Server machine to the staging directories of each target server.
* In nostage mode, the Administration Server does not copy the archive files from their source
location. Instead, each target server must access the archive files from a single source directory for
deployment. The staging directory of target servers is ignored for nostage deployments.
* External_stage mode is similar to stage mode, in that target servers deploy using local copies of the
deployment files. However, the Administration Server does not automatically copy the deployment
files to targeted servers in external_stage mode; instead, you must copy the files to the staging
directory of each target server before deployment.
Question 14
Assume all servers are running and you have an online WLST session connected to the administration
server. Select two code options that would set the variable x as a reference to the machine02
configuration MBean. (Choose two.)
Options:
A- cd('/Machines/machine02')x = cmo
B- x = getMBean(''/Machines/machine02'')
C- x = [Link]('/Machines/machine02')
D- getRef(''/Machines/machine02'')x = [Link]()
E- [Link]('/Machines/machine02')x = [Link]()
F- cd('/Machines/machine02')x = getRef(cmo)
G- x = getConfiguration('/Machines/machine02')
Answer: A, B
Explanation:
A: WLST online provides a variable, cmo, that represents the current management object.
Example: wls:/mydomain/serverConfig/Servers/myserver/Log/myserver>
cmo[MBeanServerInvocationHandler]mydomain:Name=myserver,Server=myserver,Type=Log
Question 15
You have an enterprise application that includes a resource adapter module. You are considering
leveraging WebLogic Server's Production Redeployment feature for this application. In preparation
for deployment, you decide to create a checklist of items to discuss with the developers of the
application. Which item would you omit from your checklist as it is irrelevant to production
Redeployment? (Choose the best answer.)
Options:
Answer: B
Question 16
As part of a manual migration of JMS-related services, you just configured a custom file store and
targeted it to the same migratable target as the JMS server. Which two statements pertain to the
successful configuration of this JMS store and the manual migration? (Choose two.)
Options:
A- The custom store could be made available to a backup server target with pre-migration/post-
migration scripts.
B- The custom store should not be targeted to the same migratable target as the migratable
service.
C- All the candidate servers in the migratable target should have access to this custom store.
D- The JMS server that is using the default file store should be migrated to a migratable target.
Answer: A, C
Explanation: For persistent messaging, you must configure a custom persistent store that is targeted
to the same migratable target as the JMS service. Unless you are using pre/post migration scripts to
move the store data across migrated servers, the custom store must be configured such that all the
candidate servers in the migratable target have access to it.
Question 17
Your development team has created a GAR deployment that enables Coherence caching for an
application. The GAR file is configured to work within both storage-enabled and storage-disabled
nodes. How would you package your GAR as part of the WebLogic Server deployment process for
your application? (Choose the best answer.)
Options:
Answer: A
Explanation:
Managed Coherence servers are distinguished by their role in the cluster. A best practice is to use
different managed server instances (and preferably different WebLogic Server clusters) for each
cluster role.
* storage-enabled -- a managed Coherence server that is responsible for storing data in the cluster.
Coherence applications are packaged as Grid ARchives (GAR) and deployed on storage-enabled
managed Coherence servers.
* storage-disabled -- a managed Coherence server that is not responsible for storing data and is used
to host Coherence applications (cache clients). A Coherence application GAR is packaged within an
EAR and deployed on storage-disabled managed Coherence servers.
Question 18
Which statement is correct for JTA service migration? (Choose the best answer.)
Options:
A- TLOG files should be stored on a remote file system accessible only to the migration target
server.
B- TLOG files should be stored on a shared storage accessible from the migration source and the
administration server.
C- TLOG files should be stored on the local file system of the migration source server.
D- TLOG files should be stored on a remote file system accessible only to the migration source
server.
E- TLOG files should be stored on a shared storage accessible from migration source and target
servers.
Answer: B
Question 19
A WebLogic domain that consists of two WebLogic clusters that are each included in a Coherence
cluster
The Coherence cluster includes a configuration for Coherence*Web HTTP session storage
A client is using a web browser to interact with the application on cluster 1 (via a proxy)
The client's HTTP session is stored by Coherence*Web on the server in the upper right-hand corner
The server where the client's HTTP session is stored crashes
Assuming the next request for an HTTP session attribute is a new attribute that is not stored in a
near-cache, the client's session attribute is fetched from the remaining storage-enabled server in
cluster 2.
Why is the session attribute retrieved from this other server's cache? (Choose the best answer.)
Options:
A- Coherence*Web stores sessions in a distributed cache on the back end and the request fails
over to the new location after partition re-balancing takes place.
B- Coherence*Web stores sessions in a replicated cache on the back end and the request fails
over to the new location automatically.
C- Coherence*Web stores sessions in a shared disk cache on the back end and Coherence*Web
automatically load balances requests.
D- Coherence*Web stores sessions in a cache that is backed by a database cache loader. The
data is fetched from the database and placed into the cache on the new server.
Answer: A
Question 20
Which three types of information can an Extension Template contain? (Choose three.)
Options:
A- JMS
B- JDBC
C- sample applications
D- servers
E- clusters
F- machines
G- administration username and password
Answer: A, B, C
Explanation:
Optionally, you can define parameters for Java Message Service (JMS) in the Extension Template.
Optionally, you can customize the Java Database Connectivity (JDBC) settings in the Extension
Template. You can review and modify, if desired, the list of applications to be included in your
extension template.
Question 21
Which three statements correctly describe a relationship between Node Manager and
Administration Server? (Choose three.)
Options:
A- An Administration Server can be under Node Manager control: You can start it, monitor it, and
restart it using Node Manager.
B- An Administration Server can be a Node Manager client: When you start or stop Managed
Servers from the Administration Console, you are accessing Node Manager using the
Administration Server.
C- An Administration Server supports the process of starting up a Managed Server with Node
Manager: When you start a Managed Server with Node Manager, the Managed Server contacts
the Administration Server to obtain outstanding configuration updates.
D- By default, the Administration Server starts a Node Manager with the startNM script in the
domain's bin folder.
E- By default, the Administration Server starts a Node Manager with the startNodeManager script
in the domain's config folder.
F- Node Manager requires an Administration Server to be running before it can start any Managed
Servers.
G- A Node Manager can be a client of an Administration Server -- When Node Manager needs to
monitor Managed Servers, it uses the Administration Server's runtime MBeans.
Answer: B, E, F
Explanation:
B: If you run Node Manager on a machine that hosts Managed Servers, you can start and stop
the Managed Servers remotely using the Administration Console or from the command line.
E: 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. Use
[Link] on Windows systems and [Link] on UNIX systems.
F: Requests from the Administration Console (or JMX utilities such as [Link]) to start a
Managed Server using Node Manager are issued to the Administration Server for the domain
that contains the Managed Server. The Administration Server dispatches the start command to
the Node Manager process on the machine that hosts the target Managed Server. Node Manager
executes the start command and creates a Managed Server process.
Question 22
You are tasked with doing a rolling upgrade of a production domain that will minimize service
interruptions. Which is a characteristic of a rolling update? (Choose the best answer.)
Options:
A- All the managed servers and node managers need to be shut down.
B- Configuration changes can be made during the rolling update process.
C- An automated backup is part of the rolling update process.
D- The machine hosting the Administration Server must be upgraded first.
E- A major upgrade, for example 11g to 12c, can be accomplished with a rolling update.
Answer: E
Explanation: Rolling upgrade applies only to upgrades within a major product version. For example,
you can upgrade from 10.0 to 10.3.1, but cannot upgrade from 9.0 to 10.0.
Question 23
You are reviewing the scheduled maintenance of your domain after adding a new cluster. Which
statement is true when configuring a migratable target within a WebLogic Server cluster? (Choose
the best answer.)
Options:
Answer: D
Question 24
You are asked to write a WLST script that will print the current available heap size for server04.
Assuming: all servers are running you have just started an offline, interactive WLST session a domain-
scoped node manager is running on each machine, listening on port :5556 the username/password
''weblogic/Welcome1'' maps to a valid domain administrator and Node Manager client Which two
code options will accomplish this task? (Choose two.)
Options:
A- connect('weblogic','Welcome1','[Link]')domainRuntime()x =
getMBean('/ServerRuntimes/server04/JVMRuntime/server04')print [Link]()
B- connect('weblogic','Welcome1','[Link]')serverRuntime()x =
getMBean('/JVMRuntime/server04')print [Link]()
C- connect('weblogic','Welcome1','[Link]')serverRuntime()x =
getMBean('/JVMRuntime/server04')print [Link]()
D- nmConnect('weblogic','Welcome1','[Link]')serverRuntimes()x=getMBean('/
serve r04/JVMRuntime/server04')print [Link]()
E- nmConnect('weblogic','Welcome1','[Link]')domainRuntime()x=getMBean('/
Serv Oracle 1Z0-134 DUMPS BY Knapp 15-04-2024 11QA vceexamstest - Page 10
erRuntimes/server04/JVMRuntime/server04')print [Link]()
Answer: A, B
Question 25
What is the difference between a WebLogic Diagnostic Framework (WLDF) watch and a notification?
(Choose the best answer.)
Options:
A- A watch compares WLDF instrumentation data to a rule and sends a notification SMS text
message.
B- A notification compares WebLogic log data to a rule and notifies a watch when the rule is true.
C- A notification compares WLDF instrumentation data to a rule and notifies a watch when the rule
is true.
D- A watch compares WLDF metric data to a rule and triggers a certain notification action.
Answer: D
Question 26
You are concerned with messages being received systematically. You designed Message-Driven beans
(MDB) to guarantee the most reliable way to consume messages. In which three scenarios would
JMS always redeliver a message? (Choose three.)
Options:
Answer: B, C, D
Explanation: An MDB pool processes each message at least once. Potentially, a message can be
process more than once:
* If an application fails, a transaction rolls back, or the hosting server instance fail during or after the
onMessage() method completes but before the message is acknowledged or committed, the
message will be redelivered and processed again.
* Non-persistent messages are also redelivered in the case of failure, except for the case where the
message's host JMS server shuts down or crashes, in which case the messages are destroyed. To
ensure that a message is processed exactly once, use container-managed transactions so that failures
cause transactional MDB work to rollback and force the message to be redelivered.
Question 27
Options:
Answer: A
Question 28
In order to increase scalability and high availability you are configuring WebLogic clustering with JMS
distributed destinations. Which recommendation will ensure optimal load balancing of the message
processing?
Options:
A- The machines that host the cluster should have similar processing power, disk space, and
memory.
B- The cluster should include at least one configurable server.
C- The cluster should use unicast communication.
D- All servers in the cluster should be assigned to the same WebLogic machine.
Answer: A
Question 29
You have configured automatic service migration for your JTA service within a domain named
mydomain. You find that after the automatic migration completes certain scripts execute
automatically and there is a failure happening in these scripts. Where would you look for these
scripts for error correction by default? (Choose the best answer.)
Options:
A- /user_projects/domains/mydomain/bin/service_migration
B- /user_projects/domains/mydomain/bin/jta-scripts
C- /user_projects/domains/mydomain/bin/servers/
D- /user_projects/domains/mydomain/bin/
Answer: A
Question 30
You intend to introduce ordering in message processing for your JMS destination by creating a
destination key. Which statement is true about the JMS Destination Key configuration? (Choose the
best answer.)
Options:
Answer: A
Explanation: The WebLogic Server Administration Console enables you to configure, modify, target,
and delete destination key resources in a system module.
Question 31
You created a user and group using the WebLogic Server default authentication provider. Where are
these principals stored? (Choose the best answer.)
Options:
Answer: B
Question 32
You are managing a WebLogic domain that has the default built-in diagnostic module configured for
each server in the domain.
You want to capture metrics that are not collected by any of the built-in diagnostic modules.
You want to continue capturing the metrics that are already captured by the existing built-in module.
Options:
A) Clone the built-in module, add now metrics to it, deactivate the existing module, and activate your
new module.
B) Leave the built-in module, create a new module and add metrics to it, and activate your new
module alongside the built-in module.
C) Leave the built-in module, create an external resource descriptor module and add metrics to it,
and activate your new module alongside the built-in module.
D) Remove the built-in module, create an external resource descriptor module and add built-in and
new metrics to it, and activate your new module alongside the built-in module.
Answer: B, C
Explanation: In each domain, you can create multiple diagnostic system modules with distinct
configurations. You can target multiple diagnostic system modules to any given server or cluster.
Note: To configure and use the Instrumentation, Harvester, and Watch and Notification components
at the server level, you must first create a system resource called a diagnostic system module, which
will contain the configurations for all those components. The configuration of diagnostic system
module is defined in a resource descriptor. A resource descriptor can be either configured or
external.
Question 33
Which three considerations do you need to keep in mind while configuring a JMS file store in order to
ensure the highest possible performance? (Choose three.)
Options:
Answer: A, B, D
Question 34
As the WebLogic domain administrator, you have been asked to create a new cluster and to establish
load balancing of JMS destinations across multiple servers for this cluster. Which three configuration
options will ensure load balancing of distributed destinations? (Choose three.)
Options:
Answer: B, D, E
Question 35
Your WebLogic domain consists of deployed applications heavily relying on JMS. Three machines,
each hosting a managed server, are part of a cluster.
In order to ensure the availability of servers and JMS service on those servers, you are considering
the configuration of whole server migration rather than service migration.
Which two statements are prerequisite for whole server migration but not for manual service
migration? (Choose two.)
Options:
Answer: A, C
Question 36
You need to log the JMSMessageID header value for incoming messages.
What is the prefix that you would see for the header values? (Choose the best answer.)
Options:
A- VAL:
B- JMS:
C- ID:
D- NO:
E- MSG:
Answer: C
Question 37
In order to leverage replication and high availability features of the underlying database, you have
configured a JDBC TLOG to persist transaction logs in your database.
However, WebLogic Server cannot successfully connect to your database at start up.
Options:
A- The WebLogic Server instance will start without targeting the data source for your store.
B- The WebLogic Server instance will start without a service for your store.
C- The WebLogic Server instance will start without creating the data source for your store.
D- The WebLogic Server instance will fail to start.
Answer: D
Question 38
Which statement is correct regarding JMS Template configuration? (Choose the best answer.)
Options:
A- Message Priority defined for the Template configuration overrides that specified by the
producer.
B- Message Expiration Policy cannot be set on the template and needs to be configured for
actual destinations that reference the template.
C- JMS Template configuration must include the quota associated with the template.
D- JMS Template configuration must include the message sort order associated with the
template.
Answer: A
Question 39
You are implementing leasing functionality within your environment to ensure exclusive ownership
of a cluster-wide entity. Which type of leasing requires that Node Manager is configured and
running? (Choose the best answer.)
Options:
Answer: C
Explanation: Setting Migration Basis to Consensus leasing means that the member servers maintain
leasing information in-memory, which removes the requirement of having a high-availability
database to use leasing. This version of leasing requires that you use Node Manager to control
servers within the cluster.
Question 40
You have defined Uniform Distributed Destination (UDD) topics targeted to multiple JMS servers.
Which three statements are correct about UDDs? (Choose three.)
Options:
Answer: B, D, E
Question 41
You are under Oracle Linux and you find the process ID of the WebLogic Managed Server Instance:
Which two command-line options can you use to issue a thread dump to examine the server for
stuck threads? (Choose two.)
Options:
Answer: D, E
QUESTION NO: 1
You have a versioned application deployed in your production environment. You have been asked to
troubleshoot why the most recent production redeployment appeared to allow the older version to
retire too quickly.
In this case, the application had active RMI clients, but their subsequent calls were directed to the
newer version immediately rather than waiting for the expected five minutes defined by the
retirement timeout argument. The script command was:
You expected the older version to remain active (when there are active RMI clients) for five minutes
after executing the production redeployment.
Which modification should have been made to this command to ensure the older version remains
active?(Choose the best answer.)
Options:-
Answer: - C
QUESTION NO: 2
In your production environment, you have deployed an application that is accessing a registered Java
EE shared library as well as an application deployment plan. In addition, both the library and the
application use annotations for some of their configuration properties. You are attempting to
understand the current state of the properties that have been used in this [Link] greatest
to least, what is the correct order of precedence that is used by WebLogic Server when applying
configuration properties during deployment? (Choose the best answer.)
Options:-
Answer:- B
QUESTION NO: 3
What happens when these commands are executed? (Choose the best answer.)
Options:-
A. A JMS module named mymodule is created without changing the domain configuration file and it
is enabled on cluster1.
B. A diagnostic module named mymodule is created in the domain configuration file and it is enabled
on cluster1.
C. A diagnostic module named mymodule is created without changing the domain configuration file
and it is enabled on cluster1.
D. A JMS module named mymodule is created in the domain configuration file and it is enabled on
cluster1.
Answer: C
QUESTION NO: 4
Which two objects can be considered potential clients of a Node Manager? (Choose two.)
Options:-
A. an HTTP server
D. an administration server
F. a WLST session
Answer:- D, F
QUESTION NO: 5
What is the correct path within the configuration hierarchy to the MBean that contains the log
rotation parameters for server04? (Choose the best answer.)
Options:-
A. /server04/log
B. /Cluster01/server04/log
C. /Logs/server04
D. /TestDomain/server04/log
E. /Machine02/server04/log
F. /server04/log/rotation
Answer:- F
A rolling upgrade process should be used in WebLogic to ensure minimal service disruption during server upgrades. During a rolling upgrade, it's critical to avoid configuration changes until all servers in the domain have been upgraded since making changes could affect the operational stability of the remaining servers still on the older version. Moreover, the machine hosting the Administration Server must be upgraded first to ensure overall domain management continuity .
Security roles in WebLogic Server are dynamic and conditional, meaning they are computed and granted to users or groups based on specific conditions such as username, group membership, or time of day. In contrast, groups are static. Moreover, security roles can be scoped to specific WebLogic resources within a single application in a WebLogic Server domain, whereas groups are always scoped to an entire WebLogic Server domain .
The 'nmEnroll' command in WLST is used to enroll a home directory with a Node Manager, allowing it to manage the WebLogic Server domain. Precautions include ensuring that WLST is not connected to a Node Manager when invoking this command. This action registers the domain's server instance configuration with the Node Manager, thereby facilitating remote start and stop operations .
A diagnostic image in WebLogic should include comprehensive server state data such as thread dumps, server health, and configuration details. It is preferred by support engineers because it consolidates critical diagnostic information into a single artifact, aiding in efficient problem analysis by providing a holistic view of the server's condition during incidents .
When the Administration Server is unavailable, a Managed Server can start up successfully in Managed Server Independence (MSI) mode. In this mode, the server retrieves its configuration and security files directly instead of contacting the Administration Server, allowing it to operate with previously retrieved information .
Setting the JMS Redelivery Limit in WebLogic influences message delivery integrity by limiting the number of times a message is redelivered if not acknowledged. A setting of zero ensures messages are delivered only once, reducing system retry overhead but requiring robust error handling to prevent message loss. Balancing this limit is key for optimal performance, as too low a limit may lead to message drops, while too high can strain resources due to repeated attempts .
To configure automatic migration of pinned services in WebLogic Server using consensus leasing, you should set the cluster 'Migration Basis' policy to Consensus and ensure that the migratable server is associated with a node manager. This setup allows the cluster to manage consensus leasing information effectively .
Consensus leasing facilitates service migration within a WebLogic cluster by managing service ownership through consensus among cluster members. Setting the appropriate 'Migration Basis' policy to Consensus ensures controlled and automatic service migration, improving service availability and fault tolerance as services can be transitioned smoothly in case of server failures .
To ensure that each message is processed exactly once by a Message Driven Bean (MDB) in WebLogic, you should use container-managed transactions. This setup allows messages to be redelivered if they are not acknowledged, ensuring precise processing .
To diagnose unpredictable server problems using the WebLogic Diagnostic Framework (WLDF), one can configure a WLDF watch to trigger a diagnostic image action when certain thresholds are exceeded, such as the number of requests waiting to execute. This approach is reliable for capturing data relevant to the problem as it automates the diagnostic image capture whenever the specified condition occurs .