1z0-134 v2019-02-05 by Andrew 47q

Download as pdf or txt
Download as pdf or txt
You are on page 1of 39

1z0-134.exam.

47q

Number: 1z0-134
Passing Score: 800
Time Limit: 120 min

https://www.gratisexam.com/

1z0-134

Oracle WebLogic Server 12c: Advanced Administrator II

https://www.gratisexam.com/
Exam A

QUESTION 1
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
Section: (none)
Explanation

Explanation/Reference:
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: http://docs.oracle.com/cd/E13222_01/wls/docs100/wlsmbeanref/core/index.html

QUESTION 2
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.

https://www.gratisexam.com/

Which utility enables me to do this? (Choose the best answer.)

https://www.gratisexam.com/
A. weblogic.store.Compacter
B. weblogic.store.Admin
C. weblogic.store.Reducer
D. weblogic.file.FileUtil

Correct Answer: B
Section: (none)
Explanation

Explanation/Reference:
To open the persistent store administration utility from a Java command line, type the following:

> java weblogic.store.Admin

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

Reference: https://docs.oracle.com/middleware/1212/wls/CNFGD/store.htm#CNFGD275

QUESTION 3
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
Section: (none)
Explanation

Explanation/Reference:
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.

Incorrect Answers:

https://www.gratisexam.com/
B: 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. Usually, you configure a domain to include additional WebLogic Server instances called Managed Servers.

C: A single WLS installation can have multiple domains.

D: By specifying multiple domains in the nodemanager.domains file, you can configure a single, machine-scoped Node Manager process which manages server
instances belonging to multiple WebLogic domains.

E: Each domain requires its own Administration Server for performing management activities.

Reference: https://docs.oracle.com/cd/E12839_01/web.1111/e13716/understand_domains.htm#DOMCF116

QUESTION 4
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
Section: (none)
Explanation

https://www.gratisexam.com/
Explanation/Reference:
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.

Reference: http://docs.oracle.com/cd/E12839_01/web.1111/e13740/overview.htm#NODEM113

QUESTION 5
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 in order to lift this restriction? (Choose the best answer.)

A. Topic > Monitoring > Durable Subscribers


B. Connection Factory > Configuration > Client
C. Topic > Configuration > Thresholds and Quotas
D. Topic > Configuration > Overrides
E. Topic > Configuration > Durable Subscribers
F. JMS Server > Configuration > Durable Subscribers

Correct Answer: B
Section: (none)
Explanation

Explanation/Reference:
You can find help on Client ID Policy configuration through the following path:

OTN Home > Oracle WebLogic Server 12.1.1.0 Documentation > Administration Console Online Help > JMS Connection Factory: Configuration: Client

Reference: http://docs.oracle.com/cd/E24329_01/apirefs.1211/e24401/pagehelp/JMSjmsconnectionjmsconnectionfactoryconfigclientparamstitle.html

QUESTION 6
Examine the domain diagram:

https://www.gratisexam.com/
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
Section: (none)
Explanation

https://www.gratisexam.com/
Explanation/Reference:

QUESTION 7
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
Section: (none)
Explanation

Explanation/Reference:
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.

Reference: https://docs.oracle.com/cd/E12839_01/web.1111/e13709/migration.htm#CLUST285

QUESTION 8
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

https://www.gratisexam.com/
Section: (none)
Explanation

Explanation/Reference:
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.

Incorrect Answers:
A: With CLIENT_ACKNOWLEDGE the Session object acknowledges receipt of a message once the receiving application method has returned from processing it.

C: With DUPS_OK_ACKNOWLEDGE the Session object acknowledges receipt of a message once the receiving application method has returned from processing it;
duplicate acknowledges are permitted.

D: There is no acknowledge mode named DEFAULT_ACKNOWLEDGE.

Reference: http://docs.oracle.com/cd/E12840_01/wls/docs103/jms/fund.html

QUESTION 9
You created a script to monitor your WebLogic Server WLS Execute Thread:

Here is a message in your ExecuteThread.log file:

What is the value of xxxx if the thread has been running a request for twenty minutes, assuming a default configuration?

A. SRANDBY

https://www.gratisexam.com/
B. ACTIVE
C. STUCK
D. RUNNING
E. WAITING
F. ADMIN
G. FAILED

Correct Answer: C
Section: (none)
Explanation

Explanation/Reference:
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: 'weblogic.kernel.Default (self-tuning)' id=73 idx=0x128 nid=13410 prio=1 alive, in native, daemon

Reference: https://blogs.oracle.com/WebLogicServer/entry/analyzing_a_stuck_weblogic_execute

QUESTION 10
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.)

A. Back up the contents of your domain.


B. Use pack and unpack to upgrade each of the servers in the machine.
C. Shut down the servers in a single machine.
D. Repeat the process for all machines in the domain.
E. Restart the servers in the machine.
F. Repeat the process for all domains in the machine.
G. Upgrade the servers in the machine.

Correct Answer: ACDEG


Section: (none)
Explanation

Explanation/Reference:
A: Before you begin the upgrade process, make sure that you take any necessary precautions such as:
* Back up your applications, database schema, other application data, and domains.

https://www.gratisexam.com/
* If required, obtain latest third party plug-ins or components that are compatible with required non-Oracle components. For example, Apache Web Server libraries.

CGED: The rolling upgrade process includes stopping the Administration Server, installing the upgrade, restarting the Administration Server, and then doing the
same for each Managed Server in the cluster (machine).

Reference: http://docs.oracle.com/cd/E14571_01/web.1111/e13754/rolling_upgrade.htm#WLUPG268

QUESTION 11
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.)

A. Point to Point messaging


B. Publish Subscribe messaging
C. Datagram messaging
D. Persistent messaging

Correct Answer: C
Section: (none)
Explanation

Explanation/Reference:
Incorrect Answers:
A, B: JMS supports two messaging models: point-to-point (PTP) and publish/subscribe (pub/sub).

D: As per the “Message Delivery Mode” section of the JMS Specification, messages can be specified as persistent or non-persistent.

Reference: http://docs.oracle.com/cd/E12840_01/wls/docs103/jms/fund.html

QUESTION 12
What are two differences between a group and a role? (Choose two.)

A. Groups are static and roles are dynamic and conditional.

https://www.gratisexam.com/

B. Roles can be scoped to applications and groups are only global.

https://www.gratisexam.com/
C. Roles are static and groups are dynamic and conditional.
D. Groups can be scoped to applications and roles are only global.
E. Groups can contain roles but roles cannot contain groups.

Correct Answer: AB
Section: (none)
Explanation

Explanation/Reference:
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 user name, 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).

Reference: https://docs.oracle.com/cd/E13222_01/wls/docs81/secwlres/secroles.html

QUESTION 13
A Web Module needs specific tuning. The Development team fine tunes the module in the deployment descriptor (weblogic.xml) as follows:

https://www.gratisexam.com/
Which two are true? (Choose two.)

A. MyWorkManager is an application-scoped Work Manager.


B. Add the line <wl-dispatch-policy>MyWorkManager</wl-dispatch-policy> before <work-manager> tags in weblogic.xml to make the Web
Module use the Work Manager MyWorkManager.
C. MyWorkManager is a Global Work Manager.
D. MyWorkManager is a Default Work Manager.
E. Once the application is deployed and started on a Managed WebLogic Server, MyWorkManager will appear under Environment/Work Managers on the
WebLogic Console.

Correct Answer: AB
Section: (none)
Explanation

Explanation/Reference:
A: You can create Work Managers that are available only to a specific application or module. You can define application-scoped Work Managers in the WebLogic
Server Administration Console and in the following descriptors:

https://www.gratisexam.com/
weblogic-application.xml
weblogic-ejb-jar.xml
weblogic.xml

B: A method is assigned to a Work Manager, using the <dispatch-policy> element in the deployment descriptor.

Incorrect Answers:
E: Environment/Work Managers displays the Global work managers.

Reference: https://docs.oracle.com/cd/E24329_01/web.1211/e24432/self_tuned.htm#CNFGD129

QUESTION 14
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
Section: (none)
Explanation

Explanation/Reference:
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.

https://www.gratisexam.com/
Reference: http://ora-soa.blogspot.se/2012/10/weblogic-setting-wrong-protocol-in-wsdl.html

QUESTION 15
You successfully configured a new dynamic cluster but haven’t launched any of the dynamic servers. You want to change the configuration for one specific server.

Which parameter can you modify for that server before starting up the dynamic clustered servers for the first time?

A. listen port number of individual dynamic servers


B. machine name that hosts a dynamic server
C. dynamic server name
D. replication groups
E. No parameters can be modified.

Correct Answer: E
Section: (none)
Explanation

Explanation/Reference:
A dynamic server is a server instance that has not been individually configured but instead gets its configuration from a server template.

Reference: http://docs.oracle.com/middleware/1212/wls/WLACH/taskhelp/clusters/CreateDynamicClusters.html

QUESTION 16
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
Section: (none)
Explanation

Explanation/Reference:
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,

https://www.gratisexam.com/
JMSExpiration is set to 0, which means the message never expires.

Reference: https://docs.oracle.com/cd/E13222_01/wls/docs90/jms/fund.html

QUESTION 17
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.)

A. the Harvester with a metric collection definition


B. a Watch on a metric collection definition
C. the MBean Collector with a metric collection definition
D. the Archiver with a metric collection definition

Correct Answer: D
Section: (none)
Explanation

Explanation/Reference:
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.

Incorrect Answers:
A: The Harvester component of the WebLogic Diagnostics Framework (WLDF) gathers metrics from attributes on qualified MBeans that are instantiated in a
running server. The Harvester can collect metrics from WebLogic Server MBeans and from custom MBeans.

B: The Watch and Notification component of the WebLogic Diagnostics Framework (WLDF) provides the means for monitoring server and application states and
then sending notifications based on criteria set in the watches.

Reference: https://docs.oracle.com/cd/E24329_01/web.1211/e24426/architecture.htm#WLDFC124

QUESTION 18

https://www.gratisexam.com/
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
Section: (none)
Explanation

Explanation/Reference:
JMSDeliveryMode specifies PERSISTENT or NON_PERSISTENT messaging.

Reference: http://docs.oracle.com/cd/E12840_01/wls/docs103/jms/fund.html

QUESTION 19
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.)

A. Store-and-Forward agents cannot be targeted to a cluster (dynamic or mixed).


B. WLST in offline mode does not support the get and set commands to target JMS servers to a dynamic cluster.
C. A sub-deployment cannot be targeted to a duster.
D. Targeting a messaging bridge to a dynamic cluster is not supported.

Correct Answer: AD
Section: (none)
Explanation

Explanation/Reference:
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.

https://www.gratisexam.com/
Incorrect Answers:
B: WLST Offline does not support the assign command to target JMS servers to a dynamic cluster. Use the get and set command.

C: Module subdeployment targets can reference clustered JMS servers. Using a cluster targeted JMS server in a subdeployment eliminates the need to individually
enumerate individual JMS servers in the subdeployment, which is particularly useful for uniform distributed destination deployment.

Reference: https://docs.oracle.com/middleware/1213/wls/JMSAD/dynamic_messaging.htm#JMSAD685

QUESTION 20
You are asked to create a WLST script to make live updates to a domain that has its administration server running. You want your script to mimic the actions of a
WebLogic administrator by using the administration console and clicking the “Lock and Edit” button.

What commands would accomplish this?

A. edit() followed by startEdit()


B. lockDomain() followed by edit()
C. domainConfig() followed by cd(‘Edit’)
D. getLock(0) followed by edit()
E. clearPending() followed by lockDomain()
F. lockDomain() followed by editDomain()

Correct Answer: A
Section: (none)
Explanation

Explanation/Reference:
Not edit() navigates to the last MBean to which you navigated in the edit configuration MBean hierarchy or to the root of the hierarchy, DomainMBean.

StartEdit() starts a configuration edit session on behalf of the currently connected user. You must navigate to the edit configuration MBean hierarchy using the edit
command before issuing this command.

Note: Click the Lock & Edit button to lock the configuration edit hierarchy for the domain. This enables you to make changes using the Administration Console.

Incorrect Answers:
B, F: No WLST command lockDomain().
D: No WLST command getLock().
E: No WLST command ClearPending.

Reference: https://docs.oracle.com/cd/E13222_01/wls/docs90/config_scripting/reference.html#1159808

https://www.gratisexam.com/
QUESTION 21
We find the JMSRedelivered header set for a particular message on the receiver.

In which two scenarios is 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.

Correct Answer: AB
Section: (none)
Explanation

Explanation/Reference:
A: The JMSRedelivered property specifies a flag set when a message is redelivered because no acknowledge was received. This flag is of interest to a receiving
application.
If set, the flag indicates that JMS may have delivered the message previously because one of the following is true:
* The application has already received the message, but did not acknowledge it.
* The session's recover() method was called to restart the session beginning after the last acknowledged message.

Reference: http://docs.oracle.com/cd/E12840_01/wls/docs103/jms/fund.html

QUESTION 22
Poor ventilation and cooling in and around the machine that hosts your administration server and a clustered managed server causes a local hard drive failure and
thus both servers crash as well.

This is the first time this crash has occurred in production but an automatic Whole Server Migration kicks in as expected. The clustered server migrates to a
machine on which it has never run before, and for that reason the server cannot be started on this new machine.

https://www.gratisexam.com/

Which action could have helped to launch this migrated clustered server? (Choose the best answer.)

A. Shut down and relaunch the Node Manager.

https://www.gratisexam.com/
B. Ensure that the Administration Server is up when the server migration is being performed.
C. First restart the Administration Server, remove this managed server from the cluster, restart it manually, and then target it back to the cluster.
D. Use a shared disk/NFS for all the migratable servers in the cluster.
E. Copy the Node Manager security files to the new machine that hosts your migrated server.

Correct Answer: D
Section: (none)
Explanation

Explanation/Reference:
There is no built-in mechanism for transferring files that a server depends on between machines. Using a disk that is accessible from all machines is the preferred
way to ensure file availability. If you cannot share disks between servers, you must ensure that the contents of domain_dir/bin are copied to each machine.

Reference: http://docs.oracle.com/cd/E17904_01/web.1111/e13709/migration.htm#CLUST271

QUESTION 23
You are configuring the principals needed to fulfill the security requirements of an application within a sandbox environment that uses the WebLogic Server-
embedded LDAP server.

The given security requirements provided have outlined the following facts about some test principals:

https://www.gratisexam.com/
One security requirement states that internal patient data can be viewed only by physicians who are employees.

What is an appropriate way to fulfill this security requirement from a principal perspective using the provided information?

A. Create an authorization policy that grants access if a user is a member of the physicians group and their employee attribute is true,
bypassing the use of a role entirely.
B. Create an ACL that grants access if a user is a member of the physicians group and their employee attribute is true,
bypassing the use of a role entirely.
C. Create authorization policies for individual users whose employee attribute is true creating a constraint-only model,
bypassing the use of a role entirely.
D. Create an authorization policy that denies access if a user is a member of the physicians group and their employee attribute is false,
bypassing the use of a role entirely.

Correct Answer: B
Section: (none)
Explanation

Explanation/Reference:
Security policies replace access control lists (ACLs) and answer the question "Who has access to a WebLogic resource?".

You assign security policies to any of the defined WebLogic resources (for example, an EJB resource or a JNDI resource) or to attributes or operations of a
particular instance of a WebLogic resource (an EJB method or a servlet within a Web application). If you assign a security policy to a type of WebLogic resource, all
new instances of that resource inherit that security policy. Security policies assigned to individual resources or attributes override security policies assigned to a type
of WebLogic resource.

Reference: https://docs.oracle.com/cd/E24329_01/web.1211/e24446/security.htm#INTRO243

QUESTION 24
What does the WLST command pwd() do?

A. Displays the current location in the configuration or runtime bean hierarchy.


B. Displays the location in the file system where the current WLST session was launched.
C. Initiates an operation to change the current WLST user’s password.
D. Prints the name of the current domain.
E. Prints the name of the current server.

Correct Answer: A
Section: (none)

https://www.gratisexam.com/
Explanation

Explanation/Reference:
The pwd command displays the current location in the configuration or runtime bean hierarchy.

This command is useful when you have turned off the prompt display of the path information using the prompt command.

Reference: https://docs.oracle.com/cd/E13222_01/wls/docs92/config_scripting/reference.html#wp1175219

QUESTION 25
For some reason, servers in your domain are failing. The host machines are pingable and the WebLogic JVM processes are running but the getState() method
on the ServerRuntimeMBean reports FAILED.

In the future, when this happens, you want these failed servers to be shut down and then restarted automatically without human intervention. At the same time, you
want to constrain how much time will be spent restarting those servers and how many restart attempts will be made.

Pick the two options that would help with this situation. (Choose two.)

A. For each server (or cluster), set RestartInterval to an appropriate positive integer.
B. When starting Node Manager, use the WLST nmStart command and pass in a WLST properties object with RestartMax set to an appropriate positive
integer.
C. Start the servers by executing the restartManagedWebLogic.sh script in the domain’s /bin directory.
D. Make sure all managed servers are members of a cluster with ReplicationGroupsEnabled set to true.

Correct Answer: BC
Section: (none)
Explanation

Explanation/Reference:
B: The nmStart command identifies the server instance to start. You define the number of restarts by setting the RestartMax property in a Node Manager
startup.properties file. If you use the nmStart command with WLST connected to a Node Manager, Node Manager supports monitoring, stopping, and restarting the
Administration Server.

C: The script named startManagedWebLogic can be used to start Managed Servers. On a UNIX system it is located in located in DOMAIN_NAME/bin/
startManagedWebLogic.sh.

Reference: https://docs.oracle.com/cd/E13222_01/wls/docs90/server_start/overview.html

QUESTION 26
Which are three valid actions of the Post Domain Creation process? (Choose three.)

https://www.gratisexam.com/
A. Import LDAP data from XML files.
B. Run pack and unpack commands for managed servers on remote machines.
C. Run any SQL scripts to generate database artifacts.
D. Use WLST to run the postdomain.py script.
E. Run the root.sh script.
F. Assign DNS names to all the hosts.
G. Run the RCU utility for each hosted application.

Correct Answer: CEG


Section: (none)
Explanation

Explanation/Reference:
E: Following installation of your product, you need to run the root.sh script as the root user. The root.sh script detects settings of environment variables and enables
you to enter the full path of the local bin directory.

G: RCU is a Fusion Middleware tool which creates database-based repositories. Oracle Data Service Integrator does not have a repository by itself, but it relies on
some Fusion Middleware schemas for WebLogic Server and JCF when using a full domain.

Reference: http://www.oracle.com/technetwork/database/availability/maa-fmwsharedstoragebestpractices-402094.pdf

QUESTION 27
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.

Correct Answer: ABC


Section: (none)
Explanation

Explanation/Reference:
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])

https://www.gratisexam.com/
The Create command creates a configuration bean of the specified type for the current bean.

Incorrect Answers:
D: The create command returns a stub for the newly created configuration bean. It can't create a runtime management bean.

E: The create command returns a stub for the newly created configuration bean.

Reference: https://docs.oracle.com/cd/E13222_01/wls/docs92/config_scripting/reference.html#wp1081543

QUESTION 28
Some of the messages entering a JMS queue are expiring and are being removed from the queue. You need better insight regarding these expired messages.

Which mechanism helps achieve this? (Choose the best answer.)

A. Set the “Log Expired Message” attribute to true for the queue.
B. Associate an ExpirationEventHandler object for the queue.
C. Enable Message Life Cycle logging for the JMS Queue.
D. Configure an Expiration Event Handler for the JMS Queue which logs the expired message properties.

Correct Answer: B
Section: (none)
Explanation

Explanation/Reference:
The Expiration Policy log option removes expired messages from the system and writes an entry to the server log file indicating that the messages have been
removed from the system. The actual information that is logged is defined by the Expiration Logging Policy.

Reference: https://docs.oracle.com/cd/E13222_01/wls/docs81/ConsoleHelp/domain_jmsqueue_config_expiration-policy.html

QUESTION 29
Even though your company has a thorough procedure for testing applications in a pre-production environment prior to production deployment, you have decided to
conduct additional testing of a particular application after it is deployed. You choose to deploy the application in administration mode.

Which three statements are true? (Choose three.)

A. The application deployment must use the –redeploy option using a unique version string.
B. You must configure an administration port for the entire domain, or an administration channel for the targeted server.
C. The application must first be distributed to the targeted server prior to starting it in administration mode.
D. The application cannot have any dependencies on any shared Java EE libraries.

https://www.gratisexam.com/
E. After testing, the application can be dynamically transitioned to start accepting all client requests.

Correct Answer: BCE


Section: (none)
Explanation

Explanation/Reference:
B: Distributing an application copies deployment files to target servers and places the application in a prepared state. You can then start the application in
Administration mode, which restricts access to the application to a configured Administration channel so you can perform final testing without opening the
application to external client connections or disrupting connected clients.

C: Distributing an application prepares it for deployment by copying its deployment files to all target servers and validating it. After you distribute an application, you
can start it in Administration mode, which restricts access to the application to a configured Administration channel and allows you to distribute the application to a
production environment (or distribute a new version of an application) without opening the application to external client connections.

E: While in Administration mode, you can connect to an application only via a configured Administration channel. This allows you to perform final (“sanity”) checking
of the application directly in the production environment without disrupting clients. After performing final testing, you can either undeploy the application to make
further changes, or start the application to make it generally available to clients.

Incorrect Answers:
A: After performing final testing, you can either undeploy the application to make further changes, or start the application in Production mode to make it generally
available to clients.

Reference: http://docs.oracle.com/cd/E12840_01/wls/docs103/deployment/deploy.html#wp1023324

QUESTION 30
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? (Choose the best answer.)

A. Configuration Wizard
B. Domain Template Builder
C. pack/unpack
D. Enterprise Manager

Correct Answer: D
Section: (none)
Explanation

Explanation/Reference:

https://www.gratisexam.com/
Reference: http://docs.oracle.com/cd/E24628_01/install.121/e24089/appdx_standby_oms.htm#EMADV13364

QUESTION 31
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?

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.

Correct Answer: A
Section: (none)
Explanation

Explanation/Reference:
A uniform distributed destination (UDD), compared to weighted Distributed Destinations, greatly simplifies the management and development of distributed
destination applications.Using uniform distributed destinations, you no longer need to create or designate destination members, but instead rely on WebLogic
Server to uniformly create the necessary members on the JMS servers to which a JMS module is targeted. This feature ensures the consistent configuration of all
distributed destination parameters, particularly in regards to weighting, security, persistence, paging, and quotas.

Incorrect Answers:
C: The benefits of multicasting include:
Near real-time delivery of messages to host group.
High scalability due to the reduction in the amount of resources required by the JMS server to deliver messages to topic subscribers in a cluster.

D: A distributed destination is a set of destinations (queues or topics) that are accessible as a single, logical destination to a client. A distributed destination has the
following characteristics:

* It is referenced by its own JNDI name.


* Members of the set are usually distributed across multiple servers within a cluster, with each destination member belonging to a separate JMS server

Reference: https://docs.oracle.com/cd/E11035_01/wls100/jms_admin/advance_config.html#wp1079177

QUESTION 32
Examine the domain diagram:

https://www.gratisexam.com/
Assume all servers are up and running and you have just started an offline WLST interactive session. Assume further that the username/password “weblogic/
Welcome1” maps to a valid administrator.

You type two lines of WLST code:

connect(‘weblogic’,‘Welcome1’,‘host02.acme.com:7101’)
print cmo.getType() + ‘:’ + cmo.getName()

What will be printed? (Choose the best answer.)

A. Domain:TestDomain
B. DomainRuntime:server03
C. Server:server03
D. Machine:machine02

https://www.gratisexam.com/
E. Session:weblogic

Correct Answer: A
Section: (none)
Explanation

Explanation/Reference:
Example: The following example displays information about the current MBean, cmo.

wls:/mydomain/serverConfig> cmo.getType()
‘Domain’

Reference: https://docs.oracle.com/cd/E13222_01/wls/docs92/config_scripting/reference.html

QUESTION 33
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.)

A. when the onMessaqe() method of the MDB throws a Java error


B. when the transaction the MDB participates in eventually fails and rolls back
C. when the onMessage() method fails to acknowledge the reception of the message
D. when messages are not being sent as part of a transaction
E. when messages are non-persistent

Correct Answer: BCD


Section: (none)
Explanation

Explanation/Reference:
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.

https://www.gratisexam.com/
Reference: https://docs.oracle.com/cd/E13222_01/wls/docs81/ejb/message_beans.html

QUESTION 34
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 annotations for some of their configuration properties. You are attempting to understand the current state of the
properties that have been used in this deployment.

From 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.)

A. Deployment Plan, Application descriptors, Library descriptors, Application annotations, Library annotations
B. Deployment Plan, Application annotations, Library annotations, Application descriptors, Library descriptors
C. Deployment Plan, Library descriptors, Application descriptors, Library annotations, Application annotations
D. Deployment Plan, Application descriptors, Application annotations, Library descriptors, Library annotations
E. Deployment Plan, Library descriptors, Library annotations, Application descriptors, Application annotations

Correct Answer: D
Section: (none)
Explanation

Explanation/Reference:
The elements of the Enterprise application's descriptor itself have precedence over all elements in the library descriptors.

The deployment descriptor can still override values defined in the annotation.

Incorrect Answers:
C, E: The elements of the Enterprise application's descriptor itself have precedence over all elements in the library descriptors.

Reference: http://docs.oracle.com/cd/E21764_01/web.1111/e13706/libraries.htm#WLPRG355

QUESTION 35
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.)

A. Set the weblogic.store.FileSize to 1GB.


B. Set the weblogic.store.MaxFileSize to 1GB.
C. Set the weblogic.store.TotalFileSize to 1GB.
D. The file size limit must be configured at the operating system level.

https://www.gratisexam.com/
Correct Answer: D
Section: (none)
Explanation

Explanation/Reference:
Reference: http://docs.oracle.com/cd/E14571_01/web.1111/e13814/storetune.htm#CACGJAHI

QUESTION 36
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. config.xml
B. AdminServer.log
C. SerializedSystemIni.dat
D. access.log
E. MSI.xml

Correct Answer: AC
Section: (none)
Explanation

Explanation/Reference:
In Managed Server Independence mode, a Managed Server looks in its root directory for the following files:
* msi-config.xml—a replica of the domain's config.xml.(Even if the domain's configuration file is named something other than config.xml, a Managed Server in MSI
mode always looks for a configuration file named msi-config.xml.)
* SerializedSystemIni.dat
* boot.properties—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

Reference: https://docs.oracle.com/cd/E13222_01/wls/docs81/adminguide/failures.html

QUESTION 37
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.

https://www.gratisexam.com/
What WLDF data does the support engineer request from you? (Choose the best answer.)

A. Diagnostic image snapshot


B. Java Flight Recording of the JVM
C. Instrumentation log
D. Specific harvested metrics

Correct Answer: A
Section: (none)
Explanation

Explanation/Reference:
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.

Reference: https://docs.oracle.com/middleware/1212/core/ASADM/diagnostics.htm#ASADM11145

QUESTION 38
Review the diagram below. It depicts the following:

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
An application deployed on cluster 1 that is configured to use Coherence*Web
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

https://www.gratisexam.com/
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.)

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.

Correct Answer: A
Section: (none)
Explanation

Explanation/Reference:
Reference: https://docs.oracle.com/cd/E15357_01/coh.360/e15829/cweb_wls.htm#COHCW279

https://www.gratisexam.com/
QUESTION 39
You are creating a Domain Template to simplify the process of deploying a domain across multiple hosts.

Which five types of information can be included in a Domain Template? (Choose five.)

A. domain configuration, those included in the config.xml file


B. Java Enterprise Edition (Java EE) applications and shared libraries
C. Windows and UNIX server start scripts
D. Windows Start menu entries
E. custom folders and files
F. LDAP data
G. JTA log
H. e-mail notification settings

Correct Answer: ABCDE


Section: (none)
Explanation

Explanation/Reference:
A: config.xml and any JDBC and JMS resources defined in config.xml are not displayed in the Current Template View pane by default because the Domain
Template Builder automatically includes them in the template when creating the template.
B: The Add or Omit Applications screen is displayed only if applications are included in the template or domain that you selected.
C: When you are creating a template, you want the scripts and files that you are packaging with your template to be free of local domain environment settings and
ready for use by the Configuration Wizard. The Domain Template Builder automatically updates any standard scripts included in a template (such as start scripts)
by replacing hard-coded values for various domain environment settings with replacement variables.
D: The Specify Start Menu Entries screen prompts you to create items to be added to the Windows Start menu.
E: By default, the Domain Template Builder includes files from the WebLogic domain or template you specified as the source for the new template. If you selected a
domain as the source for your new template, some files and directories are included automatically.

Reference: http://docs.oracle.com/cd/E21764_01/web.1111/e14139/tempbuild.htm#WLDTB110

QUESTION 40
You are tasked with creating an Extension Template for an existing domain.

What are three options that are presented during the extension creation process? (Choose three.)

A. Use Domain as a Source


B. Use Template as a Source
C. Scripts and Files

https://www.gratisexam.com/
D. SQL Script Files
E. Company Name
F. Revision Number
G. Creation Date
H. Operating System requirement

Correct Answer: ABD


Section: (none)
Explanation

Explanation/Reference:
AB: The Select a Template Configuration Source window prompts you to choose the application template or domain directory from which you want to create an
extension template.

D: The Import SQL Scripts window prompts you to add SQL scripts for each database that you expect to be used with the domains created from this template.

Reference: https://docs.oracle.com/cd/E13196_01/platform/docs81/confgwiz/appbuild.html

QUESTION 41
What is the file extension for a domain extension template? (Choose the best answer.)

A. .jar
B. .zip
C. .ext
D. .tpl
E. .war
F. .ear

Correct Answer: A
Section: (none)
Explanation

Explanation/Reference:
The WebLogic Server Default Domain Extension Template filename is wls_default.jar. It extends the Basic WebLogic Server domain with a web application
designed to guide new users through an introduction to WebLogic Server.

Reference: https://docs.oracle.com/cd/E13179_01/common/docs102/tempref/tempref.html#wp1215064

QUESTION 42

https://www.gratisexam.com/
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.)

A. as an EAR module on storage-disabled nodes and standalone on storage-enabled nodes


B. as an EAR module on storage-enabled nodes and standalone on storage-disabled nodes
C. within a WAR on storage-disabled nodes and within an EAR on storage-enabled nodes
D. within a WAR on storage-enabled nodes and within an EAR on storage-disabled nodes

Correct Answer: A
Section: (none)
Explanation

Explanation/Reference:
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.

Reference: https://docs.oracle.com/middleware/1212/wls/CLUST/coherence.htm#CLUST629

QUESTION 43
Examine the domain diagram:

https://www.gratisexam.com/
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.)

A. cd(‘/Machines/machine02’)
x = cmo
B. x = getMBean(“/Machines/machine02”)
C. x = cmo.getRef(‘/Machines/machine02’)
D. getRef(“/Machines/machine02”)
x = cmo.currentObj()
E. cmo.getMBean(‘/Machines/machine02’)
x = cmo.currObj()
F. cd(‘/Machines/machine02’)
x = getRef(cmo)

https://www.gratisexam.com/
G. x = getConfiguration(‘/Machines/machine02’)

Correct Answer: AB
Section: (none)
Explanation

Explanation/Reference:
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

B: wls:/mydomain/edit !> bean=getMBean('Servers/myserver/WebServer/myserver')


wls:/mydomain/edit !> print bean
[MBeanServerInvocationHandler]mydomain:Name=myserver,Type=WebServer,Server=myserver

Reference: https://docs.oracle.com/cd/E13222_01/wls/docs100/config_scripting/nav_edit.html

QUESTION 44
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.)

A. bin directory
B. lib directory
C. servers directory
D. common directory
E. logs directory
F. replication directory

Correct Answer: AB
Section: (none)
Explanation

Explanation/Reference:
If you selected a domain as the source for your new template, then the bin and lib directories are included by default:

Reference: http://docs.oracle.com/cd/E21764_01/web.1111/e14139/tempbuild.htm#WLDTB114

QUESTION 45
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

https://www.gratisexam.com/
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

Correct Answer: A
Section: (none)
Explanation

Explanation/Reference:
Incorrect Answers:
B: Production redeployment only supports HTTP clients and RMI clients.
C, D: Enterprise Applications can contain any of the supported Java EE module types. Enterprise Applications can also include application-scoped JMS and JDBC
modules.

Reference: https://docs.oracle.com/cd/E13222_01/wls/docs100/programming/versioning.html

QUESTION 46
You are managing a WebLogic domain that has the default built-in diagnostic module configured for each server in the domain.
You have the following requirements:
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.
You want your configuration to persist after the server is restarted.

What are two approaches you can apply to achieve this result? (Choose two.)

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.

Correct Answer: BC
Section: (none)
Explanation

https://www.gratisexam.com/
Explanation/Reference:
In a given 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.

Reference: https://docs.oracle.com/middleware/1213/wls/WLDFC/understand_wldf_config.htm#WLDFC139

QUESTION 47
In order to leverage replication and high availability features of your back-end database, among other benefits, you are configuring a JDBC TLOG store to persist
transaction logs.

Since something went wrong during the setup of the TLOG, you are reviewing the configuration considerations for TLOG.

Which two guidelines are true for configuring JDBC TLOG stores? (Choose two.)

A. Only one JDBC TLOG store can be configured per WebLogic Server.
B. JDBC TLOG stores should only be configured for RAC databases.
C. Only globally-scoped (not application-scoped) data sources can be targeted to a JDBC TLOG store.
D. Multiple WebLogic Servers can share the same JDBC TLOG store.

Correct Answer: AC
Section: (none)
Explanation

Explanation/Reference:
A: Only one JDBC TLOG store can be configured per WebLogic Server. Conversely, multiple WebLogic Servers can not share a JDBC TLOG store.
C: Only globally-scoped (not application-scoped) data sources can be targeted to a JDBC TLOG store.

Reference: https://docs.oracle.com/cd/E24329_01/web.1211/e24432/store.htm#CNFGD290

https://www.gratisexam.com/

https://www.gratisexam.com/
https://www.gratisexam.com/

You might also like