1z0-134 Sample Questions

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.

  1. 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 setCluster method typically requires the actual Cluster MBean object, which is retrieved via getMBean.

  2. 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 to ServerRuntimes, select the specific server instance (MS1), and then the JVMRuntime MBean to get heap statistics.

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

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

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

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

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

    keytool is the standard Java utility for managing keys and certificates in JKS keystores.

  8. 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:

    1. Existing users continue on v1 until their sessions expire.
    2. New users are directed to v2.
    3. 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.

  9. 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 rolloutUpdate WLST 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 rolloutUpdate command 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.

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

Ready for the real thing?

The full 1z0-134 simulator has every exam-style question, timed mode, and instant scoring.