1Z0-599 | The Secret of Oracle 1Z0-599 vce


Q31. You want to capture WebLogic internal events correlated with JVM events for viewing offline. What three actions must you take to enable this within WebLogic?

A. Run WebLogic in a JRockit JVM and ensure the Flight Recorder is enabled.

B. Configure the WebLogic Diagnostic Framework Event Volume to Low, Medium, or High depending on the type of events you want to capture.

C. Configure the WebLogic Diagnostic Framework bridge to send events to the JRockit Flight Recording.

D. Take a dump from the default recording or create a new recording for the time period you want to capture.

Answer: A,B,D

Explanation: A: You can enable JFR at runtime to take JRA recordings from the JRockit Management Console. You also have the option of turning off the JFR and recordings at the JRockit JVM level from the java command line using:

$ java -XX:-FlightRecorder B:

* In most environments, there is little performance impact when the Diagnostic Volume is set to Low and the most performance impact if Diagnostic Volume is set to High. The volume of diagnostic data produced by WebLogic Server needs to be weighed against potential performance loss.

* WLDF provides the Diagnostic Volume attribute to set the amount of code coverage that is enabled and the amount of data provided in the events that are generated for the

covered code

The following code example sets the volume to Medium:

connect() edit() startEdit()

cd("Servers/myserver") cd("ServerDiagnosticConfig") cd("myserver") cmo.setWLDFDiagnosticVolume("Medium") save()

activate()

D: Integrated with the WebLogic Diagnostic Image and Watch and Notification system

• Enables capture based on system state, event – capture during event; no need to replicate

• Watch for stuck thread count, heap size increase, available memory, etc.

• Set up notifications: capture WLDF image

• Diagnostic image capture spurs JFR file generation; JFR file included in diagnostic image

• Includes full JFR data from all event generators

Note:

* WebLogic Diagnostic Framework (WLDF) provides specific integration points with JRockit Mission Control Flight Recorder. WebLogic Server events are propagated to the Flight Recorder for inclusion in a common data set for runtime or post-incident analysis.

Reference: Oracle Fusion Middleware Performance and Tuning for Oracle WebLogic Server, Tuning WebLogic Diagnostic Framework and JRockit Flight Recorder Integration

Reference: JRockit Flight Recorder & WebLogic Diagnostic FrameWork (WLDF) Integration

Q32. Which two options best describe how the Maven Plugin for WebLogic enables WebLogic to be effectively used in a Continuous Integration environment?

A. execution of unit and integration tests

B. management of the life cycle of a WebLogic domain including creation, configuration, and server life-cycle management

C. deployment and undeployment of applications

D. Java profiling

Answer: A,C 

Explanation: Note:

* Apache Maven is a software tool for building and managing Java-based projects. WebLogic Server provides support for Maven through the provisioning of plug-ins that enable you to perform various operations on WebLogic Server from within a Maven

* environment.

* Continuous Integration is a software engineering practice which attempts to improve quality and reduce time to deliver software by applying small, frequent quality control efforts. It is characterized by these key practices:

Use of a version control system

All developers commit to the ‘HEAD’ (main code line) every day The product is built on every commit

The build must be automated and fast

Automated deployment to a production-like environment Automated testing

Results of all builds are published (so everyone can see who broke the build) Deliverables are easily available (for developers, testers, other stakeholders)

Q33. How can you configure High Availability for interacting with a non-Oracle database using WebLogic?

A. Configure multiple physical data sources and reuse the same JNDI name for each.

B. Use the "compatibility" option of Active GridLink to enable compatibility with non-Oracle databases.

C. Configure a single physical data source for each node in a database cluster and wrap it using Multi Data Source.

D. Configure a Data Source Group that contains a physical connection pool to each node in the database cluster.

Answer:

Explanation: Note:

* A multi data source can be thought of as a pool of data sources. Multi data sources are best used for failover or load balancing between nodes of a highly available database system, such as redundant databases or Oracle Real Application Clusters (Oracle RAC).

* (not B) A single GridLink data source provides connectivity between WebLogic Server and an Oracle Database service, which may include multiple Oracle RAC clusters

* * High Availability Storage Solutions

If you have applications that need access to persistent stores that reside on remote machines after the migration of a JMS server or JTA transaction log, then you should implement one of the following highly-available storage solutions:

/ File-based stores (default or custom)—Implement a hardware solution, such as a dual- ported SCSI disk or Storage Area Network (SAN) to make a file store available from shareable disks or remote machines.

/ JDBC-accessible stores—Configure a JDBC store or JDBC TLOG store and use JDBC to access this store, which can be on yet another server. Applications can then take advantage of any high-availability or failover solutions offered by your database vendor. In addition, JDBC stores support GridLink data sources and multi data sources, which provide failover between nodes of a highly available database system, such as Oracle Real Application Clusters (Oracle RAC).

Reference: Oracle Fusion Middleware Configuring Server Environments for Oracle WebLogic Server 12c, High Availability Storage Solutions

Q34. Which WebLogic edition bundles JRockit Real Time?

A. WebLogic Server Standard Edition

B. WebLogic Server Enterprise Edition

C. WebLogic Server Suite

D. WebLogic Server Grid Edition

E. WebLogic Server Cloud Edition

Answer: C

Q35. You installed WebLogic, SOA Suite, and Oracle Service Bus on a machine and want to use the WebLogic Node Manger to start servers for each product. Which statement is true?

A. You need to install a separate node manager for each Middleware Home that has a unique major and minor WebLogic Version Number.

B. You need to install and configure only one instance of Node Manager for all products, regardless of the WebLogic version number.

C. You need to install and configure a separate Node Manager for each domain of each product you want to run on the machine.

D. You need to install one Node Manager but use separate SSL certificates for each product when searching the network communication to the machine

Answer:

Explanation: Note:

* In managing multiple servers, Node Manager uses multiple configuration files and outputs log files to multiple directories.

* nodemanager.domains

This file contains mappings between the names of domains managed by Node Manager and their corresponding directories.

* Node Manager in the WebLogic Server Environment

 

Description of Figure 2-1 follows

Reference; Node Manager Administrator's Guide for Oracle WebLogic Server 12c

Q36. What does the Fast Connection Failover feature of Active GridLink for RAC provide?

A. instant notification of a RAC node failure so applications never have to retry a transaction that was sent to a node that failed during the transaction

B. near-instant notification of the failure of a RAC node failure that minimizes the possibility connection to a failed node being provided to an application

C. application level notification of a failed RAC node such that an application can retry a transaction if required

D. faster failover for Multi Datasources

E. guaranteed transaction high availability when interacting with an Oracle RAC Database

Answer: B

Explanation: * WebLogic Server supports Fast Connection Failover, a Oracle feature which provides an application independent method to implement RAC event notifications, such a detection and cleanup of invalid connections, load balancing of available connections, and work redistribution on active RAC instances.

* A GridLink data source uses Fast Connection Failover and responds to Oracle RAC events using ONS. This ensures that the connection pool in the GridLink data source contains valid connections (including reserved connections) without the need to poll and test connections

Q37. Identify four valid requests in a RESTful service using JAX-RS.

A. GET

B. PUT

C. UPDATE

D. DELETE

E. POST

F. REMOVE

Answer: A,B,D,E

Explanation: The following principles encourage RESTful applications to be simple, lightweight, and fast:

* Resource identification through URI

* Uniform interface: Resources are manipulated using a fixed set of four create, read, update, delete operations: PUT, GET, POST, and DELETE. PUT creates a new resource, which can be then deleted by using DELETE. GET retrieves the current state of a resource in some representation. POST transfers a new state onto a resource. See Responding to HTTP Methods and Requests for more information.

* Self-descriptive messages

* Stateful interactions through hyperlinks

Reference: The Java EE 6 Tutorial, What Are RESTful Web Services?

Q38. Identify the three processes that customers can choose for patching WebLogic Server.

A. Download patches from My Oracle Support and manage them using Smart Update.

B. Use Enterprise Manager to download patches from My Oracle Support and apply patches to WebLogic.

C. Download patches from My Oracle Support and manually modify the classpath of the application server (though it is not recommended).

D. Download patches from My Oracle Support and apply them using the WebLogic Admin Console.

E. Use the Admin Console to connect to My Oracle Support and download patches and then target them to the domain.

Answer: A,B,C

Explanation: A: Oracle Smart Update is a standalone Java application that is automatically installed in the Middleware home utils/bsu directory. Smart Update simplifies the process of applying patches to your WebLogic Server installation. When support makes a patch available for an installed version of WebLogic Server, you download the patch from My Oracle Support and then use Oracle Smart Update to apply it to your installation. Smart Update organizes all available updates for you, and has several features that allow a great deal of customizing in the way various patches are applied and managed in your environment.

B: As part of a new Enterprise Manager system, the installation wizard does the following:

* Oracle My Oracle Support Management Plug-In etc.

C: Applying patch from server start script:

After downloading the patch (jar file) follow the below steps:

- Stop your server.

- Then take the path of the folder which has the CRxxxxxx_xxxmpx.jar file and copy it in the CLASSPATH of setDomainEnv.cmd which is in

(<bea home>/user_projects/domains/<your domain name>/bin/setDomainEnv.cmd) For example, the script would look something like this:

set CLASSPATH=%PRE_CLASSPATH%;%WEBLOGIC_CLASSPATH%;

C:extramy_projectsdocCRCR218639_920mp3.jar;C:extramy_projectsdoc CR CR360676_920mp3.jar;C:extramy_projectsdocCRCR367966_920mp3.jar; C:extramy_projectsdocCRCR368155_920mp3.jar;C:extramy_projectsdocCRCR3703 11_920mp3.jar

- Re-start your server.

- You should see the patch applied in the stdout file.

Q39. You want to use WLST to view metrics for a running domain. Which command should you issue to navigate through the Mbean hierarchy containing the metrics?

A. runtime ()

B. runtimeMbeanServer ()

C. connectRuntime ()

D. beginRuntime ()

E. serverRuntime ()

Answer: E

Explanation: Similar to the configuration information, WebLogic Server runtime MBeans are arranged in a hierarchical data structure. When connected to an Administration Server, you access the runtime MBean hierarchy by entering the serverRuntime or the domainRuntime command. The serverRuntime command places WLST at the root of the server runtime management objects, ServerRuntimeMBean; the domainRuntime command, at the root of the domain-wide runtime management objects, DomainRuntimeMBean.

Reference: WebLogic Scripting Tool, Browsing Runtime MBeans

Q40. A customer has a Stock Watch application that publishes stock recommendations to different customers and programs. The stock recommendation message should be processed by only one of the JMS Servers in the cluster. Which JMS model should be used?

A. JMS Queue

B. Distributed JMS Queue

C. Uniform Distributed Topic

D. Partitioned Distributed Topic

Answer: A

Explanation: JMS queue

A staging area that contains messages that have been sent and are waiting to be read.

Note that, contrary to what the name queue suggests, messages don't have to be delivered in the order sent. A JMS queue only guarantees that each message is processed only

once.

Incorrect:

Not B: (Only one queue required)

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

* A distributed queue is a set of physical JMS queue members. As such, a distributed

* queue can be used to create a QueueSender, QueueReceiver, and a QueueBrowser. The fact that a distributed queue represents multiple physical queues is mostly transparent to

your application.

Not Topic: JMS topic

A distribution mechanism for publishing messages that are delivered to multiple subscribers.