1z0-134 Sample Questions & Answers
Spans WLST scripting and JMX tooling tied for the top weight with deployment strategies, plus disaster recovery, Coherence, clustering types, security realms, SSL setup, domain templates, rolling upgrades, work managers, data sources, and JMS messaging.
Launch the full 1z0-134 simulator →Showing 18 of 37 free samples.
- Question 1Advanced
WebLogic Scripting Tool (WLST) & JMX · Adding a Server to a Cluster
Case Study: FinCorp Global
Part 2: Automation
The operations team needs a WLST script to automate the creation of a new Managed Server and add it to the existing 'BankingCluster'. The script must handle the case where the server might already exist.
Below is a snippet of the script:
connect('weblogic', 'password', 't3://adminhost:7001') edit() startEdit() cd('/') if getMBean('Servers/NewServer') is None: cmo.createServer('NewServer') # MISSING CODE BLOCK print 'Server created' else: print 'Server exists' activate()Which code block correctly assigns the new server to the cluster?
Show answer & explanation
Correct answer: A
In WLST online mode, after creating the server MBean, you navigate to it and set the Cluster attribute. The
setClustermethod typically requires the actual Cluster MBean object, which is retrieved viagetMBean. - Question 2Intermediate
WebLogic Scripting Tool (WLST) & JMX · Connecting to, configuring, and monitoring a Server
You are writing a WLST script to monitor the heap usage of a specific Managed Server. You are currently connected to the Administration Server.
Which MBean hierarchy must you navigate to access the runtime metrics of a Managed Server named 'MS1'?
Show answer & explanation
Correct answer: A
When connected to the Admin Server, the
domainRuntime()tree aggregates metrics from all servers. You navigate toServerRuntimes, select the specific server instance (MS1), and then theJVMRuntimeMBean to get heap statistics. - Question 3Intermediate
WebLogic Scripting Tool (WLST) & JMX · Managing passwords
In a WLST script, you need to encrypt a database password before setting it in a Data Source configuration.
Which command or method provides this functionality?
Show answer & explanation
Correct answer: B
The
encrypt()command in WLST takes a clear text string and returns the encrypted string using the domain's salt/key, suitable for use in configuration files. - Question 4Beginner
WebLogic Scripting Tool (WLST) & JMX · Record scripts using the WLST administration console
You want to record a WLST script based on your actions in the Administration Console to learn the correct MBean navigation and attribute names.
Where in the Administration Console do you enable this feature?
Show answer & explanation
Correct answer: D
The WebLogic Administration Console features a 'Record' button in the top toolbar. When clicked, it starts recording all configuration changes made in the UI to a file.
- Question 5Intermediate
Transport Layer Security · Describe SSL concepts as they relate to WLS, including: one-way and two-way SSL handshakes
You are configuring Two-Way SSL (Client Certificate Authentication) for a WebLogic Server. You have imported the server's identity into the Identity Keystore.
What additional step is strictly required to allow the server to validate client certificates?
Show answer & explanation
Correct answer: A
For Two-Way SSL, the server must trust the issuer of the client's certificate. This is done by importing the Client CA cert into the server's Trust Keystore. Additionally, the SSL behavior must be set to 'Request and Enforce' client certificates.
- Question 6Intermediate
Transport Layer Security · Configure WebLogic SSL with the following architectures: Hardware Load Balancers
A WebLogic Server is behind a hardware load balancer (LBR). The LBR terminates SSL and forwards requests to WebLogic over HTTP. However, the application generates self-referential links using the 'http' protocol instead of 'https', causing browser warnings.
Which configuration setting on the WebLogic Server resolves this?
Show answer & explanation
Correct answer: C
When 'WebLogic Plugin Enabled' is set to true, WebLogic looks for specific headers (like WL-Proxy-SSL) injected by the proxy/LBR to determine the original protocol (HTTPS) and generate correct redirect URLs.
- Question 7Beginner
Transport Layer Security · Use the keytool utility for managing keys and certificates
You have a domain with a Custom Identity Keystore and the Default Trust Keystore. You need to update the private key alias used by the server.
Which command line tool is used to manage the key-pair in the JKS file?
Show answer & explanation
Correct answer: B
keytoolis the standard Java utility for managing keys and certificates in JKS keystores. - Question 8Intermediate
Applications and Deployment · Deploy versioned applications (Production Redeployment)
Case Study: FinCorp Global
Part 3: Deployment
The development team has delivered a new version (v2) of the 'CoreBanking' application. The current version (v1) is running in production with active user sessions. You need to deploy v2 such that:
- Existing users continue on v1 until their sessions expire.
- New users are directed to v2.
- You can rollback if v2 shows errors.
Which feature should you utilize?
Show answer & explanation
Correct answer: D
Production Redeployment allows two versions of an application to run simultaneously. WebLogic routes new sessions to the new version while allowing old sessions to complete on the old version.
- Question 9Advanced
Upgrading WebLogic Server · Identify the correct steps, and related issues, in the process for performing a rolling upgrade
You are planning a Zero Downtime Patching (ZDT) workflow for a WebLogic Server 12c domain containing a cluster of four Managed Servers. You intend to use the
rolloutUpdateWLST command.Which of the following prerequisites must be met before executing this command to ensure a successful rolling update without service interruption?
Show answer & explanation
Correct answer: B
The
rolloutUpdatecommand orchestrates the patching process by communicating with the Node Manager and the Administration Server. For the tool to safely determine the state of the cluster and manage the rolling restart sequence (shutdown, patch, start), all target servers must initially be in a RUNNING state and reachable. If a server is down, the workflow cannot guarantee session draining or safe migration. - Question 10Intermediate
Upgrading WebLogic Server · Identify upgrade types officially supported for WebLogic rolling upgrades
You are troubleshooting a failed domain upgrade from 11g to 12c. The Reconfiguration Wizard failed during the JDBC configuration phase. You discover that the legacy domain used a deprecated JDBC driver that is no longer supported in 12c.
What is the correct procedure to resolve this issue and complete the upgrade?
Show answer & explanation
Correct answer: C
The Reconfiguration Wizard cannot fix configuration issues inherent to the source domain that prevent validation. If an unsupported driver is configured, the wizard cannot load the datasource beans. The correct path is to rollback (restore backup), fix the incompatibility in the source domain (e.g., switch to a generic driver or remove the datasource), and then perform the upgrade again.
- Question 11Intermediate
Creating and Extending Domains · Recognize template concepts, including: Template contents, template exclusions
Case Study: GlobalFin Banking - Domain Templating
GlobalFin Banking is standardizing its WebLogic environments. You need to create a Domain Template that will be used to deploy 50 new banking domains.
The requirements are:
- The template must include the Administration Server and two Managed Servers.
- It must include a specific set of security provider configurations.
- It must NOT include the
servers/AdminServer/logsdirectory or any temporary files from the source domain. - The template creation must be automated.
You are using the Domain Template Builder in console mode. How do you satisfy the requirement to exclude the log files?
Show answer & explanation
Correct answer: B
The Domain Template Builder (and the
packcommand logic) allows for the definition of file filters. These filters specify which files and directories from the source domain should be excluded from the generated template. This is the cleaner, repeatable way to handle exclusions compared to modifying the source domain manually. - Question 12Intermediate
Creating and Extending Domains · Recognize concepts associated with extension templates
You have an existing basic WebLogic domain. You need to add Oracle Service Bus (OSB) functionality to this domain. You have installed the OSB software in the Middleware Home.
Which method should you use to add the OSB resources to your existing domain?
Show answer & explanation
Correct answer: B
To add functionality (like OSB or SOA) to an existing domain, you 'extend' the domain. This is done by running the Configuration Wizard, selecting the existing domain, and then selecting the appropriate Extension Template (e.g., Oracle Service Bus) from the list of available product templates.
- Question 13Beginner
Creating and Extending Domains · Execute post-domain creation tasks
You have just created a new WebLogic domain in Production mode. When you start the Administration Server for the first time, you want to ensure it starts without prompting for credentials, but you did not create a
boot.propertiesfile during the domain creation.What is the most secure and standard way to achieve this for the first boot?
Show answer & explanation
Correct answer: D
In WebLogic, you can create a
boot.propertiesfile containingusername=...andpassword=...in cleartext. On the very first startup, the server reads this file, encrypts the credentials using the domain's AES key, and overwrites the file with the encrypted values. This allows unattended startup. - Question 14Intermediate
Server Operations · Configure Node Manager to start on system boot
You are configuring the Node Manager on an Oracle Linux 7 server. You want the Node Manager to start automatically when the server boots using
systemd. You have created a unit fileweblogic-nodemanager.service.Which configuration parameter in
nodemanager.propertiesis critical to ensure the Node Manager can recover managed servers that were running prior to a system crash/reboot?Show answer & explanation
Correct answer: D
When
CrashRecoveryEnabled=trueis set innodemanager.properties, the Node Manager checks the server state files upon startup. If it detects that a Managed Server was in a RUNNING state before the Node Manager (or the OS) went down, it will automatically attempt to restart that server. This is essential for system boot recovery. - Question 15Intermediate
Server Operations · Configure Node Manager to start failed servers
A Managed Server is configured with
RestartMax=2andRestartInterval=3600(1 hour) in its Node Manager startup properties. The server crashes 3 times within 45 minutes.What action will the Node Manager take after the third crash?
Show answer & explanation
Correct answer: C
The Node Manager tracks restart attempts within the
RestartInterval. If the number of failures exceedsRestartMaxwithin that interval, Node Manager stops attempting to restart the server to prevent infinite restart loops of a broken server. The state remains FAILED. - Question 16Intermediate
WebLogic Scripting Tool (WLST) & JMX · Create, Modify, and monitor a domain with WLST
You are writing a WLST script to monitor the JVM Heap usage of a specific Managed Server named
MS1. You are connected to the Administration Server.Which directory/MBean hierarchy must you navigate to in order to retrieve the active runtime metrics for
MS1?Show answer & explanation
Correct answer: B
To access runtime MBeans of Managed Servers from the Administration Server, you must use the
domainRuntime()tree. TheserverRuntime()tree only contains metrics for the server you are currently connected to (which is the Admin Server).domainConfig()contains configuration MBeans, not runtime metrics. - Question 17Intermediate
WebLogic Scripting Tool (WLST) & JMX · Identify key WLST concepts, including online and offline modes
You need to update the listen port of a Managed Server using WLST in offline mode. Which sequence of commands correctly performs this task?
Show answer & explanation
Correct answer: B
In offline mode, you open the domain configuration files using
readDomain. You then navigate the configuration hierarchy (which differs slightly from online MBean trees) to the server, set the property, and explicitly callupdateDomain()to persist changes toconfig.xml, followed bycloseDomain(). - Question 18Advanced
WebLogic Scripting Tool (WLST) & JMX · Write simple WLST scripts
You are developing a robust WLST script to automate datasource creation. You want to ensure that if any error occurs during the script execution, the full stack trace is printed to the console for debugging purposes.
Which WLST command/function should you use within your exception handling block?
Show answer & explanation
Correct answer: D
dumpStack()is a WLST-specific command (inherited from Jython/Python environment in WLST) that prints the stack trace of the last exception. It is commonly used insideexcept:blocks to provide detailed error information.
Ready for the real thing?
The full 1z0-134 simulator has every exam-style question, timed mode, and instant scoring.