43
Oracle.1z0-102.Examcollection.Premium.Exam.111q Number : 1z0-102 Passing Score : 800 Time Limit : 120 min File Version : 17.3 Exam Code: 1z0-102 Exam name: Oracle Weblogic Server 11g: System Administration I Version 17.3

Oracle Weblogic Server 11g: System Administration I

Embed Size (px)

Citation preview

Page 1: Oracle Weblogic Server 11g: System Administration I

Oracle.1z0-102.Examcollection.Premium.Exam.111q

Number: 1z0-102Passing Score: 800Time Limit: 120 minFile Version: 17.3

Exam Code: 1z0-102

Exam name: Oracle Weblogic Server 11g: System Administration I

Version 17.3

Page 2: Oracle Weblogic Server 11g: System Administration I

1z0-102

QUESTION 1Which two statements are true about java EE shared libraries?

A. A shared library cannot be deployed to a cluster.B. An application that is targeted to server1 can use a shared library that is targeted to server 2.C. Multiple versions of the same shared library can be deployed and be active at the same timeD. A shared library is referenced through an application's deployment descriptor.

Correct Answer: CDSection: (none)Explanation

Explanation/Reference:C: If more than one copy of myLibrary is registered, WebLogic Server selects the library with the highest specification version. If multiple copies of the library usethe selected specification version, WebLogic Server selects the copy having the highest implementation version.D: A Java EE application can reference a registered shared Java EE library using entries in the application's weblogic-application.xml deployment descriptor.

Reference: Referencing Shared Java EE Libraries in an Enterprise Application http://docs.oracle.com/cd/E12840_01/wls/docs103/programming/libraries.html

QUESTION 2Refer to the Exhibit.

You use the Start button in the administration console to start managed2 successfully. Which two statements must be true?

A. Managad2 is part of a cluster.B. The Administration Server is running.C. Managed2 has applications deployed to it.D. The Node Manager for machine2 is configured and running.E. The Node Manager for the Administration Server machine is configured and running.

Correct Answer: BDSection: (none)Explanation

Explanation/Reference:B: The administration server must be running.Note: A WebLogic Server administration domain is a logically related group of WebLogic Server resources. Domains include a special WebLogic Server instancecalled the Administration Server, which is the central point from which you configure and manage all resources in the domain.D:Node Manager is a WebLogic Server utility that enables you to start, shut down, and restart Administration Server and Managed Server instances from a remotelocation. Although Node Manager is optional, it is recommended if your WebLogic Server environment hosts applications with high availability requirements.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 serverinstances 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 oneach computer that hosts WebLogic Server instances -- whether Administration Server or Managed Server -- that you want to control with Node Manager.Incorrect answers:A: We could not know if Managed2 is in a cluster or not.C: We could not know if Managed2 has deployed applications.

QUESTION 3Within your data center, the Administration and Managed Servers utilize a shared, central storage device, which server's access via NFS.

In this scenario, your application files no longer need to be copied to servers across the network. Which server attribute allows you to override this behavior?

A. Startup ModeB. Staging ModeC. Root DirectoryD. Listen Address

Correct Answer: BSection: (none)Explanation

Explanation/Reference:The server staging mode specifies the default deployment mode for a server if none is specified at deployment time. For example, the server staging mode is usedif you deploy an application or module using weblogic.Deployer and you do not specify a staging mode.Reference:http://docs.oracle.com/cd/E12840_01/wls/docs103/ConsoleHelp/taskhelp/deployment/SetAServe rStagingMode.html

QUESTION 4An EJB application is targeted to a cluster. Remote EJB clients can therefore take advantage of WebLogic Server's load balancing and failover capabilities.

However, a proxy server exists between the clients and the cluster, which performs IP address translation. Which cluster attribute should you modify to ensure thatload balancing and failover work correctly?

A. Multicast AddressB. Persistent Store

Page 3: Oracle Weblogic Server 11g: System Administration I

C. Cluster AddressD. Migration BasisE. Replication Channel

Correct Answer: CSection: (none)Explanation

Explanation/Reference:Note:Updating Proxy Service Configurations for an Expanded Cluster

If your AquaLogic Service Bus configuration includes one or more proxy services that use JMS endpoints with cluster addresses, then you must also perform thefollowing procedure using the AquaLogic Service Bus Console after adding the new managed server to the cluster:

1. In the Change Center, click Create to create a session.

2. Using the Project Explorer, locate and select a proxy service that uses JMS endpoints with cluster addresses.3. At the bottom of the View Details page, click Edit.

4. If there is a cluster address in the endpoint URI, add the new server to the cluster address.

5. On the Edit a Proxy Service - Summary page, click Save.

6. Repeat step 2. through step 5. for each remaining proxy service that uses JMS endpoints with cluster addresses.

7. In the Change Center, click Activate.

The proxy services are now configured for operation in the extended domain.

Reference: eDocs Home > BEA AquaLogic Service Bus 2.0 Documentation > Deployment Guide > Configuring a Clustered Deployment

QUESTION 5You run the default startmanageWeblogic (.cmd in Windows) script as shown here:startmanageWeblogic.sh server1 http://192.168.1.102:8001.

What does this do?

A. It starts the administration server named server1, which is running at 192.168.1.102.8001.B. It starts the managed server named server1, which is running at 192.168.1.102.8001.C. It starts the managed server named server1 whose Node Manager is running at 192.168.1.102.8001.D. It starts the Managed Server named server1 whose Administration Server is running at 192.168.1.102:8001.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:A Managed Server is a WebLogic Server instance that runs deployed applications. It refers to the Administration Server for all of its configuration and deploymentinformation. Usually, you use Managed Servers to run applications in a production environment.

See step 4 and 5 below in particular:

To use the WebLogic Server scripts to start Managed Servers:

1. Refer to Starting Servers: Before You Begin for prerequisite tasks.

2. If you have not already done so, create one or more Managed Servers.

See Creating WebLogic Domains Using the Configuration Wizard or "Create Managed Servers" in the Administration Console Online Help.

3. Start the domain's Administration Server.

4. In a shell (command prompt) on the computer that hosts the Managed Server, change to the directory that contains the startManagedWebLogicscript:DOMAIN_NAME\bin\startManagedWebLogic.cmd (Windows)DOMAIN_NAME/bin/startManagedWebLogic.sh (UNIX)

where DOMAIN_NAME is the directory in which you located the domain. By default, this directory is BEA_HOME\user_projects\domains\DOMAIN_NAME.

5. Enter one of the following commands:

startManagedWebLogic.cmd managed_server_nameadmin_url (Windows)startManagedWebLogic.sh managed_server_nameadmin_url (UNIX)

where managed_server_name specifies the name of the Managed Server and admin_url specifies the listen address (host name or IP address) and port number ofthe domain's Administration Server.

For example, the following command uses startManagedWebLogic.cmd to start a Managed Server named myManagedServer. The listen address for the domain'sAdministration Server is AdminHost:7001:

c:\bea\user_projects\domains\mydomain\bin\startManagedWebLogic.cmd myManagedServer http://AdminHost:7001

6. For each Managed Server that you want to start, open a separate command shell and follow steps 4 and 5. If you are starting Managed Servers on anothermachine, log in to that machine (remotely or locally) and then follow steps 4 and 5.

Reference: Starting Managed Servers with a Startup Script

QUESTION 6An application requires a JDBC data source, which you create in the domain. You name it but the administrator allot another domain name the same data sourceDatasourceB.

Page 4: Oracle Weblogic Server 11g: System Administration I

Without modifying either domain, which is the best method to ensure that the application deploys successfully in both?

A. Create a separate application archive to use with each domain.B. Create a separate deployment plan file to use with each domain.C. Create and register a custom deployment listener.D. Modify the application code to determine the current domain.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:A WebLogic Server deployment plan is an optional XML document that you use to configure an application for deployment to a specific WebLogic Serverenvironment, such as a domain.

Reference: Deploying Applications To WebLogic Server, Configuring Applications for Production Deployment

QUESTION 7Identify three options for Keystores in a server's configuration.

A. Demo Identity and Demo TrustB. Demo Identity and Java Standard TrustC. Java Standard Identity and Custom TrustD. Custom Identity and Demo TrustE. Custom Identity and Custom TrustF. Custom Identity and Command Line Trust

Correct Answer: AEFSection: (none)Explanation

Explanation/Reference:Please refer to the screenshot below:

Incorrect answers:F: Custom Identity and Command Line Trust are not valid choices.

Reference:

http://docs.oracle.com/cd/E23549_01/apirefs.1111/e13952/pagehelp/Corecoreserverserverconfig keystoretitle.html#attributes

QUESTION 8When installing Oracle Weblogic Server 11g with the graphical installer, which three statements are true?

A. You must choose either a typical or a custom installation.B. You install under Microsoft Windows because the graphical installer is available only for WindowC. You may create a new middleware home directory or choose an existing one.D. You must register for critical security updates.E. You may install a JDK or choose one that was previously installed.

Correct Answer: ACESection: (none)Explanation

Explanation/Reference:Tasks WebLogic Server Product Installation ProcedureStep 1 - Obtain the appropriate installation file for your platform Step 2 - Complete the installation planning requirementsEnsure that your system environment meets the requirements for the installation. Also determine your Oracle Middleware home directory, and product installationhome directories. (C) When you are installing WebLogic Server, you are prompted to choose an existing Middleware home directory or specify a path to create anew Middleware home directory. If you choose to create a new directory, the installation program automatically creates it for you. Step 3 - Determine the appropriateinstallation mode for your situation Step 4 - Determine the type of installation(A) There are two types of installation Typical or Custom. The type of installation depends on the products and sub-components you want to install.Step 5 - Install the softwareStep 6 - Create a WebLogic domain

E: The JDK selection screen.This screen is displayed only if you selected a Custom installation. It is not displayed if you are running an Upgrade installer.This screen displays a list of JDKs. This list contains JDKs that are available for (and common across) previous installations of all the selected WebLogic Servercomponents.

Select the JDK that you want to install with the product.

Incorrect answers:B: There are different platforms on which Weblogic can be installed. Such as Windows, Linux, and UNIX.D: To receive updates you must register. However, you do not do that during the graphic installation phase.Note: You must have an active My Oracle Support account in order to download an Upgrade installer.You can also install patch releases using the Smart Update tool, which is included with WebLogic Server. Smart Update requires that you have an active My OracleSupport account.

If a patch release or patch set is available for your current WebLogic Server installation, you can download an Upgrade installer from My Oracle Support. Upgradeinstallers let you install an available patch release or patch set onto an existing WebLogic Server installation.

Reference: Oracle Fusion Middleware Installation Guide for Oracle WebLogic Server 11g Release 1, Running the Installation Program in Graphical Mode

Page 5: Oracle Weblogic Server 11g: System Administration I

Reference: Oracle Fusion Middleware Installation Guide for Oracle WebLogic Server 11g Release 1, Installation Overview

QUESTION 9Each domain has a directory called servers that contains subdirectories for each server in the domain. Your domain has a managed server named managed1.When will the managed1 directory be created?

A. When the managed1 server is defined in the configuration WizardB. When the domain is createdC. When the administration server comes up for the first timeD. When the managed1 server1 comes for the first time

Correct Answer: DSection: (none)Explanation

Explanation/Reference:This directory is created when the server is started for the first time.

QUESTION 10Identify three properties required by the domain Configuration Wizard when creating a new domain.

A. machine nameB. Managed Server nameC. domain startup modeD. domain nameE. administrator username and password

Correct Answer: CDESection: (none)Explanation

Explanation/Reference:C: Choose the Startup ModeSpecify the startup mode for your domain.Either Development or ProductionD: The Create WebLogic Domain window prompts you to specify the name and pathname for the domain, and initiate its creation.E: The Configure Administrator Username and Password window prompts you to specify a username and password to be used for starting the AdministrationServer.

Reference: Creating WebLogic Domains Using The Configuration Wizard http://docs.oracle.com/cd/E13179_01/common/docs92/confgwiz/newdom.html

QUESTION 11Which two statements are true about adding servers to a cluster?

A. When you create a cluster, you must add at least one server to it.B. Only managed servers can be in a cluster.C. The administration server is automatically added to a new cluster.D. You must explicitly identify which servers belong to the cluster.

Correct Answer: ABSection: (none)Explanation

Explanation/Reference:A cluster must include at least one server.A clustered is administered through an administration server, but the cluster consists of managed servers only.

QUESTION 12Consider a single JMS module that includes a connection factory as well as queue. Based on your system's requirements, the connection factory needs to be madeavailable to all servers in the domain. The queue, on the other hand, can be targeted to only a single JMS server domain.

What is the best way to achieve the desired JMS setup?

A. Create two subdeployments within the JMS module.B. Target the JMS server to the JMS module.C. Target the JMS module to the entire domain.D. Replace the queue with a topic.

Correct Answer: ASection: (none)Explanation

Explanation/Reference:A subdeployment is a mechanism by which JMS module resources (such as queues, topics, and connection factories) are grouped and targeted to a serverresource (such as JMS servers, server instances, SAF agents, or a cluster).For example, you can group a connection factory with stand-alone queues or topics in a subdeployment targeted to a specific JMS server, which guarantees that allthese resources are co-located to avoid extra network traffic. Another advantage of such a configuration would be if the targeted JMS server needs to be migratedto another WebLogic server instance, then the connection factory and all its connections will also migrate along with the JMS server's destinations. However, whenstand-alone queues or topics are members of a subdeployment, a connection factory can only be targeted to the same JMS server.

Reference: Oracle Fusion Middleware Oracle WebLogic Server Administration Console Online Help 11g Release 1, Configure subdeployments in JMS systemmodules

QUESTION 13Which three attributes are part of the configuration of an existing Managed Server and can be modified through the" administration console?

A. name of the serverB. the cluster it is inC. the machine it runs on

Page 6: Oracle Weblogic Server 11g: System Administration I

D. its replication groupE. whether it is in Development Mode or Production ModeF. that it should become the Administration Server for the domain

Correct Answer: BCDSection: (none)Explanation

Explanation/Reference:B: Attribute label: ClusterThe cluster to which this server belongs. If set, the server will listen for cluster multicast events.This is a configurable attribute.C: Attribute label: MachineThe WebLogic Server host computer (machine) on which this server is meant to run.This is a configurable attribute.D: Server --> Configuration --> ClusterA WebLogic Server cluster is a group of servers that work together to provide a more scalable, more reliable application platform than a single server.Use this page to specify a server's primary and secondary replication group, cluster weight, and the interface address used to handle multicast traffic.

Attribute label: Replication GroupDescription: Defines preferred clustered instances considered for hosting replicas of the primary HTTP session states created on the server.

Incorrect answers:A: Attribute Label: NameAfter you have created a server, you cannot change its name. Instead, clone the server and provide a new name for the clone.Note:An alphanumeric name for this server instance. This field will not accept spaces. Each server instance in your WebLogic environment must have a unique name,regardless of the domain or cluster in which it resides, or whether it is an Administration Server or a Managed Server. Within a domain, each server, machine,cluster, JDBC connection pool, virtual host, and any other resource type must be named uniquely and must not use the same name as the domain.

F: There is no attribute within a server's configuration that designates it as an Administration Server or Managed Server. Instead, the first server instance that youstart in a domain always functions as the Administration Server.Reference: BEA WebLogic Server 8.1 Documentation, Server --> Configuration --> General

QUESTION 14Which can be associated with multiple domains?

A. ClusterB. Server LogC. Node ManagerD. Administration Server

Correct Answer: CSection: (none)Explanation

Explanation/Reference: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 serverinstances in any WebLogic Server domain, as long as the server instances reside on the same machine as the Node Manager process.Incorrect answers:A: A cluster is part of a particular WebLogic Server domain.D: In each domain, one WebLogic Server instance acts as the Administration Server--the server instance which configures, manages, and monitors all other serverinstances and resources in the domain. Each Administration Server manages one domain only. If a domain contains multiple clusters, each cluster in the domainhas the same Administration Server.

Reference: Using Node Manager to Control ServersReference: Understanding WebLogic Server Clusteringhttp://docs.oracle.com/cd/E11035_01/wls100/cluster/overview.html

QUESTION 15Identify two supported methods of deploying a JMS module to a domain.

A. Create a module by using the administration console.B. Load a module into the WebLogic database.C. Include a module file within a web application archive.D. Include a module file within an enterprise application archive.E. Define a module within an existing JDBC module.

Correct Answer: ADSection: (none)Explanation

Explanation/Reference:A: Main Steps for Creating Packaged JMS Application ModulesFollow these steps to configure a packaged JMS module:If necessary, create a JMS server to target the JMS module to, as explained in "Configure JMS Servers" in the Administration Console Online Help.Create a JMS system module and configure the necessary resources, such as queues or topics, as described in "Configure JMS system modules and add JMSresources" in the Administration Console Online Help.The system module is saved in config\jms subdirectory of the domain directory, with a "- jms.xml" suffix.Copy the system module to a new location, and then:Give the module a unique name within the domain namespace.Delete the JNDI-Name attribute to make the module application-scoped to only the application. Add references to the JMS resources in the module to all applicableJ2EE application component's descriptor files, as described in Referencing a Packaged JMS Application Module In Deployment Descriptor Files.Package all application modules in an EAR, as described in Packaging an Enterprise Application With a JMS Application Module.Deploy the EAR, as described in Deploying a Packaged JMS Application Module.

D: JMS application modules can be packaged as part of an Enterprise Application Archive (EAR), as a packaged module. Packaged modules are bundled with anEAR or exploded EAR directory, and are referenced in the weblogic-application.xml descriptor. The packaged JMS module is deployed along with the EnterpriseApplication, and the resources defined in this module can optionally be made available only to the enclosing application (i.e., as an application-scoped resource).Such modules are particularly useful when packaged with EJBs (especially MDBs) or Web Applications that use JMS resources. Using packaged modules ensuresthat an application always has required resources and simplifies the process of moving the application into new environments.

Page 7: Oracle Weblogic Server 11g: System Administration I

Reference: Packaging JMS Application Modules In an Enterprise Application

QUESTION 16Which statement is true about the java Node Manager?

A. It runs on Windows not on LinuxB. In its secure form, it uses one-way SSL.C. It does not use the nodemanager.domains file, whereas the script-based Node Manager.D. Unlike the script based Node Manager, it should not be run as an operating system service

Correct Answer: BSection: (none)Explanation

Explanation/Reference:Node Manager security relies on a one-way SSL connection between the client and server.

Reference: Oracle Fusion Middleware Oracle WebLogic Server Administration Console Online Help 11g Release 1, Configuring Java-based Node ManagerSecurity http://docs.oracle.com/cd/E21764_01/web.1111/e13740/java_nodemgr.htm#i1068397

QUESTION 17Which two statements are true about a WebLogic domain?

A. It is the basic administrative unit of WebLogic Server.B. It is an optional administrative construct to organize groups of WebLogicC. Administration Servers are defined within a domain, but Managed ServersD. You must first have a domain to define a WebLogic Server cluster.E. Every domain has one Administration Server and at least one managed server

Correct Answer: ADSection: (none)Explanation

Explanation/Reference:A: A domain is the basic administration unit for WebLogic Server instances.D: To define a WebLogic Server cluster there must be a domain:

Note: Before you start the Managed Servers in a domain, start the Administration Server. When you start a standalone or clustered Managed Server, it contacts theAdministration Server for its configuration information. In this way, the Administration Server operates as the central control entity for the configuration of the entiredomain.

Reference: Configuring and Managing WebLogic Serverhttp://docs.oracle.com/cd/E13222_01/wls/docs81/adminguide/overview_domain.html

QUESTION 18Which two statements are true about multicast communication within a cluster?

A. Multicast can be used for cluster heartbeat messages.B. Multicast is used to replicate session state between servers.C. Multiple clusters can share the same multicast address and port.D. You may disable multicast on individual cluster members.E. Multicast traffic is often limited to a single subnet.

Correct Answer: AESection: (none)Explanation

Explanation/Reference:A: WebLogic Server instances in a cluster communicate with one another using two basic network technologies:* IP sockets, which are the conduits for peer-to-peer communication between clustered server instances.* IP unicast or multicast, which server instances use to broadcast availability of services and heartbeats that indicate continued availability.E: In many deployments, clustered server instances reside within a single subnet, ensuring multicast messages are reliably transmitted. However, you may want todistribute a WebLogic Server cluster across multiple subnets in a Wide Area Network (WAN) to increase redundancy, or to distribute clustered server instancesover a larger geographical area.

Reference: Using WebLogic Server Clusters, Communications In a Cluster http://docs.oracle.com/cd/E11035_01/wls100/cluster/features.html

QUESTION 19Identify two true statements about an Oracle WebLogic Server JMS Connection Factory.

A. A default JMS Connection Factory exists and is named weblogic.jms.connectionsB. A Connection Factory can be targeted to only one WebLogic Server.C. A JMS Connection Factory's Default Priority and Default Time-to-Live attribute cannot be modified after the Connection Factory is created.D. A JMS Connection factory can be created as a system module resource within the administration console.

Correct Answer: BDSection: (none)Explanation

Explanation/Reference:Incorrect answers:A: WebLogic JMS defines two default connection factories, which you can look up using the following JNDI names:weblogic.jms.ConnectionFactoryweblogic.jms.XAConnectionFactoryC: Both Default Priority and Default Time-to-live can be changed:Default Priority: This attribute is dynamic. It can be changed at any time. However, changing the value does not affect existing connections. It only affects newconnections made with this connection factory.

Default Time-to-Live:This attribute is dynamic. It can be changed at any time. However, changing the value does not affect existing connections. It only affects new connections made

Page 8: Oracle Weblogic Server 11g: System Administration I

with this connection factory.

Reference: Programming WebLogic JMS, Understanding WebLogic JMS

QUESTION 20In WLST, you enter the shutdown () command with no arguments. Which statement is true in this case?

A. The server you are connected to will shut down.B. The command does a "Force" shutdown.C. The command blocks user interaction.D. The command has timeout of 30,000 milliseconds.

Correct Answer: ASection: (none)Explanation

Explanation/Reference:The WLST life cycle shutdown command gracefully shuts down a running server instance or cluster.

Reference: WebLogic Scripting Tool ,Life Cycle Commands

QUESTION 21Which three statements are true about WebLogic users and groups?

A. A user is associated with a single security provider.B. A user can be a member of several groups.C. A group can contain other groups.D. A group consists of a name and a password.E. A group is associated with multiple security providers.F. Both users and groups are assigned a keystore.

Correct Answer: ABCSection: (none)Explanation

Explanation/Reference:B: For efficient security management, BEA recommends adding users to groups. A group is a collection of users who usually have something in common, such asworking in the same department in a company.

C: Example of group nesting:Every user is a member of the everyone group.The users group is nested within the everyone group.

Note: Security Providers - are modules that provide security service to application to protect Weblogic resource.Types of security providers in WebLogic Server areAuthentication Provider, Authorization Provider, Auditing Providers, Credential Mapping Provider, Identity Asser- tion Provider, Principal Validation Provider,Adjudication Providers, Role Mapping Providers, Certificate Lookup and Validation Providers, Keystore Providers and Realm Adapter providers

Incorrect answers:D: There is no password for a group.F: A keystore is a mechanism designed to store password-protected store private keys and trusted CA certificates. In the WebLogic Server security architecture, theWebLogic Keystore provider is used to access keystores. You cannot use a custom Keystore provider with WebLogic Server.

References: Securing WebLogic Resources, Users, Groups, And Security Roles

QUESTION 22Your production JMS server and/or its consumers are not able to handle the incoming message workload. The number of messages on the server never stabilizesand the server eventually becomes overload.Which JMS server attribute will best help prevent the JMS server from being overloaded by producers?

A. Producer Pause HighB. Messages Threshold HighC. Reconnect PolityD. Paging DirectoryE. Pool Maximum Capacity

Correct Answer: BSection: (none)Explanation

Explanation/Reference:JMS Configuration option ' Messages Threshold High':The upper threshold (number of messages stored in this JMS server) that triggers flow control and logging events. A value of -1 disables the events for this JMSserver. If the number of messages exceeds this threshold, the triggered events are:Log Messages- A message is logged on the server indicating a high threshold condition.Flow Control- If flow control is enabled, the JMS server becomes armed and instructs producers to begin decreasing their message flow.

Reference: Administration Console Online Help, JMS Server: Configuration: Thresholds and Quotas

QUESTION 23Which three statements are true about WebLogic clusters?

A. Clusters provide clients with transparent failover.B. EJB applications can be targeted to an entire cluster.C. All cluster members must bind to the same port number.D. Cluster members replicate application data by using heartbeats.E. Cluster members can be associated with one or more domains.F. Web applications require a proxy in order to be used in a cluster.

Page 9: Oracle Weblogic Server 11g: System Administration I

Correct Answer: ABCSection: (none)Explanation

Explanation/Reference:A: If an object is clustered, failover and load balancing for that object is available. In a WebLogic Server cluster, application processing can continue when a serverinstance fails. You "cluster" application components by deploying them on multiple server instances in the cluster--so, if a server instance on which a component isrunning fails, another server instance on which that component is deployed can continue application processing.

The choice to cluster WebLogic Server instances is transparent to application developers and clients.

B: A clustered application or application component is one that is available on multiple WebLogic Server instances in a cluster. If an object is clustered, failover andload balancing for that object is available. Deploy objects homogeneously--to every server instance in your cluster --to simplify cluster administration, maintenance,and troubleshooting.

Web applications can consist of different types of objects, including Enterprise Java Beans (EJBs), servlets, and Java Server Pages (JSPs).

Note: Load balancing and failover for EJBs and RMI objects is handled using replica-aware stubs, which can locate instances of the object throughout the cluster.

C: Cluster Multicast Address and PortIdentify the address and port you will dedicate to multicast communications for your cluster.

Incorrect answers:

D: Cluster heartbeats-- Each WebLogic Server instance in a cluster uses multicast to broadcast regular "heartbeat" messages that advertise its availability. Bymonitoring heartbeat messages, server instances in a cluster determine when a server instance has failed.E: All server instances in a cluster must reside in the same domain; you cannot "split" a cluster over multiple domains. Similarly, you cannot share a configuredresource or subsystem between domains.F: Proxy might be needed depending how you set up the architecture, but a proxy is not required for web applications.

Reference: Using WebLogic Server Clusters , Understanding WebLogic Server Clustering

QUESTION 24Which three statements are true when an Administration Server is compared to a managed server?

A. A domain must have at least one of each type of server.B. Administration Server keeps a domain log, but a Managed Server does not.C. A Managed Server keeps a server log, but an Administration Server does not.D. When a Managed Server comes up, it asks its Administration Server for the latest configuration.E. An Administration Server manages the domain configuration.F. JEE applications are deployed only to a Managed Server.

Correct Answer: DEFSection: (none)Explanation

Explanation/Reference:D: When a Managed Server starts, it contacts the Administration Server to retrieve its configuration information. If a Managed Server is unable to connect to thespecified Administration Server during startup, it can retrieve its configuration directly by reading a copy of the config.xml file and other files located on the ManagedServer's own file system.E: One instance of WebLogic Server in each domain acts as an Administration Server. The Administration Server provides a central point for managing a WebLogicServer domain.F: For a typical production system, BEA recommends that you deploy your applications only on Managed Servers. This practice allows you to dedicate theAdministration Server to configuration and monitoring of the domain, while one or more Managed Servers service your applications.

Incorrect answers:A: In a domain with only a single WebLogic Server instance, that server functions both as Administration Server and Managed Server.B, C: Many WebLogic Server operations generate logs of their activity. Each server has its own log as well as a standard HTTP access log. These log files can beconfigured and used in a variety of ways to monitor the health and activity of your servers and applications.

Reference: Overview of WebLogic Server System Administration

QUESTION 25Which three tasks can be performed by the Node manager?

A. Start a server.B. Define a node server.C. Host the Node Manager console.D. Automatically restart a failed server.E. Kill a failed application on a server.F. Kill the process of a server that did not shut down properly.

Correct Answer: ABDSection: (none)Explanation

Explanation/Reference:Node Manager enables you to perform these tasks:* Start and stop remote Managed Servers. (A)* Monitor the self-reported health of Managed Servers and automatically kill server instances whose health state is "failed".* Automatically restart Managed Servers that have the "failed" health state, or have shut down unexpectedly due to a system crash or reboot. (D)

QUESTION 26You have successfully created a global data source and connection pool via the administration console.

In which directory relative to the domain will this new data source and connection pool definition located?

A. in a directory named config/dataSourceB. in a directory named config/connPoolC. in a directory named config/resources

Page 10: Oracle Weblogic Server 11g: System Administration I

D. in a directory named config/jdbcE. in a directory named config

Correct Answer: DSection: (none)Explanation

Explanation/Reference:When you create a JDBC resource (data source or multi data source) using the Administration Console or using the WebLogic Scripting Tool (WLST), WebLogicServer creates a JDBC module in the config/jdbc subdirectory of the domain directory, and adds a reference to the module in the domain's config.xml file.

Reference: Configuring WebLogic JDBC Resources

QUESTION 27What is the maximum number of targets (standard or migrate) that you can configure for a JMS server?

A. 0B. 1C. 2D. No limit

Correct Answer: DSection: (none)Explanation

Explanation/Reference:To configure the migratable target servers for JMS-related service migration:1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).2. In the Domain Structure tree, expand Environment, then select Migratable Targets.3. On the Summary of Migratable Targets page, click New.On the Create a new Migratable Target page:In Name, enter a name for the migratable target.In Cluster, select a configured cluster for the migratable target.

Reference: Configure migratable targets for JMS-related services

QUESTION 28You are deploying a web application called inventory.war. It has been installed and has the Stat* "Prepared." It is targeted to the Managed Server namedmanaged1. The web application's context route is /inventory and the starting page is index.jsp

However, you want to test the application before allowing end users access to it. In the administration console, you select inventory-war, and then select Start and"Servicing only administration requests.

In your web browser, you need to enter a host and port followed by /inventory/index.jsp. What host and port would you use?

A. managed, host and portB. Administration Server host and portC. Managed1 host and Administration portD. Administration Server host and Administration port

Correct Answer: DSection: (none)Explanation

Explanation/Reference:Servicing only administrative requests: Specifies that WebLogic Server make the application available in Administration Mode only.While in Administration mode, the application can be accessed only by internal clients through a configured Administration port.

Reference: Oracle Fusion Middleware Oracle WebLogic Server Administration Console Online Help 11g Release 1, A weblogic.Deployer Command-Line Reference

QUESTION 29You deployed a simple web application WAR by using the administration console. Its state is currently "Active."

In the administration console, under Configuration of the application, you change some deployment descriptor values.

What happens when you save such changes?

A. The changes are in memory and temporaryB. This is not possible because changes cannot be made to an "Active" application.C. You are prompted to select a location for a new deployment plan where the changes will be stored.D. The archive is opened and new versions of the deployment descriptors are placed within it.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:Note: You can use the Administration Console to configure selected deployment descriptor element values for an EJB that is deployed as an exploded application.To configure editable deployment descriptor values for an EJB that is deployed as an exploded application:

1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).2. In the left pane of the Administration Console, select Deployments.3. In the right pane, click the desired EJB module.4. Select the Configuration > General tab.Selected deployment descriptor elements for the EJB are listed.5. Enter new values for the elements you want change, and click Save.6. To activate these changes, in the Change Center of the Administration Console, click Activate Changes.

Not all changes take effect immediately--some require a restart

Reference: Oracle Fusion Middleware Oracle WebLogic Server Administration Console Online Help 11g Release 1, Configure deployment descriptor values

Page 11: Oracle Weblogic Server 11g: System Administration I

QUESTION 30Your server includes an application that uses a generic JDBC data source to connect to a database. However, the network connection between the server and thedatabase is not 100% reliable.

You wish to avoid scenarios in which the application fails due to a failed JDBC connection. Identify two data source attributes to help accomplish this.

A. Statement CacheB. Pool Reserve ModeC. Test Table NameD. Test Connection ModeE. Test Connections on Reserve

Correct Answer: AESection: (none)Explanation

Explanation/Reference:A: Each connection in a data source has its own individual cache of prepared and callable statements used on the connection. However, you configure statementcache options per data source. That is, the statement cache for each connection in a data source uses the statement cache options specified for the data source,but each connection caches it's own statements.E: When Test Connections On Reserve is enabled, when your application requests a connection from the data source, WebLogic Server tests the connection usingthe query specified in Test Table Name before giving the connection to the application.

Testing reserved connections can cause a delay in satisfying connection requests, but it makes sure that the connection is viable when the application gets theconnection.

Reference: Oracle Fusion Middleware Oracle WebLogic Server Administration Console Online Help 11g Release 1, Configuring JDBC Data Sourceshttp://docs.oracle.com/cd/E12839_01/web.1111/e13737/jdbc_datasources.htm#i1192665

QUESTION 31You have selected Configuration Archive Enabled for the domain. When a configuration change and activated, where is the previous version of the configurationarchived?

A. in the Oracle databaseB. in the config directoryC. in the pending directoryD. in the console-ext directoryE. in the configArchive directory

Correct Answer: ESection: (none)Explanation

Explanation/Reference:You can configure WebLogic Server to make backup copies of the configuration files. This facilitates recovery in cases where configuration changes need to bereversed or the unlikely case that configuration files become corrupted. When the Administration Server starts up, it saves a JAR file named config-booted.jar thatcontains the configuration files. When you make changes to the configuration files, the old files are saved in the configArchive directory under the domain directory,in a JAR file with a sequentially-numbered name like config-1.jar. Reference: Understanding Domain Configuration, Configuration File Archiving http://docs.oracle.com/cd/E12840_01/wls/docs103/domain_config/config_files.html

QUESTION 32When a typical application utilizes a JDBC data source, the process involves several steps.Identify three of these steps.

A. The application returns the connection to the data source.B. The application looks up the data source using the JNDI name.C. The application tests the connection to verify the database's availability.D. The application adds a new connection to the data source if none are available.E. The application requests a connection from the data source.

Correct Answer: BDESection: (none)Explanation

Explanation/Reference:Applications look up the data source on the JNDI tree or in the local application context (B) and then reserve a database connection with the getConnection (E)method. Data sources and their connection pools provide connection management processes that help keep your system running and performant.B: JNDI Name - Enter the JNDI path to where this JDBC data source will be bound. Applications look up the data source on the JNDI tree by this name whenreserving a connection.

Note: If you've done any work with JDBC DataSources in a Web application, you already understand the basic process: create an initial JNDI (Java Naming andDirectory Interface) context, then use the context to perform a "lookup" to retrieve your DataSource.

Incorrect answers:C: The test is optional and if it is executed by weblogic before releasing the connection to the application

Reference: Administration Console Online Help, Create JDBC data sources http://docs.oracle.com/cd/E15051_01/wls/docs103/ConsoleHelp/taskhelp/jdbc/jdbc_datasources/ CreateDataSources.html

QUESTION 33As an Oracle WebLogic Server administrator, you are given an EAR file application to deploy.Identity three reasons for creating an EAR file first.

A. After the .ear file has been deployed, the developer will not have to ask for your assistance to deploy it again.B. The EAR file is created to avoid namespace clashes in the Java code.C. The EAR file can contain multiple WAR, EAR, and other resources to easily bundle together.D. The EAR file is required if you are deploying an application.E. The EAR file can declare application-wide security roles definitions.

Page 12: Oracle Weblogic Server 11g: System Administration I

Correct Answer: ABESection: (none)Explanation

Explanation/Reference:E: An EARfile contains:* Web moduleA WAR file containing the view logics like JSPs, Servlets, Html contents. Every web module must have one Web Deployment descriptor placed inside "WEB-INF/web.xml"

web.xml is a J2EE standard deployment descriptor. Among other settings, it has a set of elements for configuring security for the web application.

Note:* An EAR file provides a convenient way to bundle up all pieces of a J2EE application. It may contain Java Module, WAR Module or an EJB Jar module.An EAR can contain at least any one of these modules. EAR may contain more Modules as well.* To bring your portal online in a production environment, it is first necessary to prepare your portal application. Typical preparation steps include modifyingdeployment descriptors for the product, building the Enterprise archive (EAR) with all its pre-compiled classes, and deciding if you want to compress that EAR intoan archive or leave it exploded.

Reference: Preparing and Deploying the EAR File

QUESTION 34Identify three types of JMS resources that can be configured as a part of a JMS module.

A. JMS Distributed DestinationB. JMS Connection FactoryC. JMS Data SourceD. JMS DestinationE. JMS Server

Correct Answer: ABDSection: (none)Explanation

Explanation/Reference:Configurable JMS Resources in ModulesThe following configuration resources are defined as part of a system module or an application module:* Distributed destinations (A, D)* Connection factories (B)* Queue and topic destinations* Templates* Quota* Foreign servers* MS store-and-forward (SAF) configuration items

All other JMS environment-related resources must be configured by the administrator as domain configuration resources. This includes:* JMS servers required (not E)* Store-and-Forward agents (optional)* Path service (optional)* Messaging bridges (optional)* Persistent stores (optional)

Reference: Configuring And Managing WebLogic JMS, Configurable JMS Resources in Modules

QUESTION 35A managed server, myserver1, has a boot.properties file in the security directory. It was started with the startManageWeblogic.sh script(.cmd in windows) and hisboot.properties file was used for its startup credentials.

You just used the administration console to change all administrator passwords. To continue using boot.properties, what can you do?

A. This is not possible. A boot.properties file can be used only with the Administration Server.B. Delete boot.properties. In the administration console, under the myserver configuration, select Generate Boot Identity file.C. You need not do anything- The password in boot .properties was automatically updated by administration console when you changed the password.D. Edit boot.propetties. Type over the encrypted password with the new password in clear text.

The next time myserver1 is started, it will encrypt the password in the file.E. Delete boot .properties. Use the WLST encrypt () command to create a new boot.properties file containing the new password. Copy that file into the security

directory of myserver1

Correct Answer: DSection: (none)Explanation

Explanation/Reference:If you install the WebLogic Server Examples component, the default user weblogic is created that has permission to start and stop WebLogic Server. The defaultpassword is welcome1. If you change the password of the weblogic user, WebLogic Server does not automatically update this password in the boot.properties file,which is located in the DOMAIN_NAME/servers/AdminServer/security directory.

If you change the password for user weblogic, you can use either of the following workarounds so that you can continue to boot a WebLogic Server instance via thatusername and its new password:

* Remove the boot.properties file. Subsequently each time you start WebLogic Server, you are prompted for the username and password. The changed passwordfor the weblogic user will be accepted.* Modify the existing boot.properties file, changing the username and password as follows:

username=weblogicpassword=welcome1Subsequently during the server startup process, the boot.properties file is encrypted again.

Reference: Oracle Fusion Middleware Oracle WebLogic Server Administration Console Online Help 11g Release 1, Limitation Regarding User weblogichttp://docs.oracle.com/cd/E15523_01/web.1111/e13708/overview.htm

QUESTION 36Refer to the Exhibit.

Page 13: Oracle Weblogic Server 11g: System Administration I

Which three statements are true about using the administration console to shut down a server?

A. The configuration must first be locked.B. The choice "Force Shutdown Now" drops in-work requests.C. Both the choices, "When work completes" and "Force Shutdown Now", reject any new requests.D. The choice "When work completes" allows in work requests to complete before the server down.E. The administration console can be used to shut down Managed Servers, such as managed not the Administration Server.

Correct Answer: BCDSection: (none)Explanation

Explanation/Reference:B: select Force Shutdown Now to stop the server immediately without completing ongoing tasks.D: Select When Work Completes to gracefully shut down the server A graceful shutdown gives WebLogic Server subsystems time to complete certain applicationprocessing currently in progress.Screenshot:

Incorrect answers:A: You can shutdown a managed server without selecting "lock & edit".E: The Administration server can also be shutdown.

QUESTION 37Your company is developing batch order system that utilities JMS. Each order message that is created will be broadcasted to and consumed by several orderprocessing and billing applications.

As part of configuring the domain that will support this system, which type of JMS destination resource should you create?

A. GridB. QueueC. TopicD. BatchE. Client

Correct Answer: CSection: (none)Explanation

Explanation/Reference:A JMS destination identifies a queue (point-to-point) or topic (publish/subscribe) resource within a JMS module.A JMS topic identifies a publish/subscribe destination type for a JMS server. Topics are used for asynchronous peer communications. A message delivered to atopic is distributed to all consumers that are subscribed to that topic.

Reference: Configuring Basic JMS System Resources,Queue and Topic Destination Configuration

QUESTION 38You monitor a running JDBC data source with the console and note the following values:

Current Capacity = 10Current Capacity High Count = 20

Identify two plausible explanations for these metrics.

A. The pool size has increased.B. The pool size has decreased.C. The workload was higher than it is now.D. The workload was lower than it is now.

Page 14: Oracle Weblogic Server 11g: System Administration I

E. The statement cache size is 10.F. The statement cache size is 20.

Correct Answer: BCSection: (none)Explanation

Explanation/Reference:The pool size has decreased from a maximum 20 to 10.The workload has been 20. Now it is 10. The workload was higher.

Note: Current Capacity: The current count of JDBC connections in the connection pool in the data source.Current Capacity High Count: Highest number of database connections available or in use (current capacity) in this instance of the data source since the datasource was deployed.

Note:Incorrect answers:E, F: The statement cache deals with statements. Current capacity and Current Capacity High Count deals with connections.Statement Cache Size shows the total number of statements to cache for each connection in each instance of the data source. WebLogic Server can reusestatements in the cache without reloading the statements, which can increase server performance. Each connection in the connection pool has its own cache ofstatements.

Reference: Administration Console Online Help, JDBC Data Source: Monitoring: Statistics

QUESTION 39Identify the server attributes that you must configure to communicate with the server via HTTPS.

A. SSL Listen AddressB. SSL listen PortC. SSL Listen Port EnabledD. Production Mode EnabledE. Startup Mode

Correct Answer: BSection: (none)Explanation

Explanation/Reference:Enabling SSL under WLS 10.3See step 6) below.

Steps to configure WLS for SSL:1) Open the WLS console2) Select from the Domain Structure -> (your domain) -> Environment -> Servers3) Select the server from the Summary of Servers page you wish to configure for SSL.4) Under the Settings for (server name) page, select the Configuration tab, then General tab (the defaults).5) If WLS is running in production mode, select the Lock & Edit button.6) Select the SSL Listen Port Enabled checkbox, and enter your preferred port in the SSL Listen Port.7) Press the Save button.8) If WLS is running in production mode, select the Release Configuration button.

Reference: Enabling SSL and disabling non-SSL under WLS 10.3

QUESTION 40You are creating a new domain by using the Configuration Wizard, based solely on the Basic WebLogic Server Domain product (no template). Select threeresources that you can create while still in the Configuration Wizard.

A. Administration ServerB. Managed ServerC. Data ServerD. JMS ServerE. ClusterF. Domain Log

Correct Answer: ABESection: (none)Explanation

Explanation/Reference:A: The Configure the Administration Server window prompts you to define the configuration information for the Administration Server, including:Administration Server nameListen addressNonsecure and secure (optional) listen portsB: The Configure Managed Servers window prompts you to define the configuration information for one or more Managed Servers, including:Managed Server nameListen addressNonsecure and secure (optional) listen portsE: The Configure Clusters window prompts you to define the configuration information for one or more clusters, including:Cluster nameMulticast address and portCluster address that identifies the Managed Servers in the cluster Frontend host if you are using a proxy server or a firewall. Frontend HTTP port if you are using aproxy server or a firewall. Reference: To create a custom domain with Managed Servers, a cluster, and application services http://docs.oracle.com/cd/E13196_01/platform/docs81/confgwiz/tutorials.html

QUESTION 41Which three statements are true about the administration console?

A. The administration console cannot be disabled.B. The context path of the administration console may be changed.C. The administration console may be extended.D. If a domain is in Development Mode, the administration console no longer requires an administration-level user when logging in.

Page 15: Oracle Weblogic Server 11g: System Administration I

E. If a domain is in Production Mode, access to the administration console must be made through secure port.F. If the domain's Administration Port is enabled, access to the administration console must be made only through that port.

Correct Answer: BCFSection: (none)Explanation

Explanation/Reference:B: The Console Context Path is an advance configuration option. The context path that you want to use in URLs that specify the Administration Console. Note:Create a new WebLogic Server domain based on a template. Templates allow you to re-create an existing do- main for use in another context, such as migrating adomain containing an application under development to a pro- duction environment.

C: An Administration Console extension is a WAR file that contains the resources for a section of a WebLogic Portal Web application. When you deploy theextension, the Administration Console creates an in-memory union of the files and directories in its WAR file with the files and directories in the extension WAR file.Once the extension has been deployed, it is a full member of the Administration Console: it is secured by the WebLogic Server security realm, it can navigate toother sections of the Administration Console, and if the extension modifies WebLogic Server resources, it participates in the change control process.

Incorrect answers:A: Exposing the console in your production environment might be security issue. In those cases you can either dis- able the console or hide it. Needless to say if youdisable the console then your only option is to depend on com- mand-line and scripting tools for any other administration activity or to even enable the console back.But hiding will provide a level or security.

To disable the console:In the admin console navigate to --> General --> Advanced Options --> Console Enabled. De-select that option to disable console (restart required).To hide the cosole:E: Access through a secure port is recommended, but not required:The administration port requires all communication to be secured using SSL. By default, all servers in a do- main use demonstration certificate files for SSL, butthese certificates are not appropriate for a production environment.

Reference: Administration Console Online Help, Advanced Configuration Options Reference: Extending the Administration Console for Oracle WebLogic Server11g Release 1

QUESTION 42Which three statements are true about deployment plans?

A. A plan is an XML file.B. A plan is packaged within an application archive.C. You can generate a new plan with the administration console.D. A plan is a required to deploy EJB applications and modules.E. A plan may override values in an application's deployment descriptors.F. A single application deployment can be associated with multiple plans.

Correct Answer: ACESection: (none)Explanation

Explanation/Reference:A: A deployment plan is an XML document that defines an application's WebLogic Server deployment configuration for a specific WebLogic Server environment.C: The Administration Console updates or creates new deployment plans as necessary when you change configuration properties for an installed application.E: A deployment plan can apply changes to deployment properties stored in the application's existing WebLogic Server deployment descriptors.Incorrect answers:B: A deployment plan resides outside of an application's archive file.

Reference: Overview of WebLogic Server Application Development, Deployment Plans

QUESTION 43All the servers in your domain are running.

After you connect to the Administration Server in WLST you run the following command, which completes with no error:

Progress = deploy (appName = `salesapp', path = `sales.war', target = managed1, managed2', planpath = `plan.xml')

Which two statements are true?

A. The web application is now "Active."B. The command creates new deployment plan called plan.xml.C. In the administration console, the name of this deployment is sales.war.D. The web application has been targeted to managed1, managed2, and the Administration Server.E. You can view the status of the deployment by sending a message to the object named progress.

Correct Answer: AESection: (none)Explanation

Explanation/Reference:They deploy command is used to deploy an application to a WebLogic Server instance. (A) The deploy command returns a WLSTProgress object that you canaccess to check the status of the command. (E)

Note:Syntaxdeploy(appName, path, [targets], [stageMode], [planPath], [options])

* appNameName of the application or standalone J2EE module to be deployed.* targetsOptional. Comma-separated list of the target. Each target may be qualified with a J2EE module name (for example, module1@server1) enabling you to deploydifferent modules of the application archive on different servers. This argument defaults to the server to which WLST is currently connected.

Note 2: The WebLogic Scripting Tool (WLST) is a command-line scripting interface that system administrators and operators use to monitor and manage WebLogicServer instances and domains.

Incorrect answers:

Page 16: Oracle Weblogic Server 11g: System Administration I

B: PlanPath is not created by default. The option createPlan is a Boolean value indicating that user would like to create a default plan. This option defaults to false.* planPath Optional. Name of the deployment plan file. The filename can be absolute or relative to the application directory. This argument defaults to the plan/plan.xml file in the application directory, if one exists.C: sales.war is not the name of the deployment.* pathName of the application directory, archive file, or root of the exploded archive directory to be deployed.

Reference: WebLogic Scripting Tool, WLST Command and Variable Reference

QUESTION 44Your task is to create and start a managed server on a "remote" computer (a computer other than the one where the domain has been created and theAdministration server is currently running).

So far you have:1. Created the managed server, called startmanaged1, in the administration console2. Created a managed server" JAR file template by using the pack command or, the Administration server computer.

Which order of steps on the remote computer will successfully finish your task?

A. 3. Copy the JAR file from the Administration Server computer.4. Run the unpack command on the JAR file.5. In the new domain folder created by the command, start managed: by using the startManagedWebLogic. sh script (. cmd in Windows), which is found underits bin directory

B. 3. Install WebLogic Server.4. Copy the JAR file from the Administration Server computer.5. Run the unpack command on the JAR file.6. In the administration console, under the Control tab, select managed1 and click the Start button.

C. 3. Install WebLogic Server.4. Copy the JAR file from the Administration Server computer.5. Run the unpack command on the JAR file.6. In the new domain folder created by the command, start managed1 by using the Logic. sh script (. cmd in Windows), which is found under its bin directory.

D. 3. Install WebLogic Server.4. Copy the JAR file from the Administration Server computer.5. Run the unpack command on the JAR file.6. In the new domain folder created by the command, startmanaged1 by using the startManagedWeblogic.sh script (. cmd in Windows), which is found under itsbin directory.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:Creating a Managed Server on a Remote Machine(Step 3) * Install WebLogic Server on the machines on which you want to host Managed Servers for the WebLogic domain.* Establish a session with the remote machine. You may use any valid method, such as telnet, to do so.Step 4:* Copy the Managed Server template to the remote machine.* On the remote machine, navigate to the WLS_HOME\common\bin directory.* (Step 5) Run the following command:

unpack -domain=domain -template=template.jar

Starting Managed Servers on a Remote Machine* Start the Administration Server for the WebLogic domain* On the remote machine, navigate to the directory for the WebLogic domain that you created *(Step 6) Start the Managed Server on the remote machine.On a Windows system, run one of the following commands at the DOS prompt:startmy_managed_serverstartManagedWebLogic my_managed_server admin-urlOn a UNIX system, run one of the following commands:./startmy_managed_server.sh./startManagedWebLogic.sh my_managed_server admin-urlReference: Oracle Fusion Middleware Oracle WebLogic Server Administration Console Online Help 11g Release 1, Reference: Creating and Starting a ManagedServer on a Remote Machine

QUESTION 45Identify three attributes of a WebLogic cluster.

A. Listen AddressB. Cluster AddressC. Cluster FactoryD. Messaging ModeE. ServersF. Targets

Correct Answer: BDESection: (none)Explanation

Explanation/Reference:WebLogic Cluster Attributes includes:B: * ClusterAddressDefines the address to be used by clients to connect to this cluster. This address may be either a DNS host name that maps to multiple IP addresses or a commaseparated list of single address host names or IP addresses. If network channels are configured, it is possible to set the cluster address on a per channel basis.D: The Message Mode of a cluster can be either Unicast or multicast.E: Managed Servers are included in a WebLogic cluster.

Note: The config.xml file is an XML document that describes the configuration of a WebLogic Server domain. config.xml consists of a series of XML elements. TheDomain element is the top- level element, and all elements in the Domain descend from the Domain element. The Domain element includes child elements, suchas the Server, Cluster, and Application elements. These child elements may have children of their own. For example, the Server element includes the childelements WebServer, SSL and Log. The Application element includes the child elements EJBComponent and WebAppComponent.

Each element has one or more configurable attributes. An attribute defined in config.dtd has a corresponding attribute in the configuration API. For example, theServer element has a ListenPort attribute, and likewise, the weblogic.management.configuration.ServerMBean has a ListenPort attribute. Configurable attributes are

Page 17: Oracle Weblogic Server 11g: System Administration I

readable and writable, that is, ServerMBean has a getListenPort and a setListenPort method.

Reference: WebLogic Server Configuration Reference, Cluster attributes http://docs.oracle.com/cd/E13222_01/wls/docs81/config_xml/Cluster.html#447012

QUESTION 46A client accesses a web application named companystore that is running on WebLogic Server. After adding several items to the shopping cart, the host servercrashes. The client is automatically redirected to another server by a proxy, but the shopping cart is now empty. Which WebLogic Server feature would you enableto remedy this situation?

A. Application PersistenceB. Message PersistenceC. Session ReplicationD. Dynamic FailoverE. Stateful Pooling

Correct Answer: CSection: (none)Explanation

Explanation/Reference:In order for a cluster to provide high availability it must be able to recover from service failures. In clusters that utilize Web servers with WebLogic proxy plug-ins, theproxy plug-in handles failover transparently to the client. If a server fails, the plug-in locates the replicated HTTP session state on a secondary server and redirectsthe client's request accordingly.

Reference: Using WebLogic Server Clusters, Failover and Replication in a Cluster

QUESTION 47Which three statements are true about the Change Center in administration console?

A. The Change Center has a link to view the changes made so far.B. The Change Center is available only in a Production Mode domain.C. The Change Center has a link to view any servers that need to be restarted.D. After activating the changes to a server's configuration, you must always restart that server.E. In a Development Mode domain, the configuration lock can be acquired automatically.F. Changes must always be activated before they can be undone.

Correct Answer: ACESection: (none)Explanation

Explanation/Reference:A: You can view any changes that you have saved, but not yet activated, by clicking the View Changes and Restarts link in the Change Center.C: The View Changes and Restarts link presents two tabs, Change List and Restart Checklist:

* The Change List tab presents all changes that have been saved, but not yet activated.* The Restart Checklist lists all servers for which non-dynamic changes have been activated, but which require restarts before the changes become effective.

Incorrect:D: is wrong because dynamic changes usually don't require a restart if that is all that was changed. If it were mix of dynamic and non-dynamic changes it wouldrequire a restart.F: is wrong because in production mode the change center has the "undo all changes" button so you don't have to activate the changes before you undo them.

Reference: Using the Change Centerhttp://docs.oracle.com/cd/E13222_01/wls/docs103/intro/console.html#wp1122447

QUESTION 48Identify two methods for utilizing WebLogic Server's production redeployment feature.

A. Specify a version identifier when deploying the application.B. Include a version identifier in the application's manifest file.C. Provide a version identifier when running the Plan Generator tool.D. Include a unique context root in the application's descriptor files.

Correct Answer: ABSection: (none)Explanation

Explanation/Reference:A: If you are testing the production redeployment feature, or you want to use production redeployment with an application that does not include a version string inthe manifest file, specify a unique version string by using the -appversion option when deploying or redeploying an applicationB: To assign a version identifier to an application, BEA recommends that you store a unique version string directly in the MANIFEST.MF file of the EAR or WARbeing deployed.

Reference: Redeploying Applications in a Production Environment, Specifying an application version identifierhttp://docs.oracle.com/cd/E11035_01/wls100/deployment/redeploy.html#wp1020276

QUESTION 49Identify four attributes of a JDBC data source.

A. URLB. TargetsC. JNDI NameD. Delivery ModeE. Database DriverF. Server Log

Correct Answer: ABCESection: (none)Explanation

Page 18: Oracle Weblogic Server 11g: System Administration I

Explanation/Reference:A: When creating a JDBC data source using the Administration Console, you are prompted to select a JDBC driver. The Administration Console provides the driverclass name and helps you construct the URL as required by the driver.B: JDBC Data Source: Targets. Use this page to select the servers or clusters on which you would like to deploy this JDBC data source.C: JNDI Name, The JNDI path to where this data source is bound. By default, the JNDI name is the name of the data source.E: When deciding which JDBC driver to use to connect to a database, you should try drivers from various vendors in your environment. In general, JDBC driverperformance is dependent on many factors, especially the SQL code used in applications and the JDBC driver implementation.

Reference: Configuring and Managing WebLogic JDBC, Understanding JDBC Data Sources

QUESTION 50Identify two reasons for defining machines and assigning servers to them in Weblogic Server.

A. A machine can be the proxy to a cluster.B. A machine definition is required to configure the Node Manager.C. To reference an instance of WebLogic Server, you must know its machine and port.D. Machine is a required organizational unit. A domain contains machines and machines contain servers.E. WebLogic Server uses server machine assignments to help it choose servers in a cluster on which to replicate session state.F. The machine's Cluster Weight attribute may be used by load balancers to help them determine how often to send requests to servers assigned to that machine.

Correct Answer: BESection: (none)Explanation

Explanation/Reference:B: The Administration Server uses the machine definition in conjunction with the Node Manager application to start remote WebLogic Server instances.E: By default, WebLogic Server attempts to create session state replicas on a different machine than the one that hosts the primary session state. You can furthercontrol where secondary states are placed using replication groups. A replication group is a preferred list of clustered servers to be used for storing session statereplicas.Using the WebLogic Server Console, you can define unique machine names that will host individual server instances. These machine names can be associatedwith new WebLogic Server instances to identify where the servers reside in your system. Machine names are generally used to indicate servers that run on thesame machine.

Reference: Administration Console Online Help, MachinesReference: Failover and Replication in a Cluster

QUESTION 51The computer that the Administration Server was running on has crashed and cannot be restarted. Which three steps are required to bring up the AdministrationServer on the backup computer?

A. Move the crashed computer's IP address to the backup computer.B. Have WebLoqic Server installed on the backup computer.C. Have a copy of the configuration and security files of the domain on the backup computer.D. Shut down the managed servers of the domain.E. Start the Administration Server on the backup computer.

Correct Answer: BCESection: (none)Explanation

Explanation/Reference:If a machine crash prevents you from restarting the Administration Server on the same machine, you can recover management of the running Managed Servers asfollows:(B) 1. Install the WebLogic Server software on the new administration machine (if this has not already been done).2. Make your application files available to the new Administration Server by copying them from backups or by using a shared disk. Your application files should beavailable in the same relative location on the new file system as on the file system of the original Administration Server. (C) 3. Make your configuration and securitydata available to the new administration machine by copying them from backups or by using a shared disk. For more information, refer to Directory and FileBackups for Failure Recovery.(E) 4. Restart the Administration Server on the new machine.

Reference: Avoiding and Recovering From Server Failure, Restarting an Administration Server on Another Machine

QUESTION 52You received a signed certificate from a Certificate Authority and you wish to use the keytool command-line utility to store it in your keystore. Which command ofkeytool would you us

A. genkey pairB. import certC. gensockeyD. importkeystoreE. storepasswd

Correct Answer: BSection: (none)Explanation

Explanation/Reference:B: keytool importReads the certificate or certificate chain (where the latter is supplied in a PKCS#7 formatted reply) from the file cert_file, and stores it in the keystore entry identifiedby alias. If no file is given, the certificate or PKCS#7 reply is read from stdin. keytool can import X.509 v1, v2, and v3 certificates, and PKCS#7 formatted certificatechains consisting of certificates of that type.

Incorrect answers:A: keytool --genkey generates a key pair (a public key and associated private key). Wraps the public key into an X.509 v1 self-signed certificate, which is stored asa single-element certificate chain. This certificate chain and the private key are stored in a new keystore entry identified by alias.

Description: Loads a trusted CA certificate into a keystore. If the keystore does not exist, it is created.

Reference: Configuring Identity and Trust, Commonly Used keytool Commands http://docs.oracle.com/cd/E11035_01/wls100/secmanage/identity_trust.html

QUESTION 53

Page 19: Oracle Weblogic Server 11g: System Administration I

YCMJ are viewing the deployments in the administration console. A web application that is targeted to the Managed Server named server01 has a State of "Now."Which statement best explains this State?

A. Server01 is running and the application has been installed.B. Sarver01 is shut down and the application has been installed.C. Server01 is running and the application has not been installed.D. Server01 is shut down and the application has not been installed.E. Server01 is running and the application was installed for the first time.F. Server01 is running and the application has been installed, but is not servicing requests.

Correct Answer: ESection: (none)Explanation

Explanation/Reference:

QUESTION 54Which three tasks are required to use JDBC session persistence for a web application?

A. Enable automatic migration on each server.B. Create the session database table.C. Configure SSL on each server.D. Edit the weblogic.xml descriptor.E. Create a multi data source.F. Create a JDBC data source.

Correct Answer: BDFSection: (none)Explanation

Explanation/Reference:To specify JDBC-based persistent session storage for a Web application, follow these steps:

1. (B) Create a table named wl_servlet_sessions in the database2. Assign a connection pool that has read/write permissions to the wl_servlet_sessions database table to your WebLogic cluster.3. Assign the connection pool's associated data source to the same cluster.4. (D) Edit the associated weblogic.xml file using an XML editor and set the value of thePersistentStoreType and PersistentStorePool parameters

Incorrect answer:E: A multi data source is an abstraction around a group of data sources that provides load balancing or failover processing between the data sources associatedwith the multi data source.

Reference: Implementing Highly Available and Scalable Solutions Using the WebLogic Cluster, JDBC-Based Persistent Storagehttp://www.informit.com/articles/article.aspx?p=101737&seqNum=7

QUESTION 55Which three statements are true about the default behavior of WebLogic Server proxy plug-ins?

A. The proxy will pin a client to a specific server if a session cookie is created.B. The proxy fails over to another server if a connection or request times out.C. The proxy distributes requests to cluster members based on their CPU usage.D. The proxy dynamically learns the latest locations of cluster members.E. The proxy always uses SSL, regardless of the client's protocol.F. The proxy replicates session data to its backup proxy.

Correct Answer: ABDSection: (none)Explanation

Explanation/Reference:A: When the HTTP client requests the servlet, HttpClusterServlet proxies the request to the WebLogic Server cluster. HttpClusterServlet maintains the list of allservers in the cluster, and the load balancing logic to use when accessing the cluster. In the above example, HttpClusterServlet routes the client request to theservlet hosted on WebLogic Server A. WebLogic Server A becomes the primary server hosting the client's servlet session. To provide failover services for theservlet, the primary server replicates the client's servlet session state to a secondary WebLogic Server in the cluster. This ensures that a replica of the session stateexists even if the primary server fails (for example, due to a network failure). In the example above, Server B is selected as the secondary.The servlet page is returned to the client through the HttpClusterServlet, and the client browser is instructed to write a cookie that lists the primary and secondarylocations of the servlet session state. If the client browser does not support cookies, WebLogic Server can use URL rewriting instead.Figure, Accessing Servlets and JSPs using a Proxy:

Page 20: Oracle Weblogic Server 11g: System Administration I

B: In clusters that utilize Web servers with WebLogic proxy plug-ins, the proxy plug-in handles failover transparently to the client. If a server fails, the plug-in locatesthe replicated HTTP session state on a secondary server and redirects the client's request accordingly.D: The WebLogic proxy plug-in maintains a list of WebLogic Server instances that host a clustered servlet or JSP, and forwards HTTP requests to those instanceson a round-robin basis.Incorrect answers:C: The WebLogic proxy plug-in maintains a list of WebLogic Server instances that host a clustered servlet or JSP, and forwards HTTP requests to those instanceson a round-robin basis. This load balancing method is described in Round Robin Load Balancing. The plug-in also provides the logic necessary to locate the replicaof a client's HTTP session state if a WebLogic Server instance should fail.F: SSL Parameters for Web Server Plug-insParameter: SecureProxyDefault: OFFDescription: Set this parameter to ON to enable the use of the SSL protocol for all communication between the plug-in and WebLogic Server.

Reference: Using WebLogic Server Clusters, Failover and Replication in a Cluster Reference: Using WebLogic Server Clusters, Load Balancing in a Cluster

QUESTION 56Refer to the Exhibit

What is the meaning of the yellow triangle icon next to Listen Address?

A. This attribute has no value.B. The server must be running to change this attribute.C. The server must be shut down to change this attribute.D. The server must be restarted for a change to this attribute to take effect.E. This attribute is read only and cannot be changed in the administration console

Correct Answer: DSection: (none)Explanation

Explanation/Reference:The server instance for which you configure the listen address does not need to be running. If it is running, you must restart it after you complete these steps.

Reference: Administration Console Online Help, Configuring the Listen Address from the Administration Console

QUESTION 57You run the following WLST script and it completes successfully. Which statement best describes what the script created?

Page 21: Oracle Weblogic Server 11g: System Administration I

A. A CMO named myserver with the listen address 192.168.1.102 and port 8008B. A Managed Server named myserver with the listen address 192.168.1.102 and port 7001C. A Managed Server named myserver with listen address 192.168.1.102 and port 8008D. An Administration Server named myserver with the listen address 092.168.1.102 and port

Correct Answer: CSection: (none)Explanation

Explanation/Reference:A managed server (not a CMO, not an administration server) is created.Port is 8008.

Note: Listing: Creating a Managed Serverconnect("username","password")edit()startEdit()svr = cmo.createServer("managedServer")svr.setListenPort(8001)svr.setListenAddress("my-address")save()

Reference: WebLogic Scripting Tool, Using WLST Online to Update an Existing Domain

QUESTION 58You are logged in to the administration console for a domain that is running in Development Mode. The domain configuration, you select Production Mode, Save,and then Activate Changes.Which two statements are true?

A. All running servers must be restarted.B. Only the Administration Server must be restarted.C. Auto-deployment will no longer be available for this domain.D. This change may be made only through the Administration Server's secure port.E. If you decide to go back to Development Mode, uncheck Production Mode in the administrate console.

Correct Answer: ACSection: (none)Explanation

Explanation/Reference:C: auto deployment is not allowed in production mode only development mode.Note 1:All servers in a domain run either in development mode or production mode. To configure all servers in a domain to run in production mode:

1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit .In the left pane of the Console, under Domain Structure, select the domain name.2. Select Configuration > General and select the Production Mode check box.3. Click Save, and then, to activate these changes, in the Change Center, click Activate Changes.4. Shut down any servers that are currently running.5. Invoke the domain's startWebLogic script.The Administration Server starts in the new mode.6. If the domain contains Managed Servers, start the Managed Servers.Result

As each Managed Server starts, it refers to the mode of the Administration Server to determine its runtime mode.

Note 2: Once you have changed to production mode, whether by using a start command argument, the Console, or WLST, you cannot change back to developmentmode without restarting the server.

By default auto deployment is turned off in Production Mode (however it can be later turned on).Incorrect:E: if you want to go back to development mode you must change the config.xml file and restart the admin server. The window shown below shows fromdevelopemnt to production NOT production to development is allowed.This is in development mode and you can change to production mode but in production mode this attribute states the word true.

Page 22: Oracle Weblogic Server 11g: System Administration I

Reference: Administration Console Online Help, Change to production mode

QUESTION 59Identify three ways to create a domain template.

A. Administration consoleB. Domain Template BuilderC. unpack commandD. pack commandE. Node ManagerF. WLSTG. Configuration Wizard

Correct Answer: BDFSection: (none)Explanation

Explanation/Reference:There are three ways to create domain templates:* Domain Template Builder (config_builder.sh under WL_HOME/common/bin) Go to Start Menu->All programs->weblogic10gR3->Tools->Domain Template Builder* pack commandThe pack command creates a template archive (.jar) file that contains a snapshot of either an entire domain or a subset of a domain. You can use a template thatcontains a subset of a domain to create a Managed Server domain directory hierarchy on a remote machine.* WLST offline command line tool

Reference: Creating Domain Templates Using the Domain Template Builder Reference: Creating Domains Using WLST Offline

QUESTION 60View the following file excerpt, which configures HTTP session replication:

<session - descriptor ><persistent-store-type>replicated</persistent-store-type></session-descriptor>

From which file is this excerpt taken?

A. weblogic-application.xmlB. weblogic.xmlC. session.xmlD. config.xmlE. web.xml

Correct Answer: BSection: (none)Explanation

Explanation/Reference:To configure file-based persistent storage for sessions:

In the deployment descriptor file weblogic.xml, set the persistent-store-type parameter in the session-descriptor element in the weblogic.xml deployment descriptorfile to file. See session- descriptor.

Set the directory where WebLogic Server stores the sessions.

Reference: Oracle Fusion Middleware Oracle WebLogic Server Administration Console Online Help 11g Release 1, Using File-based Persistent storagehttp://docs.oracle.com/cd/E15523_01/web.1111/e13712/sessions.htm ()

Page 23: Oracle Weblogic Server 11g: System Administration I

QUESTION 61You use a web browser to log in to a web application that is deployed to WebLogic Server. When you click link named "publish" on the site, an "Access Denied"message appears. Which two statements must be true about this server's security configuration?

A. The application is not associated with any security roles.B. Multiple security realms are active at the same time.C. Your user account is a member of a group.D. Your user account exists in an authentication provider.E. A security policy is attached to the "publish" link URL.

Correct Answer: DESection: (none)Explanation

Explanation/Reference:D: You were able to log in to the web application that is deployed through WebLogic. In WebLogic Server, Authentication providers are used to prove the identity ofusers or system processes.This implies that your account exists in an authentication provider.E: Extra security is needed to use the publish link. This could be explained by a security policy attached the publish Link URL.

Reference: Developing Security Providers for WebLogic Server, Authentication Providers

QUESTION 62You have set Server log Rotation criteria to either size or time. When a domain is in Production Mode, which statement is true?

A. Log files are rotated when the server restarts.B. Log files are not rotated in Production Mode.C. Log files are rotated only when the rotation criteria are met.D. Log files are rotated when the rotation criteria are met or rotated when the server restarts

Correct Answer: CSection: (none)Explanation

Explanation/Reference:By default, when you start a server instance in production mode, the server rotates its local log file whenever the file grows to 5000 kilobytes in size. It does notrotate the local server log file when you start the server.

You can change these default settings for log file rotation. For example, you can change the file size at which the server rotates the log file or you can configure aserver to rotate log files based on a time interval. You can also specify the maximum number of rotated files that can accumulate. After the number of log filesreaches this number, subsequent file rotations delete the oldest log file and create a new log file with the latest suffix.

Reference: Administration Console Online Help, Rotating Log Files http://docs.oracle.com/cd/E13222_01/wls/docs81/ConsoleHelp/logging.html

QUESTION 63Which three methods does WebLogic provide to implement persistent JMS messaging?

A. Create a file store and assign it to a JMS server.B. Create a JDBC store and assign it to a JMS server.C. Configure a file store within a JMS module.D. Configure the domain's default store.E. Use the target server's default store.

Correct Answer: ABESection: (none)Explanation

Explanation/Reference:A: The main steps for creating a custom file store are as follows:

1.Create a directory where the file store's data will be persisted. 2.Create a custom file store and specify the directory location that you created. 3.Associate thecustom file store with the subsystem(s) or migratable target that will be accessing it, such as:*For JMS servers, select the custom file store on the General Configuration page. *For Store-and-Forward agents, select the custom file store on the GeneralConfiguration page. *For a Path Service, select the custom file store on the General Configuration page.

B: The main steps for creating a JDBC store are as follows:

Create a JDBC data source or multi data source to interface with the JDBC store. Create a JDBC store and associate it with the JDBC data source or multi datasource. It is highly recommended that you configure the Prefix option to a unique value for each configured JDBC store table.Associate the JDBC store with the subsystem(s) that will be using it, such as:For JMS servers, select the JDBC store on the General Configuration page. For Store-and-Forward agents, select the JDBC store on the General Configurationpage. For a Path Service, select the custom file store on the General Configuration page.

E: Each server instance, including the administration server, has a default persistent store that requires no configuration.

Note:When a persistent message is sent, it is stored in the WebLogic Persistent Store. The persistent store provides a built-in, high-performance storage solution forWebLogic Server subsystems and services that require persistence. For example, it can store persistent JMS messages or temporarily store messages sent usingthe Store-and-Forward feature. The persistent store supports persistence to a file-based store or to a JDBC-enabled database.

Note 2: A persistent message is guaranteed to be delivered once-and-only-once. The message cannot be lost due to a JMS provider failure and it must not bedelivered twice. It is not considered sent until it has been safely written to a file or database. WebLogic JMS writes persistent messages to a WebLogic persistentstore (disk-base file or JDBC-accessible database) that is optionally targeted by each JMS server during configuration.

Reference: Using the WebLogic Persistent Store

QUESTION 64Managed Server Independence enabled is not selected in the configuration of myserver1. Which statement is true?

A. Only the Node Manager can start myserver1

Page 24: Oracle Weblogic Server 11g: System Administration I

B. Only a local start script can start myserver1C. Myserver1 cannot be part of a cluster.D. The Administration Server must be available before starting myserver1

Correct Answer: DSection: (none)Explanation

Explanation/Reference:To prevent the Administration Server from becoming a single point of failure, Managed Servers can always function without the presence a running AdministrationServer. When a Managed Server starts, it contacts the Administration Server to retrieve its configuration information. If a Managed Server is unable to connect tothe specified Administration Server during startup, it can retrieve its configuration directly by reading a copy of the config.xml file and other files located on theManaged Server's own file system.A Managed Server that starts in this way is running in Managed Server Independence mode. In this mode, a server uses cached application files to deploy theapplications that are targeted to the server.

Reference: Overview of WebLogic Server System Administration, Managed Server Indepenence http://docs.oracle.com/cd/E13222_01/wls/docs81/adminguide/overview.html

QUESTION 65You have opened a terminal window (or a Window command prompt) to run a WLST script named weeklydeployer.py. You enter the following command:

Java weblogic.WLST weeklydeployer.py

Instead of the WLST initializing and the script running, however, you receive the NoClassDefFoundError java exception for weblogic/WLST.

What is the problem?

A. You forgot to set PATH to include the java executable.B. There is an error in the code of the script.C. You forgot to set CLASSPATH to include weblogic.jar.D. You are not in the directory where weeklydeployer.py resides.E. You should have omitted the ".py" in the file name; it is assumed by WLST.F. You forgot to set PATH to include the WLST executable.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:To set up your environment for WLST:1. Install and configure the WebLogic Server software2. Add WebLogic Server classes to the CLASSPATH environment variable

Note: Although the process should be able to build the correct classpath by default, you might hit this issue in some cases. To overcome the problem, you mustexplicitly set the classpath in the admin console accordingly.Reference: WebLogic Scripting Tool, Using the WebLogic Scripting Tool

QUESTION 66You monitor a running JMS topic with the console and note the following values:

Consumers Current = 3Message Current = 1Message Pending = 0

These values do not change for several minutes. Which is the most plausible explanation?

A. Production on the topic has been paused.B. A message arrived after a durable subscribe disconnected from the topic.C. One of the consumers received a message but did not acknowledge it.D. None of the consumers are durable subscribes.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:For durable subscriptions, WebLogic JMS stores a message in a persistent file or database until the message has been delivered to the subscribers or has expired,even if those subscribers are not active at the time that the message is delivered.

Note #1: Durable subscriptions means that weblogic server will store the messages in a persistent store (i.e a file-store or a JDBC-store) until those messages aredelivered to the subscribers/listener. This technic helps weblogic server to make sure that the messages get delivered even if those subscribers/listeners are notactive at the time that the message is getting delivered.

As all of us know that in Topic's the senders/producers just send the messages to the topic and the receivers/listeners have subscribe them self to get thosemessages, hence senders/producers does not have any concern if the messages are been received or not. However with this feature weblogic make sure all thesubscribers would get the messages as the messages gets stored in a persistence store.

Note #2:* Consumers Current Count: Current number of consumers accessing this destination* MessagesCurrentCount: The current number of messages in the destination. This does not include the pending messages.* MessagesPendingCount: The number of pending messages in the destination.

Pending messages are over and above the current number of messages. A pending message is one that has either been sent in a transaction and not committed,or that has been received and not committed or acknowledged.

Incorrect answers:A: When a topic is paused for production, it prevents any new message production operations from both new and existing producers attached to that topic.C: There is no pending message here. So there cannot be a message that a consumer has not acknowledged.D: Non-durable messages are not stored.

Reference: eDocs Home > BEA WebLogic Server 8.1 Documentation > Programming WebLogic JMS > Developing a WebLogic JMS Application, Setting Up

Page 25: Oracle Weblogic Server 11g: System Administration I

Durable Subscriptions

QUESTION 67Which statement best describes WebLog's default application staging behavior?

A. The Administration Sever distributes application files when the application is first accessed by a client.B. The Administration Sever copied application files to a database that is shared with the Managed Servers.C. The Managed Servers obtain application files from a disk that is shared with the Administration Server.D. The Administration Sever distributes copied of application files over the network to the Managed Servers.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:Deployment Staging Mode: stageBehavior: The Administration Server first copies the deployment unit source files to the staging directories of target servers specified by the Staging Directory Nameattribute.

The target servers then deploy using their local copy of the deployment files.

Note: The deployment staging mode determines how deployment files are made available to target servers that must deploy an application or standalone module.WebLogic Server provides three different options for staging files: stage mode, nostage mode, and external_stage mode. The following table describes thebehavior and best practices for using the different deployment staging modes.

Reference: Overview of WebLogic Server Deployment, Staging Modes

QUESTION 68Indentify two valid elements that can belong in the weblogic-application.xml deployment descriptor.

A. <shared-library-reference>B. <library-ref>C. <app-scoped-ref>D. <work-manager>

Correct Answer: BDSection: (none)Explanation

Explanation/Reference:B: <library-ref>Enclose all other elements within library-ref.A reference to a shared Java EE library.

Note: A Java EE application can reference a registered shared Java EE library using entries in the application's weblogic-application.xml deployment descriptor.Elements include:library-reflibrary-name

D: <work-manager>Specifies the Work Manager that is associated with the application.

Note: The weblogic-application.xml file is the BEA WebLogic Server-specific deployment descriptor extension for the application.xml deployment descriptor fromSun Microsystems. This is where you configure features such as shared Java EE libraries referenced in the application and EJB caching.

The file is located in the META-INF subdirectory of the application archive.

Reference: Developing Applications With WebLogic Server. weblogic-application.xml Deployment Descriptor ElementsReference: Referencing Shared Java EE Libraries in an Enterprise Application

QUESTION 69You create a system-wide JMS module named Payroll-JMS and set its default target to an existing cluster in your domain named PayrollCluster. Next, you add astandard JMS topic to Payroll-JMS. To which are you permitted to target this topic?

A. the entire PayrollClusterB. any single JMS server in the domainC. any combination of member servers in PayrollclusterD. several JMS servers targeted to PayrollCluster

Correct Answer: BSection: (none)Explanation

Explanation/Reference:JMS system modules are owned by the Administrator, who can delete, modify, or add JMS system resources at any time. With the exception of standalone queueand topic resources that must be targeted to a single JMS server, the connection factory, distributed destination, foreign server, and JMS SAF destination resourcesin system modules can be made globally available by targeting them to server instances and clusters configured in the WebLogic domain. These resources aretherefore available to all applications deployed on the same targets and to client applications.

Note #1: JMS modules are application-related definitions that are independent of the domain environment. You create and manage JMS resources either as systemmodules or as application modules.System modules are globally available for targeting to servers and clusters configured in the domain, and therefore are available to all applications deployed on thesame targets and to client applications.

Note #2: JMS servers are environment-related configuration entities that act as management containers for the queues and topics in JMS modules that are targetedto them. A JMS server's primary responsibility for its destinations is to maintain information on what persistent store is used for any persistent messages that arriveon the destinations, and to maintain the states of durable subscribers created on the destinations. JMS servers also manage message paging on destinations, and,optionally, can manage message and/or byte thresholds, as well as server-level quota for its targeted destinations. As a container for targeted destinations, anyconfiguration or run-time changes to a JMS server can affect all the destinations that it hosts.

Reference: Understanding JMS Resource Configuration, JMS System Modules http://docs.oracle.com/cd/E15051_01/wls/docs103/jms_admin/overview.html

Page 26: Oracle Weblogic Server 11g: System Administration I

QUESTION 70The project's architect has provided you with a design diagram that identifies the key components of the new insurance system. From the diagram, you can clearlysee that JMS will be used as the communication channel between several applications. Identify four tasks that you may need to perform to support this design.

A. Create a JMS serverB. Create a JMS message templateC. Add JMS destinations to a JMS moduleD. Add a JMS module to a JMS factoryE. Target JMS destinations to JMS serversF. Target a JMS server to a WebLogic ServerG. Target a JMS module to a JMS store

Correct Answer: ACEFSection: (none)Explanation

Explanation/Reference:A: If necessary, create a JMS server to target the JMS module.

F: Target the JMS Server to a weblogic server

Note: The major components of the WebLogic JMS Server architecture:

* JMS servers that can host a defined set of modules and any associated persistent storage that reside on a WebLogic Server instance.* JMS modules contains configuration resources (such as queues, topics, and connections factories) and are defined by XML documents that conform to theweblogic-jms.xsd schema.* Client JMS applications that either produce messages to destinations or consume messages from destinations.* JNDI (Java Naming and Directory Interface), which provides a resource lookup facility. JMS resources such as connection factories and destinations areconfigured with a JNDI name. The runtime implementations of these resources are then bound into JNDI using the given names.* WebLogic persistent storage (file store or JDBC-accessible) for storing persistent message data.

Reference: Understanding WebLogic JMS

QUESTION 71Which three statements are true about the Node Manager?

A. The Node Manager can restart the Managed Serves that have failed.B. The Node Manager should be run as either a daemon or a service so that if the host computer is rebooted, the Node Manager will also be automatically started.C. The Node Manager runs on a different host from the Managed Server it is controlling.D. The Node Manager can start a Managed Server the first time the Managed Server starts if the Administration Server is unavailable because MSI mode is

enabled by default.E. The Node Manager allows you to start Managed Servers from the administration console.

Correct Answer: ABESection: (none)Explanation

Explanation/Reference:A, E: Node Manager enables you to perform these tasks:* Start and stop remote Managed Servers. (E)* Monitor the self-reported health of Managed Servers and automatically kill server instances whose health state is "failed".* Automatically restart Managed Servers that have the "failed" health state, or have shut down unexpectedly due to a system crash or reboot. (A)

B: The WebLogic Server installation process installs Node Manager to run as an operating system service: a daemon on UNIX machines, or a Windows service onWindows-based machines. An operating system service starts up automatically each time the operating system boots.A key Node Manager feature is the ability to restart Managed Servers after a failure. If the failure is a machine crash, running Node Manager as a service ensuresthat Node Manager starts up automatically when the machine reboots, and is available to restart Managed Servers on that machine.

E: Requests from the Administration Console (or JMX utilities such as weblogic.Admin) to start a Managed Server using Node Manager are issued to theAdministration Server for the domain that contains the Managed Server.

Reference: Configuring and Managing WebLogic Server, Overview of Node Manager

QUESTION 72You have made several changes to variable attributes on a managed server within a domain. You first locked the console, made some nondynamic changes, madesome dynamic changes as well, and then activated your changes. Which statement is true?

A. All the changes that you made on the server will take effect immediately.B. The dynamic changes that you made will take effect immediately and the changes that are nondynamic will take effect after the server is restarted.C. The changes that you made on the server will not take effect until you restart the server.D. You will receive an error because you cannot make dynamic and nondynamic changes to a server at the same time.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:If a change is made to a non-dynamic configuration setting, no changes to dynamic configuration settings will take effect until after restart. This is to assure that abatch of updates having a combination of dynamic and non-dynamic attribute edits will not be partially activated.

Note: Some changes you make in the Administration Console take place immediately when you activate them. Other changes require you to restart the server ormodule affected by the change.These latter changes are called non-dynamic changes.

Changes to dynamic configuration attributes become available once they are activated, without restarting the affected server or system restart. These changes aremade available to the server and runtime hierarchies once they are activated. Changes to non-dynamic configuration attributes require that the affected servers orsystem resources be restarted before they become effective.

Reference: Overview of the Administration Console, Dynamic and Non-Dynamic Changes

QUESTION 73

Page 27: Oracle Weblogic Server 11g: System Administration I

When you use the Embedded LDAP that is supplied by Oracle WebLogic Server, which three statements are true?

A. The Embedded LDAP can be used to store user, group, security roles and security policies for the WebLogic security providers.B. The Embedded LDAP uses the file system to store Weblogic security provider data.C. The Embedded LDAP can be accessed by an external LDAP viewer.D. The Embedded LDAP cannot be used in a production environmentE. The Embedded LDAP can store Auditing Data.

Correct Answer: ACESection: (none)Explanation

Explanation/Reference:A: The embedded LDAP server contains user, group, group membership, security role, security policy, and credential map information.

C: The credential (usually a password) used to connect to the embedded LDAP server. If this password has not been set, WebLogic Server generates a passwordat startup, initializes the attribute, and saves the configuration to the config.xml file. If you want to connect to the embedded LDAP server using an external LDAPbrowser and the embedded LDAP administrator account (cn=Admin), change this attribute from the generated value.E: You can use either the WebLogic Auditing provider or a custom Auditing provider in a security realm. Although an Auditing provider is configured per securityrealm, each server writes auditing data to its own log file in the server directory. By default, all auditing information recorded by the WebLogic Auditing provider issaved in the following file:WL_HOME\yourdomain\yourserver\DefaultAuditRecorder.log.By writing a custom Auditing provider, however, you can send the records containing audit information to any one of various output repositories, such as an LDAPserver, database, or a simple file.

Incorrect answers:D: The embedded LDAP server is the default security provider database for the WebLogic Authentication, Authorization, Credential Mapping and Role Mappingproviders.

Incorrect answers:B: The WebLogic Authentication, Authorization, Credential Mapping, and Role Mapping providers use the embedded LDAP server as their database.

Note: The WebLogic Security providers store their data in the embedded LDAP server. When you delete a WebLogic Security provider, the security data in theembedded LDAP server is not automatically deleted. The security data remains in the embedded LDAP server in case you want to use the provider again. Use anexternal LDAP browser to delete the security data from the embedded LDAP server.

QUESTION 74An application is deployed to your domain and its manifest indicates version 1.1. You then perform an application update by using a manifest that indicates version1.2.Indentify two outcomes of this scenario.

A. The existing 1.1 clients are redirected to the 1.2 applicationB. The existing 1.1 clients are shown a warning message.C. The existing 1.1 clients continue to use the 1.1 application.D. New clients are asked which version they wish to use.E. New clients use only use 1.2 application

Correct Answer: CESection: (none)Explanation

Explanation/Reference:As long as the HTTP Session is valid, the old user will continue to use "Version 1." All new users will be using "Version 2.

Reference: Oracle WebLogic Server 12c: Configuring and Using Production Redeployment.

QUESTION 75View the exhibit.

You are logged in to the WebLogic Server administration console and you are editing the fields shown in exhibit. Which type of WebLogic Server resource are youcurrently editing?

A. JMS ServerB. Persistent Store

Page 28: Oracle Weblogic Server 11g: System Administration I

C. JDBC Data SourceD. Diagnostics ModuleE. JMS Connection Factory

Correct Answer: ESection: (none)Explanation

Explanation/Reference:MS Connection Factory: Configuration: Default DeliveryUse this page to define the default delivery configuration parameters for this JMS connection factory, such as the default delivery mode, default time to live, etc.

Reference: JMS Connection Factory: Configuration: Default Delivery

QUESTION 76You have 10 cluster managed servers in a domain. Due to the maintenance tasks currently in progress, two of the managed servers are in a "Shutdown" status.You have been asked to deploy an application.As a default behavior of WebLogic Server, which two statements are true?

A. The application cannot be deployed until the two managed servers are available.B. The application can be deployed while the two managed servers are in "Shutdown" status.C. The application will be deployed to the eight managed servers that are running. The two managed servers that are in the Shutdown state will eventually receive

the deployment when they are started again.D. The application deployment will fail and the application will not be deployed to any managed server in the cluster.E. The application deployment will fail and the eight managed servers that are running will transition to "Admin" state.

Correct Answer: BCSection: (none)Explanation

Explanation/Reference:When you deploy an application to a cluster target, WebLogic Server ensures that the deployment suc- cessfully deploys on all available members of the cluster

Reference: Oracle Fusion Middleware Deploying Applications to Oracle WebLogic Server, Deploying to a Cluster Target

QUESTION 77An application fails. The exception indicates that the JDBC data source, jdbc-hr.HRDS, cannot be found. Identify two possible steps that you can perform to verifythe data source's availability.

A. Launch the JDBCDiagnostics utility.B. Verify the Targets attribute of the application.C. Verify the Dependencies attribute of the data source.D. Verify the target server's JNDI tree in the console.E. Verify the Target attribute of the data source.

Correct Answer: DESection: (none)Explanation

Explanation/Reference:D: In WebLogic Server, you configure database connectivity by adding data sources to your WebLogic domain. WebLogic JDBC data sources provide databaseaccess and database connection management. Each data source contains a pool of database connections that are created when the data source is created and atserver startup. Applications reserve a database connection from the data source by looking up the data source on the JNDI tree or in the local application contextand then calling getConnection().E: Each data source that you configure contains a pool of database connections that are created when the data source instance is created--when it is deployed ortargeted, or at server startup. Applications lookup a data source on the JNDI tree or in the local application context (java:comp/env), depending on how youconfigure and deploy the object, and then request a database connection. When finished with the connection, the application calls connection.close(), which returnsthe connection to the connection pool in the data source.

Incorrect answers:A: There is no such Weblogic utility.B: This is a JDBC error. There is no JDBC application target. There is JDBC data source target, however.

QUESTION 78Indentify three ways to create a domain template.

A. Administration consoleB. Domain Template BuilderC. unpack commandD. pack commandE. Node ManagerF. WLSTG. Configuration Wizard

Correct Answer: BDFSection: (none)Explanation

Explanation/Reference:B: Go to Start Menu->All programs->weblogic10gR3->Tools->Domain Template BuilderD: The pack command creates a template archive (.jar) file that contains a snapshot of either an entire domain or a subset of a domain. You can use a templatethat contains a subset of a domain to create a Managed Server domain directory hierarchy on a remote machine.F: WLST enables you to create a new domain orupdate an existing domain without connecting to a running WebLogic Server (that is, using WLST offline)--supporting the same functionality as the ConfigurationWizard.

Incorrect answer:

Reference: Creating Domain Templates Using the Domain Template Builder Reference: Creating Domains Using WLST Offline

QUESTION 79

Page 29: Oracle Weblogic Server 11g: System Administration I

What is the default Staging Mode for servers?

A. No-StageB. StageC. External StageD. Use the defaults defined by the deployment targetsE. Copy the application onto every target for me

Correct Answer: BSection: (none)Explanation

Explanation/Reference:WebLogic Server provides three different options for staging files: stage mode, nostage mode, and external_stage mode.

By default, WebLogic Portal's default staging mode is "stage."

Reference: Oracle Fusion Middleware Production Operations Guide for Oracle WebLogic Portal, Changing the Default Staging Mode

QUESTION 80When using the Install Application Assistant in the administrator console, what are the two options that may select for "Choose Targeting Style"?

A. Choosing "Install this deployment as a resource" will allow you to deploy any type of resource archive.B. Choosing "Install this deployment as a library" will allow you to deploy any archive, which can be referenced by other applications.C. Choosing "Install this deployment as expanded format" allow expanded directories to be utilized.D. Choosing "Install this deployment as an application" will allow you to deploy any archive or extended directory.E. Choosing "Install this deployment as a stand-alone library" will allow you to deploy a library, which can be used only by nonclustered servers.

Correct Answer: BDSection: (none)Explanation

Explanation/Reference:The Choose Targeting Style page is displayed:

Reference: Oracle Fusion Middleware Application Adapter Best Practices Guide for Oracle WebLogic Server, Configuring Oracle Application Adapters in a HighAvailability Cluster Environment

QUESTION 81You wish to provide failover for HTTP sessions within a cluster. However, you are limited by the following constraints:

1. While under load, your servers have very little free memory.2. you do not have appropriate access rights to modify your company's database.

Which is the best option, given these restrictions?

A. in-memory replicationB. automatic migrationC. file persistenceD. JDBC persistenceE. replication groups

Correct Answer: CSection: (none)Explanation

Explanation/Reference:File persistence use less memory than in-memory replication, and does not need access rights to the company's database.

Note:You use session persistence to permanently store data from an HTTP session object to enable failover and load balancing across a cluster of WebLogic Servers.When your applications stores data in an HTTP session object, the data must be serializable. There are five different implementations of session persistence:* Memory (single-server, non-replicated)* File system persistence* JDBC persistence* Cookie-based session persistence* In-memory replication (across a cluster)

Incorrect answers:A: Using in-memory replication, WebLogic Server copies a session state from one server instance to another. The primary server creates a primary session state

Page 30: Oracle Weblogic Server 11g: System Administration I

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 itmay be used if the server that hosts the servlet fails.

D: JDBC persistence stores session data in a database table using a schema provided for this purpose. You can use any database for which you have a JDBCdriver. You configure database access by using connection pools.

Note: When you use memory-based storage, all session information is stored in memory and is lost when you stop and restart WebLogic Server.

Reference: Oracle Fusion Middleware Developing Web Applications, Servlets, and JSPs for Oracle WebLogic Server, Using Sessions and Session Persistence

QUESTION 82Indentify three tools that you can use to create a deployment plan.

A. administration consoleB. weblogic.PlanGeneratorC. the /autodeploy folder that is locked in the domain directoryD. developer tools such as JDeveloper or EclipseE. the /plan subfolder that resides outside the application archive

Correct Answer: ABDSection: (none)Explanation

Explanation/Reference:A: To create a deployment plan for a deployed application that does not already have a deployment plan, make a configuration change to the deployed application.When you make a persisted configuration change to a deployed application that does not have an existing deployment plan, the Administration Consoleautomatically creates a deployment plan for you and prompts you for the location in which to save it.B: The weblogic.PlanGenerator is a Java-based deployment configuration tool. It is primarily intended for developers who want to export portions of a WebLogicServer deployment configuration into an XML deployment plan. weblogic.PlanGenerator also enables you to generate a basic WebLogic Server configuration forapplications that have only J2EE deployment descriptors.D: Deployment plans can be created or edited through the deployment plan editor functionality available through the Web-based Oracle Enterprise Manager 10gApplication Server Control Console interface and the J2EE and Studio Editions of the Oracle JDeveloper 10g integrated development environment.

Reference: Administration Console Online Help, Create a deployment plan Reference: weblogic.PlanGenerator Command Line Reference

QUESTION 83While creating a new domain in the Configuration Wizard, there are two types of machines that may be configured. Identify them.

A. Machine and Windows machineB. administrator machine and managed machineC. machine and Unix machineD. stand-alone machine and cluster machineE. RDBMS machine and LDAP machine

Correct Answer: BSection: (none)Explanation

Explanation/Reference:Administrator machine:The Choose the Administration Server window prompts you to designate a server as the Administration Server. This window is displayed automatically only if theselected template includes multiple servers that are not assigned to clusters.

To choose the Administration Server:

1. From the list of Available Servers, select the server that you want to designate as the Administration Server. The Administration Server cannot be assigned to acluster.

The Server Details area displays detailed information about the selected server. By default, the currently assigned Administration Server is selected.

2. Select Next to proceed to the next configuration window.

The Configure the Administration Server and Configure Managed Server(s) windows are updated to reflect your changes.

Managed machine:The minimum requirement for your domain is a single Administration Server on a single machine. In addition, however, you have the option of configuring otherresources to be managed by the Administration Server and distributing them across multiple machines.Specifically, you can:* Add, change, or delete Managed Servers* Add, change, or delete clusters* Group Managed Servers into clusters, or change current groupings* Assign servers to machines, or change current assignments

Note: The Managed Servers, Clusters, and Machines Options window prompts you to specify whether you want to distribute your WebLogic configuration acrossManaged Servers, clusters, and physical machines

Note 2:The Configure Managed Servers window prompts you to provide the configuration information for one or more Managed Servers. Production environments typicallydeploy one or more Managed Servers, in addition to the Administration Server, to host enterprise applications.

Reference: Creating WebLogic Configurations Using the Configuration Wizard, Configuring Managed Servers, Clusters, and Machines

QUESTION 84View the Exhibit.

Page 31: Oracle Weblogic Server 11g: System Administration I

You previously deployed an application but later decide to change various configuration parameters, such as timeouts. You access the application's Configurationtab in the console and make your configurations, as shown in the Exhibit.In which file does WebLogic record these modifications?

A. config.xmlB. weblogic.xmlC. Application.xmlD. Plan.xml

Correct Answer: DSection: (none)Explanation

Explanation/Reference:The following attributes are displayed in the exhibit:Session Invalidation Interval (in seconds)Session Timeout (in seconds)debug-enabledMaximum in-memory Sessions

These attributes are stored in the weblogic.xml file as the following elements:invalidation-interval-sectimeout-secsdebug-enabledmax-in-memory-sessions

Incorrect answers:A: config.xml does not contain session related information.The config.xml file consists of a series of XML elements. The Domain element is the top-level element, and all elements in the Domain are children of the Domainelement. The Domain element includes child elements, such as the Server, Cluster, and Application elements. These child elements may have children themselves.

For example, the Server element includes the child elements WebServer, SSL and Log. The Application element includes the child elements EJBComponent andWebAppComponent. Each element has one or more configurable attributes. An attribute has a corresponding attribute in the configuration API. For example, theServer element has a ListenPort attribute, and likewise, the weblogic.management.configuration.ServerMBean class has a ListenPort attribute.

Reference: weblogic.xml Deployment Descriptor Elements

QUESTION 85Identify four features of the default administration console.

A. XML EditorB. WLST EditorC. BreadcrumbsD. Change CenterE. Template BuilderF. Domain StructureG. Configuration WizardH. WLST Script Recorder

Correct Answer: CDFHSection: (none)Explanation

Explanation/Reference:The Administration Console user interface includes the following panels.* Breadcrumb NavigationA series of links that show the path you have taken through the Administration Console's pages.* Change CenterThis is the starting point for using the Administration Console to make changes in WebLogic Server.* Domain StructureThis panel is a tree you can use to navigate to pages in the Administration Console.* How do I...This panel includes links to online help tasks that are relevant to the current Console page.* Tool BarThe tool bar at the top of the Console.* System StatusThe System Status panel reports on the number of information, error, and warning messages that have been logged.

H: To help automate the task of configuring a domain, you can record your configuration actions in the Administration Console as a series of WebLogic ScriptingTool (WLST) commands and then use WLST to replay the commands.

For details see: Administration Console Online Help, Record WLST Scripts

Incorrect answers:A: To edit XML files, use the BEA XML Editor, an entirely Java-based XML stand-alone editor.B: On Windows, a shortcut on the Start menu sets the environment variables and invokes WLST (Tools-->WebLogic Scripting Tool).E: he Template Builder is a standalone Java application that prompts you to create custom configuration and extension templates that can be used later for creatingand updating domains via the Configuration Wizard. Using an existing domain or template, the Template Builder guides you through the process of creating customconfiguration and extension templates. You can then package these templates or extension templates with your software so your customers can use them to

Page 32: Oracle Weblogic Server 11g: System Administration I

customize their WebLogic Platform environments. The Template Builder is especially useful for ensuring that the required environment for WebLogic-basedproducts can be installed and configured easily by your customers at their sites.G: * To start and run the Configuration Wizard on a Windows computer, select the Configuration Wizard option from the BEA program group in the Windows StartMenu.* To start and run the Configuration Wizard in a GUI environment on a UNIX computer (or from a Windows command prompt):Log in to a Windows or UNIX system on which the WebLogic Server software is installed.Open a command-line shell.Go to the following directory: WL_HOME/common/binwhere WL_HOME is the directory in which you installed WebLogic Server. For example:cd ~/bea/weblogic810/common/binInvoke the config.cmd or config.sh script.If you try to start the Configuration Wizard on a system that cannot support the graphical display, the wizard automatically starts in console mode.

Reference: Overview of the Administration Consolehttp://docs.oracle.com/cd/E13222_01/wls/docs90/intro/console.html#1122030

QUESTION 86You wish to restrict access to a JMS queue so that only specific accounts may receive messages from the queue. Identify two steps that, when performed together,implement this security requirement.

A. Create a policy for queue's URL pattern.B. Add a policy to the queue and associate it with a role.C. Configure an identify assertion provider.D. Acquire the domain configuration lock.E. Create a global role and assign users to it.

Correct Answer: BESection: (none)Explanation

Explanation/Reference:B:

Security policy for a JMS Queue (Resource Level).

When you define a security policy for an individual destination on a JMS server, you can protect all operations of the destination.

a. Login into the Admin server console > Navigate to the Queue that needs to be secured.

b. Click on the security tab > Policies sub tab.

You can see a small drop down list, which lists the set of the operations that can be protected.

c. Click Add Conditions to add the policy conditions.d. From the predicate list, specify the policy conditions.e. Specify the role (the global created in E below) which needs to have the access permissions for the JMS Queue. Click Add > Finish.

E: Create a Global Role and assign the appropriate user accounts to it.

Note: There are two ways of securing the JMS resources.

1. At the JMSModule level (Group level), where a single security policy is specified for a set of JMS resources.2. At the individual JMS resource level, which provides much more grained controlled over the operations that you want to secure.

Reference: SECURING WEBLOGIC JMS RESOURCES

QUESTION 87A domain created based on the Basic WebLogic Server Domain product has start scripts called startWebLogic.sh and startManagedWebLogic.sh (.cmd inWindows). Which three statements are true?

A. startWebLogic.sh starts Node Manager.B. startWebLogic.sh has a required parameter.C. startManagedWebLogic.sh has a required parameter.D. startWebLogic.sh starts the Administration Server of the domain.E. startManagedWebLogic.sh can start any managed server in the domain.F. Both scripts can start any WebLogic Server, but each has different default parameter values.

Correct Answer: CDESection: (none)Explanation

Explanation/Reference:C: If you created Managed Server while creating domain then you can start Managed Server using startManagedWebLogic command

$BEA_HOME/user_projects/domains/<domain_name>/bin

startManagedWebLogic.cmd <managed_server_name> <admin_url> (for Windows) startManagedWebLogic.sh <managed_server_name> <admin_url> (for Unix)

Assume that we a created Managed Server MS1 with Admin Port as 7003.

startManagedWebLogic.cmd ms1 http://localhost:7003 (Windows)

D: Starting Administration Server (startWebLogic.cmd or .sh)E: Starting Managed Server (startManagedWebLogic.sh or .cmd)

QUESTION 88Which answer best describes how you can start the Java-based version of the Node Manager?

A. W1scontrol.sh (.cmd in Windows)B. Wisifconfig.sh (.cmd in Windows)C. startNodeManager.sh (.cmd in Windows)D. startNM.sh (.cmd in Windows)

Page 33: Oracle Weblogic Server 11g: System Administration I

Correct Answer: CSection: (none)Explanation

Explanation/Reference:Although running Node Manager as an operating system service is recommended, you can also start Node Manager manually at the command prompt or with ascript. Use startNodeManager.cmd on Windows systems and startNodeManager.sh on UNIX systems.

Reference: Configuring and Managing WebLogic Server, Configuring, Starting, and Stopping Node Manager

QUESTION 89Which two statements are true about Log Filters?

A. Log Filters are created at the domain level.B. You do not have to lock the configuration to create Log Filters.C. You can apply a Log Filter to the server log, but not to standard out.D. The administration console assists in the creation of Log Filter expressions

Correct Answer: ADSection: (none)Explanation

Explanation/Reference:A (not B): For any given WebLogic Server instance, you can override the default filter and create a log filter that causes a different set of messages to be written tothe domain log file.

Note:To create and configure a log filter:1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (not B) (see Use the Change Center).2. In the left pane of the Console, select the name of the active domain in the Domain Structure panel.3. On the Configuration: Log Filters page, click New.

4. On the Create a New Log Filter page, enter a value to identify the filter in the Name field.

5. Click Finish.

The new log filter appears in the Log Filters table.6. To configure a filter expression, in the Log Filters table, click the log filter name.

7. On the Configuration page, in the Filter Expression text box, enter criteria for qualifying messages.

A filter expression defines simple filtering rules to limit the volume of log messages written to a particular log destination.

See D) below.

8. Click Save.

The filter and filter expression are listed in the Log Filters table.

D: Log Filter Configuration

Use this page to define a custom log filter to restrict the set of messages that one or more servers send to a message destination, such as the domain log, standardout, server log file, or memory buffer of recent log events.

You can click Edit to type or paste in an expression directly, using WLDF Query Language syntax (see Related Topics, below); or you can click Add Expression toconstruct an expression by choosing items from lists.

Once you create a filter, you cannot change its name. Instead, you must create a new filter under a different name.

Reference: Administration Console Online Help, Log Filter Configuration Reference: Administration Console Online Help, Create log filters

QUESTION 90Consider a domain with an existing JDBC data source, which connects to an Oracle database. Your administrator requests that the JDBC connections to thisdatabase now specify a different username. Which data source attribute would you modify to implement this requirement?

A. PropertiesB. CredentialsC. Initial CapacityD. Test TableE. URL

Correct Answer: ESection: (none)Explanation

Explanation/Reference:The following signature takes the URL, user name, and password all as part of a URL parameter:

getConnection(String URL);

Where the URL is of the form:jdbc:oracle:<drivertype>:<user>/<password>@<database>

Reference: oracle.jdbc, Class OracleDriver

QUESTION 91Which two are typically found in the WEB-INF folder of a Java web application?

A. the web application HTML and JSP filesB. the classes directory containing the compiled classesC. the web.xml deployment descriptor

Page 34: Oracle Weblogic Server 11g: System Administration I

D. the weblogicserver.xml deployment descriptor

Correct Answer: BCSection: (none)Explanation

Explanation/Reference:The WEB-INF directory contains the deployment descriptors for the Web application (web.xml (C) and weblogic.xml) and two subdirectories for storing compiledJava classes (B) and library JAR files. These subdirectories are respectively named classes and lib. JSP taglibs are stored in the WEB-INF directory at the top levelof the staging directory. The Java classes include servlets, helper classes and, if desired, precompiled JSPs.

Reference:Oracle Fusion Middleware Developing Web Applications, Servlets, and JSPs for Oracle WebLogic Server, Creating and Configuring Web Applications

QUESTION 92Which four tasks can be accomplished in the administration console only after the configuration is locked?

A. deploying an applicationB. changing console preferencesC. creating a new JMS ServerD. monitoring the health of a serverE. enabling the Administrator PortF. creating a new Managed ServerG. adding a new user to the default authentication provider

Correct Answer: ACEFSection: (none)Explanation

Explanation/Reference:A: Steps to Deploy Application using Administration Console

1. Start the Admin Server and Managed Server.2. Navigate to Administration console http://localhost:7001/console and login.3. Navigate to Domain Environment > Deployments. Lock the console.4. Etc.

E: To enable the administration port for your domain:1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit

2. Shutdown all Managed Servers in the domain. You cannot enable the administration port dynamically on a Managed Server.

3. Ensure that all servers in the domain are properly configured to use SSL.

4. In the left pane of the Console, under Domain Structure, select the domain name.

5. Select Configuration > General and select the Enable Administration Port check box to enable the SSL administration port for this domain.

6. In the Administration Port field, enter the SSL port number that server instances in the domain use as the administration port. You can override an individualserver instance's administration port assignment on the Advanced options portion of the Configuration: General page for the server instance.

7. Click Save.

8. To activate these changes, in the Change Center of the Administration Console, click Activate Changes.

Note: If you want to use the Administration Console to make configuration changes, you must first click the Lock & Edit button in the Change Center. When youclick Lock & Edit, you obtain a lock on the editable hierarchy of Configuration MBeans for all servers in the domain (the edit tree).As you make configuration changes using the Administration Console, you click Save (or in some cases Finish) on the appropriate pages. This does not cause thechanges to take effect immediately; instead, when you click Save, you are saving the change to the edit tree and to the DOMAIN_NAME/pending/config.xml file andrelated configuration files. The changes take effect when you click Activate Changes in the Change Center. At that point, the configuration changes are distributedto each of the servers in the domain. If the changes are acceptable to each of the servers, then they take effect. (Note, however, that some changes require aserver to be restarted.) If any server cannot accept a change, then all of the changes are rolled back from all of the servers in the domain. The changes are left in apending state; you can then either edit the pending changes to resolve the problem or revert the pending changes.

Incorrect answers:G: There is no need to lock the configuration when you add a user (to the default authentication provider).Note: To create a new user in the embedded WebLogic LDAP server:1. Log in to the Oracle WebLogic Server Administration Console2. In Oracle WebLogic Server Administration Console, select Security Realms from the left pane and click the realm you are configuring. For example,myrealm.3. Select Users and Groups tab, then Users. Click New.etc.

Reference: Administration Console Online Help, Use the Change Center

QUESTION 93A web application called sales was deployed and is currently "Active". It is targeted to managed1 and managed2. The developers have given you an upload WARfile and you have replaced the original WAR file with it. From the directory where the WAR file resides, you run the following weblogic.Deployer command:

java weblogic.Deployer adminurl t3://192.168.1.101:7001-username weblogic password welcom1 name sales redeploy

Which statement best describes what happens?

A. The command fails because no target was specified.B. The application is deployed to the Administration Server because no target was specified.C. The application is deployed to whichever server is running at 192.168.1.101:7001.D. The application is deployed to managed1 and managed2 because that is where it is currently targeted.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

Page 35: Oracle Weblogic Server 11g: System Administration I

-targetstarget_list (for the redeploy command) is not specified here. It is used to specify the targets on which to distribute, deploy, or redeploy the application ormodule.

If you do not specify a target list with the -deploy command, the target defaults to:

* the Administration Server instance for new deployments (not the case here)

* the application's current targets for deployed applications (the case in this scenario)

Note:Syntax:java [SSL Arguments] weblogic.Deployer [Connection Arguments] [User Credentials Arguments] COMMAND-NAME command-options[Common Arguments]

Connection ArgumentsThe -adminurl value must specify the listen address and listen port of the Administration Server.. The Administrator username. If you supply the -username option but you do -usernameusernamenot supply a corresponding -password option, weblogic.Deployer prompts you for the password.

-redeploy.redeploys a running application or part of a running application.

-name deployment_name. Specifies the deployment name of a deployed application or module. The option can be omitted, in which case the name is taken fromthe -source fileargument.-name

Note: weblogic.Deployer is a Java-based deployment tool that provides a command-line interface to the WebLogic Server deployment API. weblogic.Deployer isintended for administrators and developers who want to perform interactive, command-line based deployment operations.

Reference: Deploying Applications to WebLogic Server, weblogic.Deployer Command-Line Reference

QUESTION 94When creating a new Managed Server using the administration console, which two points must be considered?

A. The Server Name must be unique within the domain.B. After you assign a Listen Port value for the server, you cannot change itC. The Listen Port value must be unique for ever server.D. The Server Name cannot be changed after you have created the server.

Correct Answer: ADSection: (none)Explanation

Explanation/Reference:A: Each server instance in your WebLogic environment must have a unique name, regardless of the domain or cluster in which it resides, or whether it is anAdministration Server or a Managed Server. Within a domain, each server, machine, cluster, virtual host, and any other resource type must be named uniquely andmust not use the same name as the domain.D: The server name cannot be changed.

Incorrect answers:B: Listen ports can be changed.Change Weblogic Listen Port:We need to use WLST (weblogic scripting tool) utility if we need to change from back- end.Example:wls:/offline/wl_server/Server/examplesServer> set(`ListenPort',10890); wls:/offline/wl_server/Server/examplesServer> updateDomain(); wls:/offline/wl_server/Server/examplesServer> exit();C: port is 7001. It does not need to be unique for each server. They all use the same Listen port by default. In Weblogic server default Listen

QUESTION 95Indentify two attributes of a JMS server.

A. TargetB. Persistent StoreC. DestinationD. Connection FactoryE. Store and Forward

Correct Answer: ABSection: (none)Explanation

Explanation/Reference:A: TargetThe target that this JMSServer is deployed to.See step 5) in the Note below.

B: Persistent StoreThe file or database in which this JMS server stores persistent messages. If unspecified, the JMS server uses the default persistent store that is configured on eachtargeted WebLogic Server instance.

Note: See step 4) below.

To create a JMS server:1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit

2. In the Administration Console, expand Services > Messaging and select JMS Servers.

3. On the Summary of JMS Servers page, click New.

Note: Once you create a JMS server, you cannot rename it. Instead, you must delete it and create another one that uses the new name.4. On the Create a JMS Server page:

a. In Name, enter a name for the JMS server.

Page 36: Oracle Weblogic Server 11g: System Administration I

b. In Persistent Store, select a pre-configuredcustom file or JDBC store that will be used bythe JMS server or click the Create a NewStore button to create a store on the fly.

5. On the Select Targets page, select the server instance or migratable server target on which to deploy the JMS server.Migratable targets define a set of WebLogic Server instances in a cluster that can potentially host a pinned service, such as a JMS server.

6. Click Finish

Incorrect answer:C: There is no such JMS Server destination attribute.

Reference: OTN Home > Oracle WebLogic Server 10.3.5.0 Documentation > Administration Console Online Help > JMS Servers

QUESTION 96The master Embedded LDAP has the capability to back up its data. Which statement is true?

A. The Managed Servers should be shut down when backups are being performed on the Embedded LDAP.B. The backup feature is enabled by default.C. The backup feature of the Embedded LDAP should be enabled for all the servers in the domain on a per-basis.D. The backup is stored in a comma-separated variable format.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:The backup of the embedded LDAP server is enabled for a domain at a time. See step 2) in Note below.

Incorrect answers:A: No need to shut down the server. See Note below.B: The backup feature need to be configured. See Note below.D: The format of the backup file is not comma-seperated.

Note: To configure the backups of the embedded LDAP server:1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit

2. Select the Domain you want to configure (for example,mydomain).

3. Expand Security > Embedded LDAP.

4. Set the Backup Hour, Backup Minute, and Backup Copies attributes on the Embedded LDAP Server page.5. Click Save to save your changes.

6. To activate these changes, in the Change Center of theAdministration Console, click Activate Changes.

QUESTION 97Indentify two requirements for in-memory session replication.

A. Clusters must contain an even number of members.B. Web applications must be configured to use replication.C. Web applications must be deployed as an archive file.D. Cluster members must be started by using the Node Manager.E. Web applications must be accessed via a proxy that supports session cookies

Correct Answer: BESection: (none)Explanation

Explanation/Reference:B: When in-memory replication is enabled for a web application, WebLogic Server copies session state from one server in the cluster (primary) to one other serverin the same cluster (secondary). The replica on the secondary server is kept up-to-date so that it may be used if the primary server fails.

E: To utilize in-memory replication for HTTP session states, you must access the WebLogic Server cluster using either a collection of Web servers with identicallyconfigured WebLogic proxy plug-ins, or load balancing hardware.If you choose to use load balancing hardware instead of a proxy plug-in, it must support a compatible passive or active cookie persistence mechanism, and SSLpersistence.

Note 1: In its default configuration, WebLogic Server uses client-side cookies to keep track of the primary and secondary server that host the client's servlet sessionstate. If client browsers have disabled cookie usage, WebLogic Server can also keep track of primary and secondary servers using URL rewriting. With URLrewriting, both locations of the client session state are embedded into the URLs passed between the client and proxy server. To support this feature, you mustensure that URL rewriting is enabled on the WebLogic Server cluster.

Note 2: To support automatic failover for servlet and JSP HTTP session states, WebLogic Server replicates the session state in memory. WebLogic Server createsa 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 iskept up-to-date so that it may be used if the server that hosts the servlet fails. The process of copying a session state from one server instance to another is calledin-memory replication.

Reference: eDocs Home > BEA WebLogic Server 8.1 Documentation > Using WebLogic Server Clusters > Failover and Replication in a Cluster, Failover andReplication in a Cluster

QUESTION 98You are deploying an EAR by using the administration console. You are part way through the process. In the administration console, you see that the EAR has theState of "Prepared." What can you do in the administration console to bring the deployment to the "Active" State?

A. Select it and click the Install button.B. Select it, and then from the Install drop-down list, select "Servicing all requests"C. Select it, and then from the update drop-down list, select "Servicing all requests"D. Select it, and then from the Start drop-down list, select "Servicing all requests"

Page 37: Oracle Weblogic Server 11g: System Administration I

E. Select it, and then from the Start drop-down list, select "Servicing only administration requests"

Correct Answer: DSection: (none)Explanation

Explanation/Reference:To Deploy the EAR File to the Production ServerSee step 8 below.

Open the WebLogic Server console for the target server running in production mode.

1. On the left-hand side Change Center pane, click Lock & Edit.

2. On the left-hand side Domain Structure pane, click Deployments.

3. On the right-hand content pane, click Install.Browse to the directory where the EAR file resides, mark the radio button next to the EAR file you want to deploy, and click Next.

4. Confirm that the radio button next to Install this deployment as an application is marked and click Next.

5. Click Finish.

6. On the left-hand side Change Center pane, click Activate Changes.

7. On the right-hand content pane, mark the radio button next to the EAR just deployed.

8. Click Start to view the dropdown list and select Servicing all requests.

9. In the content pane of the new page, click Yes.

Reference: Deploying Applications to WebLogic Server

QUESTION 99Your domain includes a cluster of five servers, but only three are currently running. A colleague then uses the administration console to install and deploy a newEJB application to the cluster.By default, which outcome would you expect?

A. The application deploys successfully on the three servers that are running.B. The deployment fails because the entire cluster is not running.C. The deployment succeeds, but the application is not accessible.D. The user is prompted to start the two unavailable servers before continuing.E. The two unavailable servers are automatically removed from the cluster.

Correct Answer: ASection: (none)Explanation

Explanation/Reference:Note #1: If your EJBs will run on a WebLogic Server cluster, Oracle recommends that you deploy them homogeneously--to each Managed Server in the cluster.Alternatively, you can deploy an EJB to only to a single server in the cluster (that is, "pin" a module to a server). This type of deployment is less common, andshould be used only in special circumstances where pinned services are required.

Note #2: When you deploy an EJB, you specify the servers and clusters to which the EJB deployment is targeted. After you have deployed an EJB, you can updatethe servers and clusters to which it is targeted.

To set target servers and clusters for a deployed EJB:1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit

2. In the left pane of the Administration Console, select Deployments.

The right pane lists the EJBs and other modules that you have deployed, or tried to deploy.3. In the right pane, click the desired EJB.

4. Select the Targets tab.

Servers and clusters in the domain are displayed.5. Select the check box next to the individual servers and/or clusters to which you wish to deploy the EJB and click Save.

By default, the Administration Console deploys an EJB to all server instances in the cluster (the "All servers in the cluster" option). To deploy the EJB to selectedservers in a cluster, select "Part of the cluster", and then select the individual server instances to which you want to deploy the EJB.6. To activate these changes, in the Change Center of the Administration Console, click Activate Changes.Not all changes take effect immediately--some require a restart

QUESTION 100Consider an IT infrastructure comprising several web and EJB applications. Each application is expected to handle significantly different workloads, and thereforehas different resource and scalability requirements. Which is the best solution for this scenario?

A. Configure a dedicated server for each application.B. Configure a separate cluster for each application.C. Configure a separate domain for each application.D. Configure a separate proxy for each application.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:A WebLogic domain can be composed of a number of WebLogic instances, and several of these servers may be grouped into clusters. For instance, you could setup a cluster of WebLogic servers, all of which host your web application and related resources. This cluster of servers could be fronted by a load balancer thatdistributes requests evenly across all the members of the cluster. The load balancer could itself be another WebLogic instance. All server instances must belong tothe same WebLogic domain. Thus, a WebLogic cluster is a group of servers working together with services, such as clustered JNDI, to provide support for failoverand load balancing. A domain may in turn have a number of WebLogic instances, several groups of which can be placed into different clusters.

Page 38: Oracle Weblogic Server 11g: System Administration I

QUESTION 101Which two statements are true about cluster configuration?

A. A server must be running before it can be added to a cluster.B. You cannot define cluster membership through the Configuration Wizard.C. The console allows you to add new and existing servers to a cluster.D. The console allows you to add an administration server to a cluster.E. You cannot remove a server that is running from a cluster.

Correct Answer: CESection: (none)Explanation

Explanation/Reference:o assign server instances to a cluster:C: T1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit .

2. In the left pane of the Console, expand Environment andselect Clusters.

3. Select the cluster to which you want to assign servers.

4. Select Servers and click Add.

5. To add an existing server to a cluster:

a. Select the Select an existing server and add itas a member of this cluster option.

b. Select a server from the drop-down list.Note: You cannot change the cluster of the Administation Server using the Administration Console. You cannot change the cluster or machine of a running server.

c. Click Finish.

6. To create a new server as part of a cluster:

a. Select the Create a new server and add it tothis cluster option.

b. Click Next.

c. Provide the following information:

Server Name

Server Listen Address

Server Listen Port

d. Click Finish.

The new server appears in the list of servers and is added as a member of the current cluster.7. To activate these changes, in the Change Center of theAdministration Console, click Activate Changes.

Incorrect answer:Not A. See screenshot below.

Page 39: Oracle Weblogic Server 11g: System Administration I

Reference: edocs Home > Oracle WebLogic Server Documentation > Administration Console Online Help > Assign servers to clusters

QUESTION 102Which four statements are true about WLST?

A. You can create a domain with WLST.B. WLST commands are case-insensitive.C. You can shut down servers with WLST.D. All WLST commands include parentheses.E. WLST is based on the Perl scripting language.F. You can connect to any server through WLST.G. The Administration Server needs to be running to use WLST.

Correct Answer: ABCDSection: (none)Explanation

Explanation/Reference:A: 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.B: WLST command names and arguments are case sensitive.C: The WLST shutdown command Gracefully shuts down a running server instance or a cluster. The shutdown command waits for all the in-process work to becompleted before shutting down the server or cluster.

You shut down a server to which WLST is connected by entering the shutdown command without any arguments.D: All WLST commands include parentheses.Example: exit(),startApplication(appName, [options])

Incorrect answers:E: WLST is based on the Java scripting interpreter, Jython.F: The WLST connect command only to a WebLogic Server instance.G: Without connecting to a running WebLogic Server instance, you can use WLST to create domain templates, create a new domain based on existing templates,or extend an existing, inactive domain. You cannot use WLST offline to view performance data about resources in a domain or modify security data (such as addingor removing users).

WLST offline provides read and write access to the configuration data that is persisted in the domain's config directory or in a domain template JAR created usingTemplate Builder.

Reference: Documentation Home > BEA WebLogic Server 9.2 Documentation > WebLogic Scripting Tool > WLST Command and Variable Reference

QUESTION 103Indentify two server attributes that you must configure to communicate with the server via HTTPS.

A. SSL Listen AddressB. SSL Listen PortC. SSL Listen Port Enabled

Page 40: Oracle Weblogic Server 11g: System Administration I

D. Production Mode EnabledE. Startup Mode

Correct Answer: BCSection: (none)Explanation

Explanation/Reference:B: WebLogic Server supports SSL on a dedicated listen port which defaults to 7002. To establish an SSL connection, a Web browser connects to WebLogic Serverby supplying the SSL listen port and the HTTPs schema in the connection URL, for example, https://myserver:7002.

C: Note: Enabling SSL under WLS 10.3

Steps to configure WLS for SSL:

1) Open the WLS console

2) Select from the Domain Structure -> (your domain) -> Environment -> Servers

3) Select the server from the Summary of Servers page you wish to configure for SSL.

4) Under the Settings for (server name) page, select the Configuration tab, then General tab (the defaults).

5) If WLS is running in production mode, select the Lock & Edit button.

6) Select the SSL Listen Port Enabled checkbox, and enter your preferred port in the SSL Listen Port.

7) Press the Save button.

8) If WLS is running in production mode, select the Release Configuration button.

Incorrect answers:A: There is no such thing as SSL Listen address. Using a sloppy language it can be used as a synonym to SSL Listen Port. SSL Listen port do exist.

Reference: Oracle HTTP Server Attribute Descriptions

QUESTION 104Consider a cluster of four servers: ServerA, ServerB, ServerC, and ServerD. The cluster hosts a web application and is accessed using a proxy pug-in. This webapplication is configured to use in-memory session replication.

A user is directed to ServerA. An HTTP session is established on ServerA and is also replicated to ServerC. If ServerA subsequently fails, which server will this userbe redirected to?

A. none; the user will receive an error messageB. ServerBC. ServerCD. ServerDE. Any other available server

Correct Answer: CSection: (none)Explanation

Explanation/Reference:To support automatic failover for servlet and JSP HTTP session states, WebLogic Server replicates the session state in memory. WebLogic Server creates aprimary 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 iskept up-to-date so that it may be used if the server that hosts the servlet fails. The process of copying a session state from one server instance to another is calledin-memory replication.

QUESTION 105Which three techniques can create a new WebLogic domain?

A. Configuration WizardB. Domain Template BuilderC. WLSTD. Administration consoleE. Unpack commandF. Node Manager

Correct Answer: ACESection: (none)Explanation

Explanation/Reference:A, C: 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.

Incorrect answers:

If a domain's Administration Server is running, you can use the AdministrationD:Console to add and remove servers in the domain and to configure all of the domain's properties. In addition, you can use the Administration Console to monitor theperformance and overall health of a domain.

If you want to create a new domain, use the Configuration WizardE: Create a template that defines the full set of resources within a domain, including infrastructure components, applications, services, security options, and generalenvironment and operating system parameters.You can the template that you create, as the basis for creating a domain by using the Configuration Wizard, WLST, or the unpack command.

QUESTION 106Which four tasks are required to use database persistence for JMS messages?

Page 41: Oracle Weblogic Server 11g: System Administration I

A. Assign a data source to a JDBC store.B. Configure a data source's delivery mode.C. Assign a JDBC store to a JMS server.D. Create a JDBC data source.E. Disable a server's file store.F. Create a JDBC store.

Correct Answer: ACDFSection: (none)Explanation

Explanation/Reference:The main steps for creating a JDBC store are as follows:

1. Create a JDBC data source (D) or multi data sourceto interface with the JDBC store.

2. Create a JDBC store (F) and associate it with theJDBC data source (A) or multi data source.

3. It is highly recommended that you configure thePrefix option to a unique value for each configuredJDBC store table.

4. Associate the JDBC store with the subsystem(s) thatwill be using it, such as:

* For JMS servers, select the JDBC store (C) on the General Configuration page.

* For Store-and-Forward agents, select the JDBC store on the General Configuration page.

Note: The WebLogic Persistent Store provides a built-in, high-performance storage solution for all subsystems and services that require persistence. For example,it can store persistent JMS messages or temporarily store messages sent using the Store-and-Forward feature. Each WebLogic Server instance in a domain has adefault persistent store that requires no configuration and which can be simultaneously used by subsystems that prefer to use the system's default storage.However, you can also configure a dedicated file-based store or JDBC database-accessible store to suit your JMS implementation.

Reference: Documentation Home > BEA WebLogic Server 9.2 Documentation > Configuring WebLogic Server Environments > Using the WebLogic PersistentStore, Main Steps for Configuring a JDBC Store

QUESTION 107When describing a WebLogic domain, which three statements are true?

A. A domain may be set up in either Production Mode Production Mode or Development Mode.B. All instances of WebLogic Server must be defined within a domain.C. The domain configuration is stored in Oracle database by default.D. Any instance of WebLogic Server may update the domain configurationE. The security realm for a domain is optional.F. A domain maybe created by using the Configuration Wizard.

Correct Answer: ABFSection: (none)Explanation

Explanation/Reference:A: All servers in a domain run either in development mode or production mode.F: If you want to create a new domain, you can use the Configuration Wizard (or WLST or Unpack command).

Incorrect answers:D: Only an administration server can update the domain configuration.

QUESTION 108You are responsible for configuration a WebLogic domain to support an order processing application. This application will communicate with multiple JDBC datasources to fulfill each customer order. To maintain data integrity across these databases, work will be performed within a global transaction.

However, you have learned that one of the data sources in the transaction does not have an XA driver. Which option should you select on this non-XA data sourceto ensure that orders are still processed as global transactions?

A. Ignore HeuristicsB. Planned to ThreadC. Password EncryptedD. Logging Last ResourceE. Test Connections on Reserve

Correct Answer: DSection: (none)Explanation

Explanation/Reference:The Logging Last Resource option:Enables a non-XA JDBC connection to participate in distributed transactions using the Logging Last Resource (LLR) transaction optimization. Recommended inplace of Emulate Two-Phase Commit.

With this option, the transaction branch in which the connection is used is processed as the last resource in the transaction and is processed as a one-phasecommit operation. The result of the operation is written in a log file on the resource itself, and the result determines the success or failure of the prepare phase ofthe transaction. This option offers some performance benefits with greater data safety than Emulate Two-Phase Commit.Note: The transaction protocol for a JDBC data source determines how connections from the data source are handled during transaction processing. Transactionswithin a JDBC data source are either global (XA) and non-global (local).

Incorrect answers:E: Test Connections on Reserve is related to connections, not to transactions:When Test Connections on Reserve is enabled, the server instance checks a database connection prior to returning the connection to a client. This helps reduce

Page 42: Oracle Weblogic Server 11g: System Administration I

the risk of passing invalid connections to clients.

Reference: OTN Home > Oracle WebLogic Server 10.3.1 Documentation > Administration Console Online Help > JDBC Data Source: Configuration: Transaction

QUESTION 109You are installing Oracle WebLogic Server 11g for some new developers in the department. They have asked for a very generic installation for development andwant you to ensure that the "MedRec" sample domain is included. What should you do to accomplish this?

A. Select the typical installation because the "MedRec" sample domain is included in it.B. You won't be able to do this, because all the samples were removed from the installer after 10g.C. Select the custom installation and select Server Examples.D. After installation, create a sample domain named "MedRec" by using the Configuration Wizard.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:MedRec-Spring is not installed by default when you install WebLogic Server. You must choose Custom installation, then select Server Examples from the ChooseProducts and Component page.

Note: MedRec is an end-to-end sample Java EE application shipped with WebLogic Server that simulates an independent, centralized medical record managementsystem. The MedRec application provides a framework for patients, doctors, and administrators to manage patient data using a variety of different clients.

MedRec demonstrates WebLogic Server and Java EE features, and highlights Oracle- recommended best practices. MedRec is included in the WebLogic Serverdistribution, and can be accessed from the Start menu on Windows machines. For Linux and other platforms, you can start MedRec from the WL_HOME\samples\domains\medrec directory, where WL_HOME is the top-level installation directory for WebLogic Server. A Spring version of the application is accessible from theWL_HOME\samples\domains\medrec-spring directory.

Reference: Oracle Fusion Middleware Spring Support in Oracle WebLogic Server 11g Developing Spring-Based Applications for Oracle WebLogic Server

QUESTION 110Consider the following excerpt from mod_wl_ohs.conf:

<IfModule weblogic_module>WebLogicCluster 192.168.13.1:7001, 192.168.13.2:7001,192.168.13.2:7001 </IfModule><Location /welcome>SetHandler weblogic-handler</Location>

Assuming that this is a valid is a valid configuration, which two conclusions can you make?

A. A web application name "welcome" is configured to use session replication.B. A web application that uses the paths "welcome" is targeted to the cluster.C. The proxy server will ignore any requests that contain the name "welcome."D. The proxy server is listening on the host name "welcome."E. A cluster exists that consists of at least two managed servers.F. All cluster members are running on the same machine.

Correct Answer: BESection: (none)Explanation

Explanation/Reference:B: To proxy requests by path, use the Location block and the SetHandler statement.When to use <Location>

Use <Location> to apply directives to content that lives outside the filesystem. For content that lives in the filesystem, use <Directory> and <Files>. An exception is<Location />, which is an easy way to apply a configuration to the entire server.

For all origin (non-proxy) requests, the URL to be matched is a URL-path of the form /path/. No scheme, hostname, port, or query string may be included. For proxyrequests, the URL to be matched is of the form scheme://servername/path, and you must include the prefix.

E: Add an IfModule block that defines one of the following:For a non-clustered WebLogic Server instance:The WebLogicHost and WebLogicPort parameters.For a cluster of WebLogic Servers instances:The WebLogicCluster parameter.

If you are proxying requests by MIME type to a cluster of WebLogic Servers, use the WebLogicCluster parameter.

For example:<IfModule mod_weblogic.c>WebLogicClusterw1s1.com:7001,w1s2.com:7001,w1s3.com:7001

</IfModule>Note #1: The <IfModule test>...</IfModule> section is used to mark directives that are conditional on the presence of a specific module. The directives within an<IfModule> section are only processed if the test is true. If test is false, everything between the start and end markers is ignored.

The test in the <IfModule> section directive can be one of two forms:

module name!module name

Note #2:<Location> DirectiveDescription: Applies the enclosed directives only to matching URLs Syntax: <Location URL-path|URL> ... </Location>Context: server config, virtual hostStatus: CoreModule: core

The <Location> directive limits the scope of the enclosed directives by URL. It is similar to the <Directory> directive, and starts a subsection which is terminated with

Page 43: Oracle Weblogic Server 11g: System Administration I

a </Location> directive. <Location> sections are processed in the order they appear in the configuration file, after the <Directory> sections and .htaccess files areread, and after the <Files> sections.

<Location> sections operate completely outside the filesystem. This has several consequences. Most importantly, <Location> directives should not be used tocontrol access to filesystem locations. Since several different URLs may map to the same filesystem location, such access controls may by circumvented.

Reference: eDocs Home > BEA WebLogic Server 8.1 Documentation > Using Web Server Plug- Ins with WebLogic Server > Installing and Configuring the ApacheHTTP Server Plug-In

QUESTION 111Which two statements are true about data sources that have been created?

A. Data sources must be targeted to a server.B. Data sources must be bound in the JDNI tree of a server.C. Data sources are an Oracle WebLogic Server-specific feature.D. Data sources are tied directly to a connection pool.E. Data sources are required for a domain.

Correct Answer: BDSection: (none)Explanation

Explanation/Reference:In WebLogic Server, you configure database connectivity by adding data sources to your WebLogic domain. WebLogic JDBC data sources provide databaseaccess and database connection management. Each data source contains a pool of database connections that are created when the data source is created and atserver startup. Applications reserve a database connection from the data source by looking up the data source on the JNDI tree or in the local application contextand then calling getConnection(). When finished with the connection, the application should call connection.close() as early as possible, which returns the databaseconnection to the pool for other applications to use.