Oracle WebLogic Server 12c Essentials v6.4 (1z0-599)

Page:    1 / 7   
Total 91 questions

What are the two proper locations of deployment descriptors files inside of archives deployed to WebLogic?

  • A. the WEB-INF subdirectory for a WAR file
  • B. the META-INF subdirectory for an EAR file, or EJB-JAR
  • C. the DD-INF subdirectory
  • D. the root of archive
  • E. any searchable location


Answer : A,B

Explanation: A:
* The WEB-INF directory contains the deployment descriptors for the Web application
(web.xml and weblogic.xml) and two subdirectories for storing compiled Java classes and library JAR files.
* Web Application - WEB-INF/web.xml ( WEB-INF/weblogic.xml )
The WEB-INF directory is a vital component of your web application. Web application wont run without it.It contains a heirarcy in which youll find the necessary configuration information for your web application, and all the class files for your servlets and classes that are called up by your JSPs.
WEB-INF folder contains all the class files for your servlets and classes that are called up by your JSPs
B:
Enterprise Application - META-INF/application.xml (META-INF/weblogic-application.xml) and META-INF/ejb-jar.xml ( META-INF/weblogic-ejb-jar.xml )
Generally comprises of EJBs. Bussiness Tier of an application and EJB basically handels the Bussiness logic of application (distributed objects)
META-INF/application.xml containes Mappings and security roles etc.whereas META-
INF/ejb-jar.xml containes ejb classes , session beans mapping etc.,
The META-INF directory is related to .jar files, It contains the manifest file which has list of jars.
A context-root setting in application.xml takes precedence over context-root setting in weblogic.xml (The context root of a web application determines which URLs weblogic will delegate to your web application.
Note:
* Deployment descriptors are xml documents that describe runtime behaviour for the deployment unit. The XML file contains information such as the context root of the web application and the mapping of the portable names of an application's resources to the application Server's resources

Which two tasks can be performed when WLST is in OFFLINE mode?

  • A. modifying the configuration of an online domain
  • B. modifying the configuration of an offline domain
  • C. viewing runtime performance data in ONLINE mode
  • D. viewing runtime performance data in OFFLINE mode
  • E. creating and extending domains


Answer : B,E

Explanation: B: WLST enables you to create a new domain or update an existing domain without connecting to a running WebLogic Server (that is, using WLST offline)supporting the same functionality as the Configuration Wizard.

E: With WLST you can -
Creating a Domain (Offline)
Updating an Existing Domain (Offline)
Creating a Domain Template (Offline)
Exporting Diagnostic Data (Offline)
Stepping Through a Sample Script: Creating a Domain Using WLST Offline
Reference: Creating and Configuring WebLogic Domains Using WLST Offline

Which two elements of the Java Enterprise Application Archive are required?

  • A. EJB Archive
  • B. Deployment Descriptor
  • C. META-INF sub directory
  • D. Resource Adapter archive
  • E. Java library


Answer : B,C

Explanation:
* A WAR file deployed to WebLogic Server always includes the following files:
One servlet or Java Server Page (JSP), along with any helper classes.
An optional web.xml deployment descriptor, which is a Java EE standard XML document that describes the contents of a WAR file.
A weblogic.xml deployment descriptor, which is an XML document containing WebLogic
Server-specific elements for Web applications.
A WAR file can also include HTML or XML pages and supporting files such as image and multimedia files.

What does the Web Session Affinity feature of Active GridLink for RAC provide?

  • A. It mandates that HTTP sessions must be stored in an Oracle RAC database for the highest throughput and availability.
  • B. It pins a connection to the thread associated with a web session such that subsequent connection reservations are significantly faster.
  • C. It stores a reference to the connection associated with an HTTP session in the session object.
  • D. It allows developers to modify how their web application reserves and releases database connections to allow enhanced performance.
  • E. It provides improved performance by associating a database connection with an HTTP session.


Answer : E

Explanation: Session Affinity Policy
Web applications where a user session has back-to-back online transaction processing
(OLTP) have better performance when repeated operations against the same set of records are processed by the same RAC instance. Business applications such as online shopping and online banking are typical examples of this pattern.
A GridLink data source uses the Session Affinity policy to ensure all the data base operations for a web session, including transactions, are directed to the same Oracle RAC instance of a RAC cluster.
Note:
The context is stored in the HTTP session. It is up to the application how windows (within a browser or across browsers) are mapped to HTTP sessions.
Note 2:
* GridLink Affinity
WebLogic Server GridLink affinity policies are designed to improve application performance by maximizing RAC cluster utilization. A GridLink data source monitors RAC load balancing advisories (LBAs) using the AffEnabled attribute to determine if RAC affinity is enabled for a RAC cluster. The first connection request is load balanced using Runtime Connection
Load-Balancing (RCLB) and is assigned an Affinity context. All subsequent connection requests are routed to the same Oracle RAC instance using the Affinity context of the first connection until the session ends or the transaction completes.
* Session Affinity


Reference; Configuring and Managing JDBC Data Sources for Oracle Weblogic server 12c,

Using GridLink Data Sources -

For real time event processing, which three clients can you use?

  • A. Java
  • B. C++
  • C. .NET
  • D. REST


Answer : A,B,C

What are the three steps you should take to tune a JDBC Connection pool in WebLogic from the initial settings in a production environment?

  • A. Ensure the maximum size is increased to an appropriate setting.
  • B. Set the minimum and maximum size of the connection pool to the same value.
  • C. Increase the statement cache size.
  • D. Add more heap to the JVM.
  • E. Add more nodes to the cluster.


Answer : A,C,E

Explanation: A:
* Troubleshooting Slow Response Time from the Client and Low Database Usage
These symptoms are usually caused by a bottleneck upstream of the database, perhaps in the JDBC connectionpooling. Monitor the active JDBC connections in the WebLogic
Console and watch for excessive waiters and wait times; increase the pool size, if necessary.
* Attribute: Maximum Capacity
Maximum number of physical database connections that this connection pool can contain.
Different JDBC Drivers and database servers may limit the number of possible physical connections.
C: Attribute: Statement Cache Size
The algorithm used to maintain the statement cache:
LRU - After the statementCacheSize is met, the Least Recently Used statement is removed when a new statement is used.
Fixed - The first statementCacheSize number of statements is stored and stay fixed in the cache. No new statements are cached unless the cache is manually cleared.
E: If the queue appears starved but adding execute threads does not improve performance, there may be resource contention. Because CPU utilization is low, the threads are probably spending much of their time waiting for some resource, quite often a database connection.
Use the JDBC monitoring facilities in the console to check for high levels of waiters or long wait times. Adding connections to the JDBC connection pool may be all that is required to fix the problem.
Note:
* If you had a JDBC connection pool where the Initial Capacity and Maximum Capacity attributes were different, you might want to create a gauge monitor to monitor the maximum and minimum number of connections.
By setting the Threshold Low value to be one less than the Initial Capacity, your gauge monitor trapcould monitor the ActiveConnectionsCurrentCount attribute of the
JDBCDataSourceRuntime MBean and alert you whenever the number of active connections are less than the Initial Capacity (which might indicate database connectivity problems).

Which statement is FALSE regarding WebLogic Server 12c?

  • A. supports Java EE 6.0
  • B. supports WebLogic Web Services 8.1 Application Environment
  • C. includes a new Maven plug-in
  • D. supports use of annotations in resource adapter class files


Answer : B

Explanation:
Incorrect:
Not A: New or enhanced WebLogic 12c features include
JAVA EE 6 support all kinds of JEE6 specifications
Not C: 12c do include a new Maven plug-in
Not D: For 1.6 adapters, you can embed metadata annotations in the resource adapter class files to specify deployment information, eliminating the need to create the ra.xml file manually.

A customer needs to ensure that the number of threads servicing an application does not exceed the number of database connections available to the application.
What step must you take to address this situation?

  • A. Configure a Max Threads Constraint and add your application to the list of applications for the Constraint.
  • B. Configure a Work Manager with a Maximum Threads Constraint tied to the Connection Pool and configuration your application to use the Work Manager.
  • C. Configure a Work Manager with a Minimum Threads Constraint tied to the Connection Pool and configure your application to use the Work Manager.
  • D. Configure a global MaxThreads constraint and target it to the server or clusters where your application is deployed.
  • E. Configure the startup parameter "-Dwls-maxThreads" to be the same as the number of database connections configured.


Answer : B

Explanation: To manage work in your applications, you define one or more of the following
Work Manager components:
Fair Share Request Class:
Response Time Request Class:
Min Threads Constraint:
Max Threads Constraint:

Capacity Constraint -
Context Request Class:
Note:
* max-threads-constraintThis constraint limits the number of concurrent threads executing requests from the constrained work set. The default is unlimited. For example, consider a constraint defined with maximum threads of 10 and shared by 3 entry points.
The scheduling logic ensures that not more than 10 threads are executing requests from the three entry points combined.
A max-threads-constraint can be defined in terms of a the availability of resource that requests depend upon, such as a connection pool.
A max-threads-constraint might, but does not necessarily, prevent a request class from taking its fair share of threads or meeting its response time goal. Once the constraint is reached the server does not schedule requests of this type until the number of concurrent executions falls below the limit. The server then schedules work based on the fair share or response time goal.
* WebLogic Server prioritizes work and allocates threads based on an execution model that takes into account administrator-defined parameters and actual run-time performance and throughput.
Administrators can configure a set of scheduling guidelines and associate them with one or more applications, or with particular application components.
* WebLogic Server uses a single thread pool, in which all types of work are executed.
WebLogic Server prioritizes work based on rules you define, and run-time metrics, including the actual time it takes to execute a request and the rate at which requests are entering and leaving the pool.
The common thread pool changes its size automatically to maximize throughput. The queue monitors throughput over time and based on history, determines whether to adjust the thread count. For example, if historical throughput statistics indicate that a higher thread count increased throughput, WebLogic increases the thread count. Similarly, if statistics indicate that fewer threads did not reduce throughput, WebLogic decreases the thread count. This new strategy makes it easier for administrators to allocate processing resources and manage performance, avoiding the effort and complexity involved in configuring, monitoring, and tuning custom executes queues.
Reference: Using Work Managers to Optimize Scheduled Work

When your WebLogic Server solution needs to be scaled out with additional capacity and you dont want to add additional hardware, which three techniques should you us?

  • A. Assign more than one managed server to a physical hardware that allows better CPU utilization.
  • B. Assign more than one application to one managed server to better utilize threads within a single JVM process.
  • C. Assign the same application to more than one managed server to load balance requests between servers.
  • D. Assign the same heap size to the managed server across the cluster for easier control of memory footprint
  • E. Create a virtualized environment with hypervisor for an easier solution


Answer : B,D,E

You installed WebLogic, SOA Suite, and Oracle Service Bus on a machine and want to use the WebLogic Node Manager 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 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 want to run on the machine.
  • D. You need to install one Node Manager but use separate SSL certificates for each product when securing the network communication to the machine.


Answer : B

Explanation:
Note:
* A Node Manager process is not associated with a specific WebLogic domain but with a machine. You can use the same Node Manager process to control server instances in any WebLogic Server domain, as long as the server instances reside on the same machine as the Node Manager process. Node Manager must run on each computer that hosts WebLogic Server instanceswhether Administration Server or Managed
Serverthat you want to control with Node Manager.
* 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

When a critical error occurs, which module in Enterprise Manager will automatically collect diagnostics data from WebLogic Server?

  • A. Reports
  • B. Compliance
  • C. Support Workbench
  • D. Asset Discovery
  • E. visual creation of JDBC DataSource object to Oracle RAC


Answer : C

Explanation: Support Workbench is a feature where, on identification of a problem, targeted diagnostics data is dumped in a well-known format and location, for further analysis by administrators, Oracle Support and development. In case of Support
Workbench for FMW, this feature works for Weblogic Server Targets.

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

Integration between _______ multidata sources and _____ is defined as the Grid Link for
RAC.

  • A. Oracle WebLogic Server; Oracle Database
  • B. Oracle WebLogic Server clusters; Oracle Database
  • C. Oracle WebLogic Server clusters; Oracle Database RAC
  • D. Oracle OC4J; Oracle Database RAC
  • E. Oracle WebLogic Server; Oracle OC4J


Answer : C

Explanation: The WebLogic Server JDBC subsystem has supported Oracle RAC since

WLS -
version 8.1 SP5, originally developed for Oracle9i RAC. This support is based on a particular type of data source configuration, called a multi data source. A multi data source is a data source abstraction over one or more individual data sources. It serves JDBC connections from each of the member data sources according to a specified policy2. A RAC multi data source configuration requires that each member data source obtain connections to a particular RAC instance, as illustrated in the following diagram of a three-node RAC cluster configuration.


Reference: Oracle WebLogic Server Active GridLink for Oracle Real Application
Clusters(RAC)

A customer claims that while redeploying a web application in the production system all their customers are having to log in again. What do you recommend?

  • A. Sessions can't be preserved when redeploying applications. The customer needs to consider redeployment during late nights when the traffic is low.
  • B. Change the flag responsible for the development mode of their environment. In the production mode, all sessions are preserved while redeploying application.
  • C. Change Hotspot to JRockit. Sessions can't be preserved on HotSpot when redeploying application.
  • D. Use flag -version when redeploying the application. This will switch on the Side By Side deployment feature and preserve existing sessions.
  • E. Open a service request with Oracle Support. This is unexpected behavior. Sessions are preserved without any extra settings.


Answer : D

Explanation: Restrictions on Production Redeployment Updates
WebLogic Server can host a maximum of two different versions of an application at one time.
Note:
* When you redeploy a new version of an application, you cannot change:
An application's deployment targets

An application's security model -
A Web application's persistent store settings
To change any of the above features, you must first undeploy the active version of the application.
Incorrect:
* (not A)
Production redeployment enables you to update and redeploy an application in a production environment without stopping the application or otherwise interrupting the application's availability to clients. Production redeployment saves you the trouble of scheduling application downtime, setting up redundant servers to host new application versions, manually managing client access to multiple application versions, and manually retiring older versions of an application.
* (not C) Not dependant on whether the application is JRockit or Hotspot.
* (not E)
The production redeployment strategy is supported for:
Standalone Web Application (WAR) modules and enterprise applications (EARs) whose clients access the application via a Web application (HTTP).
Enterprise applications that are accessed by inbound JMS messages from a global JMS destination, or from inbound JCA requests.
All types of Web Services, including conversational and reliable Web Services, but not 8.x
Web Services.
Production redeployment is not supported for:
Standalone EJB or RAR modules. If you attempt to use production redeployment with such modules, WebLogic Server rejects the redeployment request. To redeploy such modules, remove their version identifiers and explicitly redeploy the modules.
Applications that use JTS drivers. For more information on JDBC application module limitations, see JDBC Application Module Limitations in Configuring and Managing JDBC
Data Sources for Oracle WebLogic Server.
Applications that obtain JDBC data sources via the DriverManager API; in order to use production redeployment, an application must instead use JNDI to look up data sources.
Applications that include EJB 1.1 container-managed persistence (CMP) EJBs. To use production redeployment with applications that include CMP EJBs, use EJB 2.x CMP instead of EJB 1.1 CMP.
Reference: Reference; Deploying Applications to Oracle WebLogic Server 12c,
Redeploying Applications in a Production Environment

Which is the correct WebLogic Server distribution version to download if you want to install
WebLogic Server 12c to run in 64 bit mode on a 64 bit Linux X86?

  • A. Linux x86 with 64 bit JVM
  • B. ZIP distribution for Linux
  • C. Linux x86 with 32 bit JVM
  • D. Generic distribution
  • E. Network installer


Answer : D

Page:    1 / 7   
Total 91 questions