Oracle 1z0-599 WebLogic Server 12c Essentials PDF
Document Details
Uploaded by Deleted User
Oracle
Tags
Summary
This document contains questions and answers related to Oracle WebLogic Server 12c essentials. Topics covered include WebLogic Server runtime MBeans, security roles, managed servers, cluster performance, and other WebLogic features. The document includes explanations and examples to help understand the concepts.
Full Transcript
Oracle 1z0-599 1z0-599 Oracle WebLogic Server 12c Essentials Oracle WebLogic Server 12c Essentials...
Oracle 1z0-599 1z0-599 Oracle WebLogic Server 12c Essentials Oracle WebLogic Server 12c Essentials Version: 7.0 [ Total Questions: 91] Web: www.examsvce.com Email: [email protected] Oracle - 1z0-599 Question #:1 You want to use WLST to v ew 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. Question #:2 You deploy more than one application to the same WebLogic container. The security is set on JavaEE level and all deployed JavaEE applications use the same security roles. What is your recommendation for architecture with those requirements? A. Combine all applications into a single one. B. Define global roles on the WebLogic Domain level. C. Use Ms Active Directory to keep the roles there. D. Use Oracle Identity and Access Management solution to simplify the management. E. Keep role mapping in the external WebLogic Role Mapped developed for that solution. Answer: B Explanation Note: * Types of Security Roles: Global Roles and Scoped Roles 1 of 68 Oracle - 1z0-599 There are two types of security roles in WebLogic Server: / A global security role can be used in any security policy. Oracle provides several default global roles that you can use out of the box to secure your WebLogic resource / A scoped role can be used only in policies that are defined for a specific instance of a WebLogic resource (such as a method on an EJB or a branch of a JNDI tree). You might never need to use scoped roles. They are provided for their flexibility and are an extra feature for advanced customers. Incorrect: Not E: Role mapping is the process whereby principals (users or groups) are dynamically mapped to security roles at runtime. In WebLogic Server, a Role Mapping provider determines what security roles apply to the principals stored a subject when the subject is attempting to perform an operation on a WebLogic resource. Because this operation usually involves gainingaccess to the WebLogic resource, Role Mapping providers are typically used with Authorization providers. Question #:3 Identify three reasons that explain why assigning more than one managed serve achieve better performance than running one managed server with more resources? A. Thread management inside the JVM process might be less effective than context switching between processes on the OS level. It is better to combine both these technologies to achieve full saturation of resources. B. Current CPUs are multicore units. So starting managed servers in the amount of physical cores and pinning them 1:1 to cores will always get the best performance. C. By a combination of prioritization of processes on the OS level and Work Manager in WLS, one could tune the whole environment more precisely. D. Assigning more than one managed server to hardware will never bring better performance. E. More instances means more connections to databases, so one could serve more concurrent calls on the database level. This is primarily why this approach will give better performance numbers. F. Depending on the profile of the application, having more JVMs with smaller heaps will lead to more predictable response times than fewer JVMs with a large heap. Answer: C E F Explanation Note: * Two or more Managed Servers can be configured as a WebLogic Server cluster to increase application scalability and availability. In a WebLogic Server cluster, most resources and services are deployed identically to each Managed Server (as opposed to a single Managed Server), enabling failover and load balancing. A single domain can contain multiple WebLogic Server clusters, as well as multiple Managed Servers that are 2 of 68 Oracle - 1z0-599 not configured as clusters. The key difference between clustered and non-clustered Managed Servers is support for failover and load balancing. These features are available only in a cluster of Managed Servers. * A WebLogic Server cluster provides these benefits: Scalability The capacity of an application deployed on a WebLogic Server cluster can be increased dynamically to meet demand. You can add server instances to a cluster without interruption of service—the application continues to run without impact to clients and end users. High-Availability In a WebLogic Server cluster, application processing can continue when a server instance fails. You "cluster" application components by deploying them on multiple server instances in the cluster—so, if a server instance on which a component is running fails, another server instance on which that component is deployed can continue application processing. Question #:4 When your WebLogic Server solution needs to be scaled out with additional capacity and you don’t 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 Question #:5 A customer wants to improve the availability of a web application and provide more predictable scalability when scaling out the application. Which Feature of WebLogic should you recommend to help solve this problem? A. Oracle Web Grid B. ActiveCache C. 3 of 68 Oracle - 1z0-599 C. Coherence Grid Edition D. WebLogic Session Replication E. Coherence Web Edition Answer: E Explanation * Built on top of Oracle Coherence (Coherence), Coherence*Web: / brings Coherence data grid's data scalability, availability, reliability, and performance to in-memory session management and storage. / can be deployed to many mainstream application servers such as Oracle GlassFish Server, Oracle WebLogic Server, IBM WebSphere, Tomcat, and so on * Coherence*Web enables HTTP session sharing and management across different Web applications, domains, and heterogeneous application servers. Session data can be stored in data caches outside of the application server, thus freeing application server heap space and enabling server restarts without losing session data. Question #:6 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: A Explanation The JRockit JVM is included in all Oracle WebLogic products – Oracle WebLogic Server Standard Edition, Oracle WebLogic Enterprise Edition, WebLogic Suite, and Oracle WebLogic Application Grid. JRockit will also be used across the Oracle Fusion Middleware and Oracle Applications product families, with the certification process happening over the coming months. For current status, see the certification matrices available from Oracle Metalink. Question #:7 4 of 68 Oracle - 1z0-599 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. Question #:8 Oracle Coherence is best classified as _____? A. A Database Product B. A Middleware Product C. An Object Relational Mapping (ORM) Tool D. A Soft Load Balancer E. An Application Product Answer: B Explanation Explanation;Oracle Coherence is a component of Oracle Fusion Middleware that enables organizations to predictably scale mission-critical applications by providing fast and reliable access to frequently used data. Question #:9 You have a durable subscriber, and the subscriber is down or not reachable when the message is produced. Which two options regarding the expiry of these messages are true? A. after the subscriber is unavailable for 10 minutes B. when the subscriber is available 5 of 68 Oracle - 1z0-599 C. after the subscriber is unavailable for after an hour D. are available until the specified time elapses E. are expired instantly Answer: B D Explanation By default, JMS messages never expire. When applications send messages to queues or topics with durable subscribers, WebLogic must retain the message until it is consumed. This is fine in most point-to-point messaging applications because consumers are constantly consuming messages. Any message sent to a queue will typically be consumed in a relatively short period of time. If the consumers get disconnected, they will usually reconnect as soon as possible and start processing any messages that might have built up in the queue. D: For durable subscribers to a topic, this is not necessarily true. The messaging system is forced to retain any message that has not been consumed by a durable subscriber, regardless of whether that durable subscriber will ever return. In this case, WebLogic is at the mercy of the durable subscriber to unsubscribe when it no longer wishes to receive the messages. If the durable subscriber logic is flawed in such a way that the subscribers do not unsubscribe properly, the messaging system will start to fill up with messages that may never be delivered. This calls for real caution in using durable subscribers. Fortunately, there is another way to help deal with this problem. Message expiration can be set at the connection factory level. Using a connection factory’s default time-to-live attribute, we can specify the number of milliseconds that WebLogic should retain an undelivered message after it is sent. Question #:10 You are configuring a JMS server with a need for load balancing the messages. To achieve the load balance you should _______and _______. A. use regular queues and topics B. use distributed queues and topics C. not use subdeployments D. disable server affinity E. use message paging Answer: B C Explanation Load Balancing for JMS WebLogic Server JMS supports server affinity for distributed JMS destinations and client connections. (B, not A) 6 of 68 Oracle - 1z0-599 By default, a WebLogic Server cluster uses the round-robin method to load balance objects. To use a load balancing algorithm that provides server affinity for JMS objects (not D), you must configure the desired method for the cluster as a whole. Question #:11 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 (/user_projects/domains//bin/setDomainEnv.cmd) For example, the script would look something like this: 7 of 68 Oracle - 1z0-599 set CLASSPATH=%PRE_CLASSPATH%;%WEBLOGIC_CLASSPATH%; C:\extra\my_projects\doc\CR\CR218639_920mp3.jar;C:\extra\my_projects\doc \CR\ CR360676_920mp3.jar;C:\extra\my_projects\doc\CR\CR367966_920mp3.jar; C:\extra\my_projects\doc\CR\CR368155_920mp3.jar;C:\extra\my_projects\doc\CR\CR370311_920mp3.jar - Re-start your server. - You should see the patch applied in the stdout file. Question #:12 Which two outcomes result when a domain is created in development mode? A. WebLogic server starts automatically upon the restarting of the machine B. each new cluster will automatically be created with two managed servers C. boot.properties file automatically stored D. creation of an auto deploy folder used for the application to deploy automatically E. Node Manager will be automatically configured Answer: C D Explanation C: The saviour of having to type in the username and password each and every time that you start a server. A very useful little file to have, particularly if you have multiple managed servers. By default, this appears in the Admin Servers security directory ($DOMAIN_HOME/servers/AdminServer/security) when a domain is created in development mode and is called boot.properties. The file is only created for the admin server, not for any additional servers; simply copying the security directory over is enough. The password is encrypted for the domain, so it can only be used for servers within that domain. In production mode, the boot.properties file doesn’t exist. D: Development mode enables a WebLogic Server instance to automatically deploy and update applications that are in the domain_name/autodeploy directory (where domain_name is the name of a WebLogic Server domain). Production mode disables the auto-deployment feature and prevents any applications you place in the autodeploy directory after you switch to production mode from being deployed. Note: * By default, a WebLogic Server domain runs in development mode. * You can run a WebLogic Server domain in two different modes: development and production. Only development mode allows you use the auto-deployment feature 8 of 68 Oracle - 1z0-599 Question #:13 A highly available WebLogic cluster in UNIX is configured for automatic server migration. Node Managed is configured on both machines to start managed servers. How should you simulate a managed server failure to test whether automatic server migration is working? A. Shut down the managed server from the WebLogic console. B. Shut down the managed server using the WLST command through Node Manager. C. Run "kill -9" once to kill the managed server process. D. Run "kill -9" to kill the managed server process, and run "kill -9" one more time if the managed server is restarting. Answer: A Explanation Note: * It is recommended that you shutdown WebLogic Server instances through the Administration Console. * If automatic server migration is enabled, the servers are required to contact the cluster leader and renew their leases periodically. Servers will shut themselves down if they are unable to renew their leases. The failed servers will then be automatically migrated to the machines in the majority partition. Question #:14 In WebLogic 10.3.6 and 12c, transaction logs can optionally write to a JDBC store instead of a file store on the file system. Identify the three benefits as a result of this capability. A. simplified disaster recovery architecture and efforts B. better performance than writing logs to a file store C. common storage of transaction logs with application data D. common replication of transaction logs with application data E. higher transaction throughput Answer: A C D Explanation Comparing File Stores and JDBC-accessible Stores 9 of 68 Oracle - 1z0-599 The following are some similarities and differences between file stores and JDBC-accessible stores: * (A) JDBC stores may make it easier to handle failure recovery since the JDBC interface can access the database from any machine on the same network. With the file store, the disk must be shared or migrated. * The default persistent store can only be a file store. Therefore, a JDBC store cannot be used as a default persistent store. * Both have the same transaction semantics and guarantees. As with JDBC store writes, file store writes are guaranteed to be persisted to disk and are not simply left in an intermediate (that is, unsafe) cache. * Both have the same application interface (no difference in application code). * (not B, not E) All things being equal, file stores generally offer better throughput than a JDBC store. / If a database is running on high-end hardware with very fast disks, and WebLogic Server is running on slower hardware or with slower disks, then you may get better performance from the JDBC store. * File stores are generally easier to configure and administer, and do not require that WebLogic subsystems depend on any external component. * File stores generate no network traffic; whereas, JDBC stores generate network traffic if the database is on a different machine from WebLogic Server. Question #:15 A customer claims that while redeploying a web application in the production system all their customers have 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. 10 of 68 Oracle - 1z0-599 Note: * When you redeploy a new version of an application, you cannot change: An application's deployment targets An application's security model A Webapplicationspersistent 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 11 of 68 Oracle - 1z0-599 redeployment with applications that include CMP EJBs, use EJB 2.x CMP instead of EJB 1.1 CMP. Question #:16 An airline is building a booking system for its premium and general customers. The goal is to ensure premium members are given higher access priority when user traffic is high. What configuration will achieve this goal? A. Configure a Work Manager for premium users with a Minimum Thread Constraint. B. Configure a Work Manager for premium users with a higher fair-share-request-class. C. Configure a Work Manager for premium users with a higher response-time-request-class. D. Configure a Work Manager general users with a Maximum Thread Constraint. E. Configure a Work Manager for premium users with a custom request-class. Answer: B Explanation fair-share-request-class—Specifies the average thread-use time required to process requests. The default fair share value is 50. For example, assume that WebLogic Server is running two modules. The Work Manager for ModuleA specifies a fair-share-request-class of 80 and the Work Manager for ModuleB specifies a fair-share-request-class of 20. During a period of sufficient demand, with a steady stream of requests for each module such that the number requests exceed the number of threads, WebLogic Server will allocate 80% and 20% of the thread-usage time to ModuleA and ModuleB, respectively. * Example: lowpriority_workmanager low_priority 10 12 of 68 Oracle - 1z0-599 highpriority_workmanager high_priority 100 Note: * A request class expresses a scheduling guideline that WebLogic Server uses to allocate threads to requests. Request classes help ensure that high priority work is scheduled before less important work, even if the high priority work is submitted after the lower priority work. Incorrect: Not C: response-time-request-class—Specifies a response time goal in milliseconds. Response time goals are not applied to individual requests. Instead, WebLogic Server computes a tolerable waiting time for requests with that class by subtracting the observed average thread use time from the response time goal, and schedules requests so that the average wait for requests with the class is proportional to its tolerable waiting time. Not A, D: Not related to thread constraints. For example, assume that WebLogic Server is running two modules. The Work Manager for ModuleA specifies a fair-share-request-class of 80 and the Work Manager for ModuleB specifies a fair-share-request-class of 20. Question #:17 A customer has a WebTrade application that initially uses the embedded LDAP to authenticate users. To enhance security, the customer decides to use OAM to authenticate some of the users against an external LDAP store. For this to work, a customer configured an OAMAuthenticator, but was not sure what to select for the Control Flag. What Control Flag should the customer choose? A. OPTIONAL B. REQUISITE C. REQUIRED D. SUFFICIENT E. MANDATORY 13 of 68 Oracle - 1z0-599 Answer: D Explanation Note: * When you configure multiple Authentication providers, use the JAAS Control Flag for each provider to control how the Authentication providers are used in the login sequence. You can choose the following the JAAS Control Flag settings, among others: REQUIRED—The Authentication provider is always called, and the user must always pass its authentication test. Regardless of whether authentication succeeds or fails, authentication still continues down the list of providers. SUFFICIENT—The user is not required to pass the authentication test of the Authentication provider. If authentication succeeds, no subsequent Authentication providers are executed. If authentication fails, authentication continues down the list of providers. OPTIONAL—The user is allowed to pass or fail the authentication test of this Authentication provider. However, if all Authentication providers configured in a security realm have the JAAS Control Flag set to OPTIONAL, the user must pass the authentication test of one of the configured providers. * Example: Setting the Order of Providers Re-order the OAM Identity Asserter, OID Authenticator, and Default Authenticator by ensuring that the control flag for each authenticator is set as follows: OAMAuthenticator (REQUIRED) OracleInternetDirectoryAuthenticator (SUFFICIENT) DefaultAuthenticator (SUFFICIENT) Question #:18 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 14 of 68 Oracle - 1z0-599 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 have to be delivered in the order sent A JMS queue only guarantees that each message is processed only once. Question #:19 In a Java EE messaging application, one MDB is consuming a lot of memory at high traffic. What configuration should you use to prevent possible out-of-memory error at high traffic and at the same time not losing messages? A. Configure a Work Manager for the MDB with a Maximum Thread Constraint. B. Configure a Work Manager for the MDB with a Minimum Thread Constraint. C. Configure a Work Manager for the MDB with a Maximum Thread Constraint and a Capacity Constraint. D. Configure a Work Manager for the MDB with a Minimum Thread Constraint and a Capacity Constraint. E. Configure a Work Manager for the MDB with both a Maximum Thread Constraint and Minimum Thread Constraint. Answer: B Explanation Note: * * When to Use Work Managers Following are guildelines to help you determine when you might want to use Work Managers to customize thread management: / The default fair share is not sufficient. This usually ocurrs in situations where one application needs to be given higher priority over another. / A response time goal is required. / A minimum thread constraint needs to be specified to avoid server deadlock Question #:20 15 of 68 Oracle - 1z0-599 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: C 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). Question #:21 You have a domain that was created and configured with WebLogic 10.3.5. You want to upgrade the domain to use WebLogic 12c. Which Oracle tool must you use to upgrade your domain? A. Oracle WebLogic Domain Upgrade tool B. Smart Update C. 16 of 68 Oracle - 1z0-599 C. Smart Upgrade D. No tool required, just install WebLogic 12c, update the domain to point to the new WebLogic installation and start your domain. E. JDeveloper Answer: D Explanation Note: You can use the 12.1.1 WebLogic Upgrade Wizard to upgrade domains created in WebLogic Server 8.1. You can also use the WebLogic Upgrade Wizard to upgrade a WebLogic domain created in WebLogic Server 9.x or 10.x to 12.1.1, but this is optional. Question #:22 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 17 of 68 Oracle - 1z0-599 Question #:23 You deploy two different applications to the WebLogic container. One application use Xerces parser version A and the other application uses Xerces parser version B. Both these versions are different from the parser version that the WebLogic server uses internally. You want to use the Filtering Classloader feature to solve this problem. What action would you take to generate proper filtering Classloader entries? A. Modify the applications to use the same version that WebLogic uses internally. B. Based on available examples of Filtering Classloader entries, try to modify get the proper entries. C. Deploy and use the Classloader Analyzing Tool to resolve all conflicts with conflicting libraries. This tool will generate all proper entries. D. Split the application into separate WebLogic containers and use different WLS versions of Xerces but identical that applications require. E. Look for a WebLogic release that uses the same version of Xerces that the applications use. Answer: B Explanation Note: * The FilteringClassLoader provides a mechanism for you to configure deployment descriptors to explicitly specify that certain packages should always be loaded from the application, rather than being loaded by the system classloader. This allows you to use alternate versions of applications such as Xerces and Ant. * To configure the FilteringClassLoader to specify a certain package is loaded from an application, add a prefer-application-packages descriptor element to the weblogic-application.xml which details the list of packages to be loaded from the application. The following example specifies that org.apache.log4j.* and antlr.* packages are loaded from the application, not the system classloader: org.apache.log4j.* antlr.* Question #:24 Which statement is FALSE regarding WebLogic Server 12c? A. supports Java EE 6.0 B. 18 of 68 Oracle - 1z0-599 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. Question #:25 A customer has a development environment that uses the auto-deployment feature. The customer claims the application is not redeployed even if the new version is copied to an application subdirectory. Which two parameters of the configuration should you check? A. Check if archive file in the compressed version has a new REDEPLOY file. B. If server was started in the Development Mode. Auto-deployment is not supported in production mode. C. If the application includes an EJB 3 module. Auto-deployment is not supported for EJBs. D. You change JVM from HotSpot to JRockit. Auto-deployment is not supported in HotSpot auto deployment. E. If the domain is a single-server domain. Auto-deployment is not supported in multiserver domains. Answer: B E Explanation Auto-deployment is intended for use with a single server target in a development environment. Note: * If auto-deployment is enabled, when an application is copied into the \autodeploy directory of the Administration Server, the Administration Server detects the presence of the new application and deploys it 19 of 68 Oracle - 1z0-599 automatically (if the Administration Server is running). If WebLogic Server is not running when you copy the application to the \autodeploy directory, the application is deployed the next time the WebLogic Server Administration Server is started. Auto-deployment deploys only to the Administration Server. * Limitations of Auto-Deployment Auto-deployed applications are very convenient in a development environment, but there are some limitations: There is no configuration in config.xml for an auto-deployed application. Therefore, in the Administration Console, there are no notes or target pages associated with an auto-deployed application because there is no backing configuration for that information. You cannot associate an auto-deployed application with a deployment plan since auto-deployed applications do not support any configuration operations which would be reflected in a deployment plan. You cannot set up security policies or roles for auto-deployed applications. You cannot undeploy or redeploy auto-deployed applications using WebLogic Server tools. Reference; Developing Applications for Oracle WebLogic Server 12c, Auto-Deploying Applications in Development Domains Question #:26 When you use WebLogic Management Pack EE, which three operations are enabled compared to managing WebLogic Server only through web console? A. management of many WebLogic Server Domains from a single web console B. tracking changes in the configuration of WebLogic Domain C. automation of provisioning process in the new environment D. checking compliance with the licenses that a customer has E. visual creation of JDBC DataSource object to Oracle RAC Answer: A B E Explanation The WebLogic Server Management Pack EE greatly improves application performance by providing unique functionality to automatically detect performance bottlenecks; quickly diagnose these performance problems, and identify their root cause. Key application performance management features of the pack include the following: 20 of 68 Oracle - 1z0-599 * (A) Manage multiple farms and WebLogic Domains centrally * Monitor Oracle Coherence Cluster – including all nodes within a cluster, all caches, services, connection managers and connections * Monitor middleware availability and performance out-of-box; track such data historically, and receive notifications of potential problems * Obtain real-time, in-depth JVM diagnostics without instrumentation overhead * Trace transactions across containers as well as to the database * (E) Analyze call paths and dependencies via graphical, architecture views * (E) Automatically discover and model dependencies between Java components, frameworks, and web services Question #:27 You want to create a WebLogic domain in a production environment. Which three actions should you perform? A. Use a multinode WebLogic domain. B. Use a single-node WebLogic domain. C. Use clusters. D. Refrain from using clusters. E. Install WeLogic in production mode with CA signed certificates. Answer: A C E Explanation Use multi-node and clustering to get performance suitable for a product environment. Question #:28 WebLogic 12c, the Maven plug-in has been enhanced with which Maven goal? A. wls:unzip, wls:install-domain, wls:start-domain, wls:wlst, wls:appc B. wls:install, wls:install-domain, wls:start-domain, wls:wlst, wls:appc 21 of 68 Oracle - 1z0-599 C. wls:unzip, wls:create-domain, wls:start-domain, wls:wlst, wls:appc D. wls:install, wls:create-domain, wls:start-server, wls:wlst, wls:appc: Answer: D Explanation wls-maven-plugin—Delivered in WebLogic Server 12c, provides enhanced functionality to install, start and stop servers, create domains, execute WLST scripts, and compile and deploy applications. Question #:29 Identify four features of WebLogic that provide value above and beyond a simple Java EE container. A. Active GridLink for RAC B. support for enterprise Web Services standards beyond Java EE specification C. Integration with Enterprise Manager D. market leading performance E. Java EE6 Specification Support F. Java SE 7 support Answer: A B E F Explanation B: Java EE Enterprise Web Services is supported. E: New or enhanced WebLogic 12c features include JAVA EE 6 support all kinds of JEE6 specifications are implemented like : JSF 2.0,Java Servlets 3.0 JPA 2.0 and EJB 3.1. Managed Beans 1.0 F: WebLogic 12c also supports supports Java SE 7 (and Java SE 6). Java language optimizations and Internationalization Client and server support 22 of 68 Oracle - 1z0-599 SSL/TLS 1.2 in JSSE to support JAVA Socket Transport security Converged Java VM:JRockit and HotSpot are incorporated with the best features from both. Oracle’s Publisher Seminar 2011 during OOW Incorrect: not C: Question #:30 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. 23 of 68 Oracle - 1z0-599 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). Question #:31 A customer has a critical, performance-sensitive web application that connects to a multinode Oracle RAC database. Which feature of WebLogic can provide significant performance benefit? A. The Web Session Affinity feature of Active GridLink for RAC B. WebLogic Clustering C. The Transaction Affinity feature of Active GridLink for RAC D. Coherence*Web Session Replication Answer: C Explanation 24 of 68 Oracle - 1z0-599 WebLogic GridLink Data Sources supports transaction-based affinity. Question #:32 What is the architectural benefit of keeping WebLogic Server transaction log in the database? A. Oracle does not allow replicating files between data centers, so keeping transaction log in database allows for replication. B. Many transactions in WebLogic are database centric, so keeping log in database makes Two Phase Commit protocol possible. C. It obviates the need to keep in sync two replication technologies (file and database) between data centers. The single replication technology is used for frequently changing data. D. Transaction log in a file system is extremely slow so it cannot be efficiently replicated. Answer: C Explanation You can configure a JDBC TLOG store to persist transaction logs to a database, which provides the following benefits: * Leverages replication and HA characteristics of the underlying database. * Simplifies disaster recovery by allowing the easy synchronization of the state of the database and TLOGs. * Improved Transaction Recovery service migration as the transaction logs to do not need to be migrated (copied) to a new location. * You can configure a JDBC TLOG store to persist transaction logs to a database, which allows you to leverage replication and HA characteristics of the underlying database, simplify disaster recovery, and improve Transaction Recovery service migration. incorrect: not B: Read-only, One-phase Commit Optimization requires Oracle DB 11.1.0.7.3PSU or above. Question #:33 What type of Java EE application can be upgraded to WebLogic 12c using the Smart Upgrade tool? A. GlassFish B. iAS C. WebLogic Server 11g D. 25 of 68 Oracle - 1z0-599 D. JBoss Answer: B Explanation Note: * iAS: Oracle Application Server * Oracle WebLogic Server SmartUpgrade is one several Oracle software tools that can help you upgrade your entire Oracle Application Server or Oracle WebLogic Server environment to Oracle Fusion Middleware 11g. Question #:34 Which WebLogic optimization allows one non-XA resource to participate in a distributed transaction? A. enabling Pinned to Thread B. enabling Logging Last Resource C. increasing the Statement cache size D. setting the statement cache type to LRU E. setting the initial and maximum capacity to the same number Answer: B Explanation Oracle WebLogic Server Logging Last Resource (LLR) An additional option for XA transactions is Oracle WebLogic Server’s Logging Last Resource (LLR) transaction optimization through JDBC data sources. LLR is a performance enhancement option that enables one non-XA resource to participate in a distributed transaction with the same ACID guarantee asXA. In a distributed transaction with an LLR participant, the Oracle WebLogic Server transaction Question #:35 Which feature is enabled when you start a WebLogic server with the –DserverType=wlx option? A. JDBC B. JCA C. JMS D. EJB E. 26 of 68 Oracle - 1z0-599 E. Java EE Answer: A Explanation -DserverType={"wls" | "wlx"} Specifies the Server Type, which determines the set of services that are started in the server runtime. The default is "wls", which starts all WebLogic Server services, including EJB, JMS, Connector, Clustering, Deployment, and Management. The "wlx" option starts a server instance that excludes the following services, making for a lighter weight runtime footprint: * (not D) Enterprise JavaBeans (EJB) * (not B, not E) Java EE Connecter Architecture (JCA) * (not C) Java Message Service (JMS) Question #:36 Which four actions can you perform using the WebLogic Admin Console? A. Stop and start Managed Servers using the Node Manager. B. Stop and start Coherence Servers using the Node Manager. C. Create a WebLogic Domain Template. D. Create and target JDBC connection pools. E. Create and target WebLogic Diagnostic Framework Diagnostic Modules. F. Change Java command-line parameters at run time. Answer: A B D F Explanation Use the Administration Console to: * (A) Configure, start, and stop WebLogic Server instances * Configure WebLogic Server clusters * (D) Configure WebLogic Server services, such as database connectivity (JDBC) and messaging (JMS) 27 of 68 Oracle - 1z0-599 * Configure security parameters, including managing users, groups, and roles * Configure and deploy your applications * Monitor server and application performance * View server and domain log files * View application deployment descriptors * (F) Edit selected run-time application deployment descriptor elements * (B) Control (start, stop, and restart) standalone Coherence cache servers * (B) Create and configure Coherence clusters Incorrect: Not C: The separate Domain Template Builder is used for creating Domain Templates. Question #:37 Which two statements are true regarding the WebLogic domain? A. A WebLogic domain can have more than one Administration server. B. A WebLogic domain has at least one WebLogic server. C. A WebLogic domain can have at the most one cluster. D. A WebLogic domain can cross multiple physical machines. E. Each WebLogic domain is associated with a different Node Manager. Answer: B C Question #:38 Which product has guaranteed messaging and transactional integrity for 100% reliability, over 25 years of use in the world's largest transaction applications? A. Coherence B. Tuxedo C. JRockit D. WebLogic Server 28 of 68 Oracle - 1z0-599 Answer: B Explanation JCA Adapter This product is a wrapper to the WebLogic Tuxedo Connector (WTC) found as part of the WebLogic Server (WLS) product. WTC can only be used on WebLogic, but the JCA adapter allows deploying WTC capabilities on other Java Application Servers that support the Java EE JCA specification. Note: * Tuxedo (Transactions for Unix, Extended for Distributed Operations) is a middleware platform used to manage distributed transaction processing in distributed computing environments. Tuxedo is a transaction processing system or transaction-oriented middleware, or enterprise application server for a variety of systems and programming languages. Developed by AT&T in the 1980s, it became a software product of Oracle Corporation in 2008. Question #:39 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 29 of 68 Oracle - 1z0-599 Question #:40 A customer has a web application with HTTP Sessions that need to be replicated to a backup site that is more than 100 miles away from the primary site, connected over the Internet. Which type of session replication in WebLogic is recommended? A. MAN Replication B. WAN Replication C. Synchronous Replication D. Asynchronous Replication E. Database Replication Answer: D Explanation WAN HTTP Session State Replication Resources in a wide area network (WAN) are frequently spread across separate geographical regions. In addition to requiring network traffic to cross long distances, these resources are often separated by multiple routers and other network bottle necks. Network communication in a WAN generally has higher latency and slower interconnect. Slower network performance within a WAN makes it difficult to use a synchronous replication mechanism like the one used within a MAN. WebLogic Server provides failover across clusters in WAN by using an asynchronous data replication scheme. Note: HTTP Session State Replication Weblogic Server uses two methods for replicating HTTP session state across clusters: in-memory replication * Using in-memory replication, WebLogic Server copies a session state from one server instance to another. The primary server creates a primary session state on the server to which the client first connects, and a secondary replica on another WebLogic Server instance in the cluster. The replica is kept up-to-date so that it may be used if the server that hosts the servlet fails. * JDBC-based persistence In JDBC-based persistence, WebLogic Server maintains the HTTP session state of a servlet or JSP using file-based or JDBC-based persistence. 30 of 68 Oracle - 1z0-599 JDBC-based persistence is also used for HTTP session state replication within a Wide Area Network (WAN). Question #:41 Identify three advantages of Active GridLink for RAC over multidata source. A. isolates WebLogic from RAC changes B. has a simple configuration C. enables statement caching D. performs faster failure detection and failover E. is supported in WebLogic Domain Templates Answer: A B D Explanation A, B: With Active GridLink for RAC, WebLogic instances are isolated from RAC configuration changes, and DBAs only need to contend with a single data source rather than multiple data sources. D: Active GridLink for RAC distributes work based on different backend node capacities, automatically detecting and adapting to overworked nodes and hangs. It enables smart load balancing across RAC nodes. This makes it easier to route traffic around node failures, enhancing availability and performance. Question #:42 Assume that you would like to clone an existing WebLogic Domain and enable some customizations. What scenario would you choose? A. In the Enterprise Manager, find the domain to be cloned. Choose "Clone WebLogic Domain" from the context menu. In the graphical wizard, customize and extend the domain if needed. These steps will only clone only the domain configuration. Binaries with deployments are needed to be cloned by operation on the file system. B. In the Enterprise Manager, find the domain to be cloned. Choose "Clone WebLogic Domain" from the context menu. In the graphical wizard, customize the domain. These steps clone the binaries and domain configuration. If the extension is needed, perform it after cloning in the WebLogic web-based console. C. In the Enterprise Manager, find the domain to be cloned. Choose "Clone WebLogic Domain" from the context menu. In the graphical wizard, customize and extend the domain if it is needed. These steps clone the binaries and domain configuration. D. In the Enterprise Manager, find the domain to be cloned. Choose "Clone WebLogic Domain" from the context menu. These steps clone the binaries and domain configuration. If the customization or extension is needed, complete that after cloning in the WebLogic web-based console. E. 31 of 68 Oracle - 1z0-599 E. In the file system, copy the domain structure of the configuration directory and paste it in the new location. Modify configuration files for address and port. If further customization is needed, open the WebLogic web-based console and perform these modifications. Answer: C Explanation The Clone WebLogic Domain option launches a wizard that enables you to clone a WebLogic Domain from an existing reference domain that is already discovered with Cloud Control. It allows you to clone the Middleware Home and its binaries, and the domain configuration. *If you selected the Cloning a WebLogic Domain option, the Middleware Provisioning: Domain Configuration page appears. This page contains a set of links to several pages where you can enter the properties that are most likely to be reconfigured like domain name, listen addresses for the administration server and managed servers, Node Manager/Machine configuration, and JDBC data sources. Question #:43 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 instances—whether Administration Server or Managed 32 of 68 Oracle - 1z0-599 Server—that 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 Reference; Node Manager Administrator's Guide for Oracle WebLogic Server 12c Question #:44 Which three JVM options would you add to investigate performance issues in a Hot-Spot JVM? A. -xx:+PrintGCDetails B. -xx:+PrintGCTimeStamps C. -xx:+HandlePromotionFailure D. -verbose:gc 33 of 68 Oracle - 1z0-599 E. -server Answer: A B D Question #:45 A customer stores environmental settings in the deployment descriptors of an application. Whenever they promote the application version from testing to the production environment, they need to open the archive and modify the deployment descriptor. This process is against their security policy. What approach should you recommend to leverage WebLogic features such that they do not have to modify the application archive for different environments? A. Keep environmental data in the global settings of domain and the application can read it from the domain where it runs. B. Keep environmental data in Deployment Plan XML files. It allows you to change parameters in the deployment descriptor without opening the archive file. C. Keep environmental data in the database because it is the most effective way of parametrizing the environment. D. Keep archive in exploded format so the customer does not have to open the archive files. E. Eliminate all environmental settings from the application. There should not to be any environmental settings in the application. Answer: B Explanation WebLogic Server uses the standard J2EE web.xml deployment descriptor for defining a Web Application. Some applications also require the WebLogic-specific deployment descriptor, weblogic.xml. You use these deployment descriptors to define components and operating parameters for a Web Application. Deployment descriptors are standard text files, formatted using XML notation. You package them in the Web Application. Question #:46 You are configuring the data source for an Oracle database. You will need to specify a test table for WebLogic to test the status of the database. Which option should you choose? A. a table name which has 100s of records B. a table name which has 10s of records C. a table name which has empty records D. a table name which has 1000s of records E. 34 of 68 Oracle - 1z0-599 E. never use a table name Answer: C Explanation * When you create a data source using the Administration Console, the Administration Console automatically sets the Test Table Name attribute for a data source based on the DBMS that youselect. The Test Table Name attribute is used in connection testing which is optionally performed periodically or when you create or reserve a connection, depending on how you configure the testing options. For database tests to succeed, the database user used to create database connections in the data source must have access to the database table. If not, you should either grant access to the user (make this change in the DBMS) or change the Test Table Name attribute to the name of a table to which the user does have access (make this change in the WebLogic Server Administration Console). * To manually test a connection from a data source, you can use the Test Data Source feature on the JDBC Data Source: Monitoring: Testing page in the Administration Console (see “ Test JDBC data sources”) or the testPool() method in the JDBCDataSourceRuntimMBean. To test a database connection from a data source, Test Reserved Connections must be enabled and Test Table Name must be defined in the data source configuration. Both are defined by default if you create the data source using the Administration Console. When you test a data source, WebLogic Server reserves a connection, tests it using the query defined in Test Table Name, and then releases the connection. Question #:47 A customer needs to implement a Highly Available solution for JMS that has a primary data center and a backup. Which three steps would you perform when designing your solution? A. Store Transaction Logs in a database and use Database stores for JMS to make replication between sites easier. B. Use file based Transaction Logs and JMS stores and implement a separate replication solution for files in addition to database in case database replication fails. C. Implement Oracle RAC at each site to provide a highly available solution within each datacenter. D. Configure Whole Server Migration to migrate WebLogic Managed Servers from the primary to the secondary site. E. Configure Automatic Service Migration for JMS high availability within a datacenter. Answer: A C E Explanation Note: 35 of 68 Oracle - 1z0-599 Question #:48 You want to migrate an application that was developed for OAS/OC4J to WebLogic. The application uses Oracle Streams Advanced Queuing (AQ). You configured a Foreign JMS Server and Data Source but you are not able to send messages to the AQ destination and see them reach the database. Which two things are missing in this configuration? A. nothing, there may be a network connection issue B. a Foreign JMS Connection Factory C. a JMS Bridge to map the JNDI of the Local JMS Destination to the remote AQ destination D. a mapping of the Foreign JMS Connection Factory to the Data Source where AQ is configured and installed. E. Oracle AQ Java EE Shared Libraries not deployed and referenced by your application Answer: C E Explanation C: * A WebLogic Messaging Bridge communicates with the configured source and target bridge destinations. For each mapping of a source destination to a target destination, you must configure a messaging bridge instance. Each messaging bridge instance defines the source and target destination for the mapping, a message filtering selector, a QOS, transaction semantics, and various reconnection parameters. Note: * In your JMS Foreign Server configuration: 36 of 68 Oracle - 1z0-599 / Specify oracle.jms.AQjmsInitialContextFactory as the JNDI Initial Context Factory. / Configure the JDBC data sources needed for your application environment. Question #:49 Identify three components of the WebLogic JMS architecture. A. JMS Server B. JMS Module C. Node Manager D. Queue Manager E. Persistent Store Answer: A B E Explanation The major components of the WebLogic JMS Server architecture, as illustrated in the figure below. *(A) JMS servers that can host a defined set of modules and any associated persistent storage that reside on a WebLogic Server instance. *(B) JMS modules contains configuration resources (such as queues, topics, and connections factories) and are defined by XML documents that conform to the weblogic-jmsmd.xsd schema. *Client JMS applications that either produce messages to destinations or consume messages from destinations. *(E) WebLogic persistent storage (file store or JDBC-accessible) for storing persistent message data. The following figure illustrates the WebLogic JMS architecture. 37 of 68 Oracle - 1z0-599 Question #:50 What are four benefits of recommended basic architecture? A. Good load balancing between Presentation Tier and Object Tier B. Easy administration C. Flexible Load balancing D. Optimal performance E. Simple security Answer: A B C D Question #:51 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 38 of 68 Oracle - 1z0-599 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) Question #:52 WebLogic Node Manager can be used to manage the life cycle of WebLogic servers. WebLogic Node Manager is installed and started _____. A. Per Machine B. Per Domain C. Per Managed Server D. Per Admin Server Answer: A Explanation A Node Manager process is not associated with a specific WebLogic domain but with a 39 of 68 Oracle - 1z0-599 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 instances—whether Administration Server or Managed Server—that you want to control with Node Manager. Question #:53 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: 40 of 68 Oracle - 1z0-599 Note: * max-threads-constraint—This 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. Question #:54 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: C 41 of 68 Oracle - 1z0-599 Follow the on-screen instructions to access the table of WebLogic Server installers. After accessing the installer table, click the File1 link for the Generic Package or OS-specific Package installer, as appropriate for your operating environment. For example, if your operating system is Linux x86, click the File1 link under the Linux (32-bit JVM) column, on the Oracle WebLogic Server 12c R1 + Oracle Coherence row. Question #:55 Which technology does WebLogic Server use to look up a WebLogic JMS resource? A. HTTP B. JNI C. JNDI D. T3 E. LDAP Answer: C Explanation Using JNDI, a JMS client can obtain access to a JMS provider by first looking up a ConnectionFactory. The ConnectionFactory is used to create JMS connections, which can then be used for sending and receiving messages. Destination objects, which represent virtual channels (topics and queues) in JMS, are also obtained via JNDI and are used by the JMS client. The directory service can be configured by the system administrator to provide JMS administered objects so that the JMS clients don't need to use proprietary code to access a JMS provider. Note: * The Java Naming and Directory Interface (JNDI) is part of the Java platform, providing applications based on Java technology with a unified interface to multiple naming and directory services. Question #:56 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 42 of 68 Oracle - 1z0-599 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 you’ll 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 Question #:57 A WebLogic team is developing an enterprise application from their desktop WebLogic environment. All development systems are connected to the same eight data sources for testing. As a WebLogic Administrator supporting this team, which two actions should you perform to free the developers from creating and configuring all the data sources on their desktop WebLogic environment? A. Provide the team with a WebLogic domain template with the testing data sources configured. 43 of 68 Oracle - 1z0-599 B. Provide the development team with a preconfigured domain archive file. C. Provide the development team with the [datasource] -jdbc.xml file to overwrite their local copy. D. Create the data sources on behalf each of the developer. E. Provide the development team with WLST scripts to create and configure the testing data sources. Answer: E Explanation WebLogic Administrators typically use the Administration Console or the WebLogic Scripting Tool (WLST) to create and deploy (target) JDBC modules. Note: * (not A) Domain template—defines the full set of resources within a domain, including infrastructure components, applications, services, security options, and general environment and operating system options. * Extension template—defines the applications and services that you can add to an existing domain, including product component functionality and resources such as JDBC or JMS. * (not B)Each domain describes its configuration in an XML document that is located in the domain’s configuration directory. At run time, each WebLogic Server instance in a given domain creates an in-memory representation of the configuration described in this document. The central configuration file for a domain is DOMAIN_NAME/config/config.xml. This file specifies the name of the domain and the configuration of each server instance, cluster, resource, and service in the domain. The file includes references to additional XML files that are stored in subdirectories of theDOMAIN_NAME /config directory. These included files are used to describe major subsystems of WebLogic Server. Question #:58 A customer needs to analyze an application that was developed for Oracle Application Server 10gR2 or 10gR3 (OC4J) in order to prepare to upgrade the infrastructure to WebLogic 12c. The customer wants understand the changes required to be made to the application and how to configure WebLogic in to support the newly upgraded application. Which three actions would you recommend for upgrading the customer's application and server configuration? A. Use Oracle Upgrade Manager to create a new WebLogic domain template from an OAS/OC4J installation and redeploy the application. 44 of 68 Oracle - 1z0-599 B. Use SmartUpgrade to analyze the OAS/OC4J server configuration and create WebLogic configuration files. C. Use SmartUpgrade to analyze the application archive (EAR/WAR/JAR) Source Directory or IDeveloper project and generate a report that describes the areas of the application that need to be updated. D. Use the Configuration Wizard to extend an existing WebLogic domain with OAS/OC4J support libraries and redeploy the application. E. Use SmartUpgrade to generate application artifacts and deployment descriptors that can be deployed to WebLogic. Answer: B D E Explanation Note: * Oracle WebLogic SmartUpgrade is part of the Oracle Fusion Middleware 11g upgrade tools that were designed to maximize the automation of the upgrade process, minimize the application downtime and allows for rapid and seamless uptake of the Oracle Fusion Middleware 11g features and capabilities. * SmartUpgrade : (B) When generating an upgrade report into an existing project, an Oracle Application Server configuration home could be specified to be included as part of the report. Additionally, both the server home and OracleAS enterprise archives can be localized into the JDevelopoer project file system by checking "Copy OC4J Deployment Archives Into Project". * SmartUpgrade : (E) The advisory reports and the configuration artifacts will be generated. The generated artifacts will be located at the JDeveloper project mywork directory * You can add product component functionality or additional applications and services to an existing WebLogic domain by extending it using the Configuration Wizard. For example, if you created a base WebLogic domain and you want to add the Avitek Medical Records Examples functionality, you can extend the domain by using the medrec.jar template. The Configuration Wizard simplifies the task of extending an existing WebLogic domain by using extension templates. Oracle provides various sample extension templates, as well as extension templates for various Fusion Middleware products. You can also create your own extension templates using WLST or the unpack command. Question #:59 45 of 68 Oracle - 1z0-599 A customer is developing a custom application that involves a multistep provisioning process for a new account. There is a custom Java client application that is generating multiple JMS messages as part of the process and sending them to the WebLogic tier where they are processed. Which three steps must you take to implement the solution to allow for scalability and parallel processing of multiple simultaneous provisioning requests while ensuring messages for an individual process are not delivered out of order? A. Update the client application that is creating the JMS messages to use Unit of Work. B. Configure a WebLogic Cluster for Distributed JMS. C. Update the client application that is creating the JMS messages to use Unit of Order. D. Enable XA Transactions on the JMS Connection Factory used by the client application. E. Enable Load Balancing on the JMS connection factory used by the client application. Answer: B C D Explanation C: Message Unit-of-Order is a WebLogic Server value-added feature that enables a stand-alone message producer, or a group of producers acting as one, to group messages into a single unit with respect to the processing order. This single unit is called a Unit-of-Order and requires that all messages from that unit be processed sequentially in the order they were created. D Transactions required for parallel processing. Incorrect: A: Many applications need an even more restricted notion of a group than provided by the Message Unit-of-Order (UOO) feature. If this is the case for your applications, WebLogic JMSprovides the Unit-of-Work (UOW) Message Groups, which allows applications to send JMS messages, identifying some of them as a group and allowing a JMS consumer to process them as such. For example, an JMS producer can designate a set of messages that need to be delivered to a single client without interruption, so that the messages can be processed as a unit. Further, the client will not be blocked waiting for the completion of one unit when there is another unit that is already complete. Note: * WebLogic JMS defines two default connection factories, which you can look up using the following JNDI names: weblogic.jms.ConnectionFactory weblogic.jms.XAConnectionFactory Question #:60 46 of 68 Oracle - 1z0-599 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() 47 of 68 Oracle - 1z0-599 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. Question #:61 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. 48 of 68 Oracle - 1z0-599 Question #:62 To use Active Cache features in WebLogic 12C, which three libraries are needed from the WebLogic Server installation to be deployed in WebLogic Server? A. coherence-work.jar B. coherence.jar C. active-cache-1.0.jar D. coherence-web-spi.war Answer: B C D Explanation In addition to the coherence.jar file, Coherence provides a deployable shared library, coherence-web-spi.war , that contains a native plug-in to WebLogic Server's HTTP Session Management interface. Coherence also provides the active-cache-1.0.jar file that contains the classes that enable WebLogic Server to interact with Coherence. Question #:63 A common approach to solve application performance issues is to add more hardware. Which two reasons describe why this alone does not always solve performance problems? A. There may be a bottleneck in the application that additional hardware would not solve. B. Adding more hardware is costly and time consuming. C. Adding hardware at the application layer may place additional load on an already overloaded database, network appliance, or storage system. D. Adding more hardware may introduce new configuration requirements that need to be tested. Answer: A C Question #:64 Which four service offerings are included in Oracle Public Cloud? A. Database Service B. Data Service C. 49 of 68 Oracle - 1z0-599 C. Java Service D. Security Service E..NET Service F. SOA Service Answer: A B C D Question #:65 Which new key architectural element introduced in WebLogic Server l2c should you take advantage of when designing Disaster Recovery Centers with active - passive mode? A. MAN Clusters, because they would allow you to synchronously replicate state in low latency networks B. WAN Clusters, because they would allow you to asynchronously replicate state in nonlow latency networks. C. Transaction Log in the database, because you could avoid synchronizing two replication technologies (database and file) D. Data Guard, because it is the most effective way to replicate a state across locations E. GoldenGate, because it is the most effective way to replicate a state across locations Answer: E Explanation * Oracle GoldenGate Oracle GoldenGate is Oracle’s strategic product for data distribution and data integration. It is a highperformance software application that uses log-based bidirectional data replication for real-time capture, transformation, routing, and delivery of database transactions across heterogeneous systems. Note: * Oracle Active Data Guard Oracle Active Data Guard 11g is an option of Oracle Database Enterprise Edition that extends basic Data Guard functionality. It allows a physical standby database to be open as read-only while changes are applied to it from the primary database. This increases performance and return on investment by offloading ad-hoc queries, Web-based access, reporting, and backups from the primary database while also providing disaster protection. * Disaster recovery (DR) procedures ensure rapid recovery or continuation of a technology infrastructure after a natural or human-induced disaster. Oracle WebLogic Server 12c supports advanced disaster recovery and business continuity. Organizations can store transaction logs in an Oracle 50 of 68 Oracle - 1z0-599 database instead of a file system, providing a highly available storage mechanism to improve the speed and reliability of disaster recovery operations. This permits them to utilize Oracle Active Data Guard or Oracle GoldenGate replication technology to move DR state information across data centers. Oracle’s enhanced DR architecture enables more effective recovery scenarios. Support for Oracle Exalogic and Oracle Exadata engineered systems ensures tremendous scalability for IT operations of any size. * Oracle WebLogic Server 12c places transaction logs on the database tier to improve the speed, reliability and availability of disaster recovery operations. Question #:66 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: B 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 51 of 68 Oracle - 1z0-599 Reference; Node Manager Administrator's Guide for Oracle WebLogic Server 12c Question #:67 An application that needs to use a shared library has a deployment descriptor that only specifies the Specification-Version and Extension-Name of the shared library. When the application is deployed, which shared library will be used? A. The application will go into an ADMIN state and fail to deploy because the Implementation-Version is required. B. The application will be deployed but the classes in the shared library will not be available. C. If you are using the WebLogic Admin Console, you will be prompted for the version you want to use; otherwise, the application will fail to deploy. D. If there are multiple versions of the shared library deployed, WebLogic will use the one with the highest Implementation-Version. E. If