0% found this document useful (0 votes)
7 views39 pages

Oracle Prep4sure 1z0-134 v2018-10-11 by Karen 45q

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

1z0-134.exam.

45q

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

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 2
Your WebLogic Server (WLS) environment consists of multiple domains.

Which is a true statement about WLS domains? (Choose the best answer.)

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

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

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

Explanation/Reference:
C: A callback handler used to control the failover and failback within a multi data source must include an implementation of the

https://www.gratisexam.com/
weblogic.jdbc.extensions.ConnectionPoolFailoverCallback 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.

Incorrect Answers:
B: Frequency of these tests is controlled by the Test Frequency Seconds attribute of the multi source. The default value for Test Frequency is 120 seconds, so if
you do not specifically set a value for the option, the multi data source will test disabled data sources every 120 seconds.

Reference: http://docs.oracle.com/cd/E23943_01/web.1111/e13737/jdbc_multidatasources.htm#JDBCA223

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

https://www.gratisexam.com/
C. Database leasing with pre and post migration scripts
D. Synchronous leasing

Correct Answer: AC
Section: (none)
Explanation

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

Reference: https://docs.oracle.com/cd/E13222_01/wls/docs103/cluster/service_migration.html

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

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

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

https://www.gratisexam.com/

A. SRANDBY
B. ACTIVE
C. STUCK
D. RUNNING
E. WAITING
F. ADMIN
G. FAILED

Correct Answer: C
Section: (none)
Explanation

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

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


B. Roles can be scoped to applications and groups are only global.
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

https://www.gratisexam.com/
A Web Module needs specific tuning. The Development team fine tunes the module in the deployment descriptor (weblogic.xml) as follows:

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

https://www.gratisexam.com/
Server Administration Console and in the following descriptors:

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
You are required to configure a Coherence cluster for a WebLogic domain. Review the image below for the architecture of the WebLogic domain.

The configuration represents the following:

Two WebLogic clusters of n number of servers each


One cluster contains an EAR deployment that contains a WAR module and a GAR module
One cluster contains a GAR deployment
Application data flows into the cluster with the EAR deployment and then to the cluster with the standalone GAR deployment

https://www.gratisexam.com/
Based on this configuration, what is the typical configuration of a Coherence cluster for this domain?

A. Single Coherence cluster that includes both WebLogic clusters.


EAR cluster is storage-disabled.
GAR cluster is storage-enabled.
B. Single Coherence cluster that includes both WebLogic clusters/
EAR cluster is storage-enabled.
GAR cluster is storage-disabled.
C. A Coherence cluster for each WebLogic cluster.
EAR and GAR clusters use a replicated topology with storage enabled.
D. Single Coherence cluster that includes both WebLogic clusters.
EAR and standalone GAR clusters are both storage-enabled.

Correct Answer: A
Section: (none)
Explanation

Explanation/Reference:
A Coherence cluster can contain any number of managed Coherence servers. The servers can be standalone managed servers or can be part of a WebLogic
Server cluster that is associated with a Coherence cluster.

* 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.

* 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.

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

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

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

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

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

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

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

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

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

https://www.gratisexam.com/
E: No WLST command ClearPending.

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

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

https://www.gratisexam.com/

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

https://www.gratisexam.com/
machine on which it has never run before, and for that reason the server cannot be started on this new machine.

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

A. Shut down and relaunch the Node Manager.


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?".

https://www.gratisexam.com/
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)
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
You need to ensure that when a failed admin server instance is restarted on another machine with a different IP address, the managed server is able to establish
connection with the newly started instance.

Which technique will ensure that the connection can be made? (Choose the best answer.)

A. Configure a DNS name for AdminServer which maps to multiple IP addresses and specify this DNS name during managed server startup.
B. Specify multiple admin server IP addresses during managed server startup.
C. Use WLST to update the AdminServer IP address for a running managed server.
D. Update the host file for a running managed server instance.

Correct Answer: C

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

Explanation/Reference:
You can change the network configuration of Oracle HTTP Server and Oracle Web Cache by using the following command:

(UNIX) ORACLE_HOME/chgip/scripts/chpiphost.sh
(Windows) ORACLE_HOME\chgip\scripts\chpiphost.bat

The format of the command is:

chgiphost.sh | chgiphost.bat
[-noconfig] [-version] [-help]
[ -oldhost old_host_name -newhost new_host_name]
[-oldip old_IP_address -newip new_IP_address]
-instanceHome Instance_path

Reference: https://docs.oracle.com/cd/E28280_01/core.1111/e10105/host.htm#ASADM10317

QUESTION 26
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])

The Create command creates a configuration bean of the specified type for the current bean.

Incorrect Answers:

https://www.gratisexam.com/
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 27
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 28
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.
E. After testing, the application can be dynamically transitioned to start accepting all client requests.

Correct Answer: BCE

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

https://www.gratisexam.com/
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 30
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 31
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 32
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 33
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

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

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.

Correct Answer: A
Section: (none)
Explanation

Explanation/Reference:
When you shrink a data source, WebLogic Server reduces the number of connections in the pool to the greater of either the initial capacity or the number of
connections currently in use.

Reference: https://docs.oracle.com/cd/E13222_01/wls/docs92/jdbc_admin/manage.html#wp1048129

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

https://www.gratisexam.com/

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 plan.xml will be generated if a plan folder is detected with the deployed application.

Correct Answer: D
Section: (none)
Explanation

Explanation/Reference:
Defining tuning parameters is not required in order to successfully deploy an application. If an application’s deployment descriptors and deployment plan do not
define tuning parameters, WebLogic Server uses default values. The Administration Console automatically uses a deployment plan named plan.xml in the \plan
subdirectory of an application root directory if one is available.

Reference: https://docs.oracle.com/cd/E11035_01/wls100/deployment/config.html

QUESTION 36
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 37
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 38

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

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

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

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

QUESTION 40
<ORACLE_HOME> is the Oracle home directory that you specified when installing WebLogic Server.

What is the file system location and command for starting the Domain Template Builder? (Choose the best answer.)

A. <ORACLE_HOME>\oracle_common\common\bin and config_builder.sh


B. <ORACLE_HOME>\oracle_common\common\bin and temp_builder.sh
C. <ORACLE_HOME>\oracle_common\bin and config_builder.sh
D. <ORACLE_HOME>\oracle_common\bin and temp_builder.sh

Correct Answer: A
Section: (none)
Explanation

Explanation/Reference:
Starting the Domain Template Builder on UNIX Platforms
1. Log in to the target system.
2. Open a command shell.
3. Go to the common/bin subdirectory of the product installation directory. For example:
cd BEA_HOME/wlserver_10.0/common/bin
4. Invoke the following script:
sh config_builder.sh

Reference: https://docs.oracle.com/cd/E13179_01/common/docs102/tempbuild/starttb.html#wp1068226

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

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

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

Incorrect Answers:
C, D: In the external_stage and Nostage mode the Administration Server does not copy deployment files.

Reference: https://docs.oracle.com/cd/E13222_01/wls/docs81/deployment/concepts.html#1001124

QUESTION 42
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:

java weblogic.Deployer –adminurl http://localhost:7001 –user weblogic


-password Welcome1 –redeploy –name myDeployment
-source /myDeployments/myApplication/appX
-retiretimeout 300

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

A. java weblogic.Deployer –adminurl http://localhost:7001 –user weblogic


-password Welcome1 –redeploy –name myDeployment
-source /myDeployments/myApplication/appX
-retiretimeout 300 –rmigraceperiod 300
B. java weblogic.Deployer –adminurl http://localhost:7001 –user weblogic

https://www.gratisexam.com/
-password Welcome1 –redeploy –name myDeployment
-source /myDeployments/myApplication/appX
-retiretimeout 300 -keepsessions
C. java weblogic.Deployer –adminurl http://localhost:7001 –user weblogic
-password Welcome1 –redeploy –name myDeployment
-source /myDeployments/myApplication/appX
-retiretimeout 300 –timeout 300
D. java weblogic.Deployer –adminurl http://localhost:7001 –user weblogic
-password Welcome1 –redeploy –name myDeployment
-source /myDeployments/myApplication/appX
-retiretimeout 300 –remote

Correct Answer: D
Section: (none)
Explanation

Explanation/Reference:
The –remote argument indicates that weblogic.Deployer is not running on the same machine as the Administration Server, and that source paths specified in the
command are valid for the Administration Server machine itself. If you do not use the -remote option, weblogic.Deployer assumes that all source paths are valid
paths on the local machine.

Incorrect Answers:
weblogic.Deployer does not have arguments named rmigraceperiod, -keepsessions, or –timeout.

Reference: https://docs.oracle.com/cd/E13222_01/wls/docs90/deployment/wldeployer.html

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

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

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 44
Examine the domain diagram:

https://www.gratisexam.com/
You are asked to write a WLST scrip 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 oт 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.)

A. connect(‘weblogic’,‘Welcome1’,‘host00.acme.com:7001’)
domainRuntime()
x = getMBean(‘/ServerRuntimes/server04/JVMRuntime/server04’)
print x.getHeapFreeCurrent()
B. connect(‘weblogic’,‘Welcome1’,‘host02.acme.com:7201’)

https://www.gratisexam.com/
serverRuntime()
x = getMBean(‘/JVMRuntime/server04’)
print x.getHeapFreeCurrent()
C. connect(‘weblogic’,‘Welcome1’,‘host00.acme.com:7001’)
serverRuntime()
x = getMBean(‘/JVMRuntime/server04’)
print x.getHeapFreeCurrent()
D. nmConnect(‘weblogic’,‘Welcome1’,‘host02.acme.com:5556’)
serverRuntimes()
x=getMBean(‘/server04/JVMRuntime/server04’)
print x.getHeapFreeCurrent()
E. nmConnect(‘weblogic’,‘Welcome1’,‘host00.acme.com:5556’)
domainRuntime()
x=getMBean(‘/ServerRuntimes/server04/JVMRuntime/server04’)
print x.getHeapFreeCurrent()

Correct Answer: AB
Section: (none)
Explanation

Explanation/Reference:

QUESTION 45
Which two objects can be considered potential clients of a Node Manager? (Choose two.)

A. an administration server
B. a WLST session
C. an HTTP server
D. any other Node Manager
E. a remote JMS client
F. the weblogic.Deployer utility

Correct Answer: AB
Section: (none)
Explanation

Explanation/Reference:
A Node Manager client can be local or remote to the Node Managers with which it communicates. You access either version of Node Manager—the Java version or
the script-based (SSH) version—from the following clients:

https://www.gratisexam.com/
A: an administration server
B: WLST commands and scripts—WLST offline serves as a Node Manager command-line interface that can run in the absence of a running Administration Server.

Reference: https://docs.oracle.com/cd/E28280_01/web.1111/e13740/overview.htm#NODEM119

https://www.gratisexam.com/

https://www.gratisexam.com/

You might also like