88
Oracle 1z0-102 Oracle Weblogic Server 11g: System Administration I Version: 6.6

Weblogic 11g Dumps - 1z0-102

Embed Size (px)

DESCRIPTION

Contains the latest dumps.

Citation preview

  • Oracle 1z0-102

    Oracle Weblogic Server 11g: System Administration IVersion: 6.6

  • QUESTION NO: 1

    Which 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 time D. A shared library is referenced through an application's deployment descriptor.

    Answer: C,DExplanation: C: If more than one copy of myLibrary is registered, WebLogic Server selects thelibrary with the highest specification version. If multiple copies of the library use the selectedspecification version, WebLogic Server selects the copy having the highest implementationversion. D: A Java EE application can reference a registered shared Java EE library using entries in theapplications 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 NO: 2

    Refer to the Exhibit.

    You use the Start button in the administration console to start managed2 successfully. Which twostatements 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.

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 2

  • E. The Node Manager for the Administration Server machine is configured and running.

    Answer: B,DExplanation: B: The administration server must be running. Note: A WebLogic Server administration domain is a logically related group of WebLogic Serverresources. Domains include a special WebLogic Server instance called 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 restartAdministration Server and Managed Server instances from a remote location. Although NodeManager is optional, it is recommended if your WebLogic Server environment hosts applicationswith 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 server instances in any WebLogic Serverdomain, as long as the server instances reside on the same machine as the Node Managerprocess. Node Manager must run on each computer that hosts WebLogic Server instances --whether Administration Server or Managed Server -- that you want to control with Node Manager.

    QUESTION NO: 3

    Within your data center, the Administration and Managed Servers utilize a shared, central storagedevice, which servers 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 Mode B. Staging Mode C. Root Directory D. Listen Address

    Answer: BExplanation: The server staging mode specifies the default deployment mode for a server if noneis specified at deployment time. For example, the server staging mode is used if you deploy anapplication 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/SetAServerStagingMode.html

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 3

  • QUESTION NO: 4

    An EJB application is targeted to a cluster. Remote EJB clients can therefore take advantage ofWebLogic Servers load balancing and failover capabilities.

    However, a proxy server exists between the clients and the cluster, which performs IP addresstranslation. Which cluster attribute should you modify to ensure that load balancing and failoverwork correctly?

    A. Multicast Address B. Persistent Store C. Cluster Address D. Migration Basis E. Replication Channel

    Answer: CExplanation: Note: Updating Proxy Service Configurations for an Expanded Cluster If your AquaLogic Service Bus configuration includes one or more proxy services that use JMSendpoints with cluster addresses, then you must also perform the following procedure using theAquaLogic Service Bus Console after adding the new managed server to the cluster: 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 NO: 5

    You 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 at192.168.1.102.8001. D. It starts the Managed Server named server1 whose Administration Server is running at192.168.1.102:8001.

    Answer: D

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 4

  • Explanation: A Managed Server is a WebLogic Server instance that runs deployed applications. Itrefers to the Administration Server for all of its configuration and deployment information. 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: See Creating WebLogic Domains Using the ConfigurationWizard or "Create Managed Servers" inthe Administration Console Online Help. where DOMAIN_NAME is the directory in which you located the domain. By default, this directoryis BEA_HOME\user_projects\domains\DOMAIN_NAME. 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 of the domain'sAdministration Server. For example, the following command uses startManagedWebLogic.cmd to start a Managed Servernamed myManagedServer. The listen address for the domain's Administration Serveris AdminHost:7001: c:\bea\user_projects\domains\mydomain\bin\startManagedWebLogic.cmd myManagedServerhttp://AdminHost:7001

    Reference: Starting Managed Servers with a Startup Script

    QUESTION NO: 6

    An application requires a JDBC data source, which you create in the domain. You name it but theadministrator allot another domain name the same data source DatasourceB.

    Without modifying either domain, which is the best method to ensure that the application deployssuccessfully 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.

    Answer: BExplanation: A WebLogic Server deployment plan is an optional XML document that you use toconfigure an application for deployment to a specific WebLogic Server environment, such as adomain.

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 5

  • Reference: Deploying Applications To WebLogic Server, Configuring Applications for ProductionDeployment

    QUESTION NO: 7

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

    A. Demo Identity and Demo Trust B. Demo Identity and Java Standard Trust C. Java Standard Identity and Custom Trust D. Custom Identity and Demo Trust E. Custom Identity and Custom Trust F. Custom Identity and Command Line Trust

    Answer: A,B,EExplanation: Please refer to the screenshot below:

    Reference:

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

    QUESTION NO: 8

    When installing Oracle Weblogic Server 11g with the graphical installer, which three statementsare true?

    A. You must choose either a typical or a custom installation.

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 6

  • B. You install under Microsoft Windows because the graphical installer is available only forWindow C. 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.

    Answer: A,C,EExplanation: Tasks WebLogic Server Product Installation Procedure Step 1 - Obtain the appropriate installation file for your platform Step 2 - Complete the installation planning requirements Ensure that your system environment meets the requirements for the installation. Also determineyour Oracle Middleware home directory, and product installation home directories. (C) When you are installing WebLogic Server, you are prompted to choose an existing Middlewarehome directory or specify a path to create a new Middleware home directory. If you choose tocreate a new directory, the installation program automatically creates it for you. Step 3 - Determine the appropriate installation 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 theproducts and sub-components you want to install. Step 5 - Install the software Step 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 arerunning an Upgrade installer. This screen displays a list of JDKs. This list contains JDKs that are available for (and commonacross) previous installations of all the selected WebLogic Server components. Select the JDK that you want to install with the product.

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

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

    QUESTION NO: 9

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

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 7

  • A. When the managed1 server is defined in the configuration Wizard B. When the domain is created C. When the administration server comes up for the first time D. When the managed1 server1 comes for the first time

    Answer: DExplanation: This directory is created when the server is started for the first time.

    QUESTION NO: 10

    Identify three properties required by the domain Configuration Wizard when creating a newdomain.

    A. machine name B. Managed Server name C. domain startup mode D. domain name E. administrator username and password

    Answer: C,D,EExplanation: C: Choose the Startup Mode Specify the startup mode for your domain. Either Development or Production D: The Create WebLogic Domain window prompts you to specify the name and pathname for thedomain, and initiate its creation. E: The Configure Administrator Username and Password window prompts you to specify ausername and password to be used for starting the Administration Server.

    Reference: Creating WebLogic Domains Using The Configuration Wizard

    http://docs.oracle.com/cd/E13179_01/common/docs92/confgwiz/newdom.html

    QUESTION NO: 11

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

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 8

  • C. The administration server is automatically added to a new cluster. D. You must explicitly identify which servers belong to the cluster.

    Answer: A,BExplanation: A cluster must include at least one server. A clustered is administered through an administration server, but the cluster consists of managedservers only.

    QUESTION NO: 12

    Consider a single JMS module that includes a connection factory as well as queue.

    Based on your systems requirements, the connection factory needs to be made available to allservers in the domain. The queue, on the other hand, can be targeted to only a single JMS serverdomain.

    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.

    Answer: AExplanation: A subdeployment is a mechanism by which JMS module resources (such asqueues, topics, and connection factories) are grouped and targeted to a server resource (such asJMS servers, server instances, SAF agents, or a cluster). For example, you can group a connection factory with stand-alone queues or topics in asubdeployment targeted to a specific JMS server, which guarantees that all these resources areco-located to avoid extra network traffic. Another advantage of such a configuration would be if thetargeted JMS server needs to be migrated to another WebLogic server instance, then theconnection factory and all its connections will also migrate along with the JMS server'sdestinations. However, when stand-alone queues or topics are members of a subdeployment, aconnection factory can only be targeted to the same JMS server.

    Reference: Oracle Fusion Middleware Oracle WebLogic Server Administration Console OnlineHelp 11g Release 1, Configure subdeployments in JMS system modules

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 9

  • QUESTION NO: 13

    Which three attributes are part of the configuration of an existing Managed Server and can bemodified through the" administration console?

    A. name of the server B. the cluster it is in C. the machine it runs on D. its replication group E. whether it is in Development Mode or Production Mode F. that it should become the Administration Server for the domain

    Answer: B,C,DExplanation: B: Attribute label:Cluster The cluster to which this server belongs. If set, the server will listen for cluster multicast events. This is a configurable attribute. C:Attribute label:Machine The WebLogic Server host computer (machine) on which this server is meant to run. This is a configurable attribute. D: Server --> Configuration --> Cluster A 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, andthe interface address used to handle multicast traffic.

    Attribute label: Replication Group Description: Defines preferred clustered instances considered for hosting replicas of the primaryHTTP session states created on the server.

    Reference: BEA WebLogic Server 8.1 Documentation, Server --> Configuration --> General

    QUESTION NO: 14

    Which can be associated with multiple domains?

    A. Cluster B. Server Log C. Node Manager D. Administration Server

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 10

  • Answer: CExplanation: A Node Manager process is not associated with a specific WebLogic domain butwith a machine. You can use the same Node Manager process to control server instances in anyWebLogic Server domain, as long as the server instances reside on the same machine as theNode Manager process. Reference: Using Node Manager to Control Servers

    Reference: Understanding WebLogic Server Clustering

    http://docs.oracle.com/cd/E11035_01/wls100/cluster/overview.html

    QUESTION NO: 15

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

    Answer: A,DExplanation: A: Main Steps for Creating Packaged JMS Application Modules Follow these steps to configure a packaged JMS module: If necessary, create a JMS server to target the JMS module to, as explained in "Configure JMSServers" 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 JMS resources" in the AdministrationConsole 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 applicable J2EE applicationcomponent's descriptor files, as described in Referencing a Packaged JMS Application Module InDeployment Descriptor Files. Package all application modules in an EAR, as described in Packaging an Enterprise ApplicationWith a JMS Application Module. Deploy the EAR, as described in Deploying a Packaged JMS Application Module.

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 11

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

    Reference: Packaging JMS Application Modules In an Enterprise Application

    QUESTION NO: 16

    Which statement is true about the java Node Manager?

    A. It runs on Windows not on Linux B. 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

    Answer: BExplanation: Node Manager security relies on a one-way SSL connection between the client andserver.

    Reference: Oracle Fusion Middleware Oracle WebLogic Server Administration Console OnlineHelp 11g Release 1, Configuring Java-based Node Manager Security

    http://docs.oracle.com/cd/E21764_01/web.1111/e13740/java_nodemgr.htm#i1068397

    QUESTION NO: 17

    Which 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 WebLogic

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 12

  • C. Administration Servers are defined within a domain, but Managed Servers D. 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

    Answer: A,DExplanation: 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. Whenyou start a standalone or clustered Managed Server, it contacts the Administration Server for itsconfiguration information. In this way, the Administration Server operates as the central controlentity for the configuration of the entire domain.

    Reference: Configuring and Managing WebLogic Server

    http://docs.oracle.com/cd/E13222_01/wls/docs81/adminguide/overview_domain.html

    QUESTION NO: 18

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

    Answer: A,EExplanation: A: WebLogic Server instances in a cluster communicate with one another using twobasic network technologies: * IP sockets, which are the conduits for peer-to-peer communication between clustered serverinstances. * IP unicast or multicast, which server instances use to broadcast availability of services andheartbeats that indicate continued availability. E: In many deployments, clustered server instances reside within a single subnet, ensuringmulticast messages are reliably transmitted. However, you may want to distribute a WebLogicServer cluster across multiple subnets in a Wide Area Network (WAN) to increase redundancy, orto distribute clustered server instances over a larger geographical area.

    Reference: Using WebLogic Server Clusters, Communications In a Cluster

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 13

  • http://docs.oracle.com/cd/E11035_01/wls100/cluster/features.html

    QUESTION NO: 19

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

    A. A default JMS Connection Factory exists and is named weblogic.jms.connections B. 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 bemodified after the Connection Factory is created. D. A JMS Connection factory can be created as a system module resource within theadministration console.

    Answer: C,DReference: Programming WebLogic JMS, Understanding WebLogic JMS

    QUESTION NO: 20

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

    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.

    Answer: AExplanation: The WLST life cycleshutdowncommand gracefully shuts down a running serverinstance or cluster.

    Reference: WebLogic Scripting Tool ,Life Cycle Commands

    QUESTION NO: 21

    Which three statements are true about WebLogic users and groups?

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 14

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

    Answer: B,C,EExplanation: B: For efficient security management, BEA recommends adding users to groups. Agroup is a collection of users who usually have something in common, such as working in thesame 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.

    E (not A): You can configure more than one security provider of a given type in a security realm.For example, you might use two or more different Role Mapping providers or Authorizationproviders. If you have more than one security provider of the same type in a security realm, theorder in which these providers are called can affect the overall outcome of the security processes.By default, security providers are called in the order that they were added to the realm. You canuse the Administration Console to change the order of the providers.

    Note: Security Providers - are modules that provide security service to application to protectWeblogic resource. Types of security providers in WebLogic Server are Authentication Provider, Authorization Provider, Auditing Providers, Credential Mapping Provider,Identity Assertion Provider, Principal Validation Provider, Adjudication Providers, Role MappingProviders, Certificate Lookup and Validation Providers, Keystore Providers and Realm Adapterproviders

    QUESTION NO: 22

    Your production JMS server and/or its consumers are not able to handle the incoming messageworkload. The number of messages on the server never stabilizes and the server eventuallybecomes overload.

    Which JMS server attribute will best help prevent the JMS server from being overloaded byproducers?

    A. Producer Pause High

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 15

  • B. Messages Threshold High C. Reconnect Polity D. Paging Directory E. Pool Maximum Capacity

    Answer: BExplanation: JMS Configuration option ' Messages Threshold High': The upper threshold (number of messages stored in this JMS server) that triggers flow control andlogging events. A value of -1 disables the events for this JMS server. 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 begindecreasing their message flow.

    Reference: Administration Console Online Help, JMS Server: Configuration: Thresholds andQuotas

    QUESTION NO: 23

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

    Answer: A,B,CExplanation: 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 server instance fails.You cluster application components by deploying them on multiple server instances in theclusterso, if a server instance on which a component is running fails, another server instance onwhich that component is deployed can continue application processing.

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

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 16

  • B: A clustered application or application component is one that is available on multiple WebLogicServer instances in a cluster. If an object is clustered, failover and load balancing for that object isavailable. Deploy objects homogeneouslyto every server instance in your clusterto simplifycluster 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 Port Identify the address and port you will dedicate to multicast communications for your cluster.

    Reference: Using WebLogic Server Clusters, Understanding WebLogic Server Clustering

    QUESTION NO: 24

    Which three statements are true when an Administration Server is compared to a managedserver?

    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.

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

    Reference: Overview of WebLogic Server System Administration

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 17

  • QUESTION NO: 25

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

    Answer: A,D,FExplanation: 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 instanceswhose health state is "failed". (F) * Automatically restart Managed Servers that have the "failed" health state, or have shut downunexpectedly due to a system crash or reboot. (D)

    QUESTION NO: 26

    You have successfully created a global data source and connection pool via the administrationconsole.

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

    A. in a directory named config/dataSource B. in a directory named config/connPool C. in a directory named config/resources D. in a directory named config/jdbc E. in a directory named config

    Answer: DExplanation: When you create a JDBC resource (data source or multi data source) using theAdministration Console or using the WebLogic Scripting Tool (WLST), WebLogic Server creates aJDBC module in the config/jdbc subdirectory of the domain directory, and adds a reference to themodule in the domains config.xml file.

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 18

  • Reference: Configuring WebLogic JDBC Resources

    QUESTION NO: 27

    What is the maximum number of targets (standard or migrate) that you can configure for a JMSserver?

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

    Answer: DExplanation: 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 NO: 28

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

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

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

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 19

  • A. managed, host and port B. Administration Server host and port C. Managed1 host and Administration port D. Administration Server host and Administration port

    Answer: DExplanation: Servicing only administrative requests: Specifies that WebLogic Server make theapplication available in Administration Mode only. While in Administration mode, the application can be accessed only by internal clients through aconfigured Administration port.

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

    QUESTION NO: 29

    You deployed a simple web application WAR by using the administration console. Its state iscurrently "Active."

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

    What happens when you save such changes?

    A. The changes are in memory and temporary B. 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 bestored. D. The archive is opened and new versions of the deployment descriptors are placed within it.

    Answer: CExplanation: Note: You can use the Administration Console to configure selected deploymentdescriptor 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 explodedapplication:

    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.

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 20

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

    Not all changes take effect immediatelysome require a restart

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

    QUESTION NO: 30

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

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

    A. Statement Cache B. Pool Reserve Mode C. Test Table Name D. Test Connection Mode E. Test Connections on Reserve

    Answer: A,EExplanation: A: Each connection in a data source has its own individual cache of prepared andcallable statements used on the connection. However, you configure statement cache options perdata source. That is, the statement cache for each connection in a data source uses the statementcache 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 connectionfrom the data source, WebLogic Server tests the connection using the query specified in TestTable Name before giving the connection to the application.

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

    Reference: Oracle Fusion Middleware Oracle WebLogic Server Administration Console OnlineHelp 11g Release 1, Configuring JDBC Data Sources

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 21

  • http://docs.oracle.com/cd/E12839_01/web.1111/e13737/jdbc_datasources.htm#i1192665

    QUESTION NO: 31

    You have selected Configuration Archive Enabled for the domain. When a configuration changeand activated, where is the previous version of the configuration archived?

    A. in the Oracle database B. in the config directory C. in the pending directory D. in the console-ext directory E. in the configArchive directory

    Answer: EExplanation: You can configure WebLogic Server to make backup copies of the configurationfiles. This facilitates recovery in cases where configuration changes need to be reversed or theunlikely case that configuration files become corrupted. When the Administration Server starts up,it saves a JAR file named config-booted.jar that contains the configuration files. When you makechanges to the configuration files, the old files are saved in the configArchive directory under thedomain 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 NO: 32

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

    Answer: B,D,EExplanation: Applications look up the data source on the JNDI tree or in the local applicationcontext (B) and then reserve a database connection with the getConnection (E) method. Data

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 22

  • sources and their connection pools provide connection management processes that help keepyour system running and performant. B: JNDI Name - Enter the JNDI path to where this JDBC data source will be bound. Applicationslook up the data source on the JNDI tree by this name when reserving a connection.

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

    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 NO: 33

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

    Answer: A,B,EExplanation:

    E: An EARfile contains: * Web module A WAR file containing the view logics like JSPs, Servlets, Html contents. Every web module musthave 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 elementsfor configuring security for the web application.

    Note: *An EAR file provides a convenient way to bundle up all pieces of a J2EE application. It maycontain Java Module, WAR Module or an EJB Jar module.

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 23

  • 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 portalapplication. Typical preparation steps include modifying deployment descriptors for the product,building the Enterprise archive (EAR) with all its pre-compiled classes, and deciding if you want tocompress that EAR into an archive or leave it exploded.

    Reference: Preparing and Deploying the EAR File

    QUESTION NO: 34

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

    A. JMS Distributed Destination B. JMS Connection Factory C. JMS Data Source D. JMS Destination E. JMS Server

    Answer: A,B,DExplanation: Configurable JMS Resources in Modules The following configuration resources are defined as part of a system module or an applicationmodule: *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 domainconfiguration 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

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 24

  • QUESTION NO: 35

    A managed server, myserver1, has a boot.properties file in the security directory. It was startedwith the startManageWeblogic.sh script(.cmd in windows) and his boot.properties file was used forits startup credentials.

    You just used the administration console to change all administrator passwords. To continue usingboot.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, selectGenerate Boot Identity file. C. You need not do anything- The password in boot .properties was automatically updated byadministration 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 filecontaining the new password. Copy that file into the security directory of myserver1

    Answer: DExplanation: If you install the WebLogic Server Examples component, the default user weblogicis created that has permission to start and stop WebLogic Server. The default password iswelcome1. If you change the password of the weblogic user, WebLogic Server does notautomatically update this password in the boot.properties file, which is located in theDOMAIN_NAME/servers/AdminServer/security directory.

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

    * Remove the boot.properties file. Subsequently each time you start WebLogic Server, you areprompted for the username and password. The changed password for the weblogic user will beaccepted.

    * Modify the existing boot.properties file, changing the username and password as follows:

    username=weblogic password=welcome1 Subsequently during the server startup process, the boot.properties file is encrypted again.

    Reference: Oracle Fusion Middleware Oracle WebLogic Server Administration Console Online

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 25

  • Help 11g Release 1, Limitation Regarding User weblogic

    http://docs.oracle.com/cd/E15523_01/web.1111/e13708/overview.htm

    QUESTION NO: 36

    Refer to the Exhibit.

    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 newrequests. D. The choice "When work completes" allows in work requests to complete before the serverdown. E. The administration console can be used to shut down Managed Servers, such as managed notthe Administration Server.

    Answer: A,B,DExplanation: A: See step 3) in the note below. 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.

    Note: Stop WebLogic Server

    1. Start WebLogic Server Administration Console by typing http://[host name]:7001/console in the

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 26

  • URL line of a web browser. 2.Log in by typing the user name and password that was used when creating this WebLogicconfiguration, and then click Log In. 3.Under Change Center, click Lock & Edit. 4.Under Domain Structure, click Environment > Servers. Click AdminServer and, on the Settings for AdminServer pane, click the Control tab. Ensure that AdminServer is selected in the Server Status table and click Shutdown. 5.Select When Work Completes to gracefully shut down the server or select Force Shutdown Nowto stop the server immediately without completing ongoing tasks. On the Server Life Cycle Assistant pane, click Yes to complete the shutdown. The WebLogic Server Administration Console is no longer available (not E), and the commandprompt that you ran the start command from is available.

    QUESTION NO: 37

    Your company is developing batch order system that utilities JMS. Each order message that iscreated will be broadcasted to and consumed by several order processing and billing applications.

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

    A. Grid B. Queue C. Topic D. Batch E. Client

    Answer: CExplanation: 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 forasynchronous peer communications. A message delivered to a topic is distributed to allconsumers that are subscribed to that topic.

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

    QUESTION NO: 38

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 27

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

    Current Capacity = 10

    Current 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. E. The statement cache size is 10. F. The statement cache size is 20.

    Answer: B,CExplanation: 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 datasource.

    Current Capacity High Count: Highest number of database connections available or in use (currentcapacity) in this instance of the data source since the data source was deployed.

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

    QUESTION NO: 39

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

    A. SSL Listen Address B. SSL listen Port C. SSL Listen Port Enabled D. Production Mode Enabled E. Startup Mode

    Answer: BExplanation: Enabling SSL under WLS 10.3 See step 6) below.

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 28

  • 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 (thedefaults). 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 ListenPort. 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 NO: 40

    You are creating a new domain by using the Configuration Wizard, based solely on the BasicWebLogic Server Domain product (no template). Select three resources that you can create whilestill in the Configuration Wizard.

    A. Administration Server B. Managed Server C. Data Server D. JMS Server E. Cluster F. Domain Log

    Answer: A,B,EExplanation: A: The Configure the Administration Server window prompts you to define theconfiguration information for the Administration Server, including: Administration Server name Listen address Nonsecure and secure (optional) listen ports B: The Configure Managed Servers window prompts you to define the configuration information forone or more Managed Servers, including: Managed Server name Listen address Nonsecure and secure (optional) listen ports

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 29

  • E: The Configure Clusters window prompts you to define the configuration information for one ormore clusters, including: Cluster name Multicast address and port Cluster 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 a proxy 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 NO: 41

    Which 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 anadministration-level user when logging in. E. If a domain is in Production Mode, access to the administration console must be made throughsecure port. F. If the domain's Administration Port is enabled, access to the administration console must bemade only through that port.

    Answer: B,C,DExplanation: 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 domain for use in another context, such as migrating a domain containing anapplication under development to a production 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 the extension, 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 to other sections of the Administration Console, and if the extension modifies WebLogic Server resources, it

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 30

  • participates in the change control process.

    D: Basic Policy Conditions The basic policy conditions that are available in this release of WebLogic Server include: * Server is in Development ModeAllows access if the server that hosts the resource is running indevelopment mode. Note:In the development mode, the configuration of security is relatively relaxed, allowing you toauto-deploy applications.

    Reference: Administration Console Online Help, Advanced Configuration Options

    Reference: Extending the Administration Console for Oracle WebLogic Server 11g Release 1

    QUESTION NO: 42

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

    Answer: A,C,EExplanation: A: A deployment plan is an XML document that defines an application's WebLogicServer deployment configuration for a specific WebLogic Server environment. C: The Administration Console updates or creates new deployment plans as necessary when youchange configuration properties for an installed application. E: A deployment plan can apply changes to deployment properties stored in the applicationsexisting WebLogic Server deployment descriptors. Reference: Overview of WebLogic Server Application Development, Deployment Plans

    QUESTION NO: 43

    All the servers in your domain are running.

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 31

  • After you connect to the Administration Server in WLST you run the following command, whichcompletes 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 AdministrationServer. E. You can view the status of the deployment by sending a message to the object namedprogress.

    Answer: A,EExplanation: They deploy command is used to deploy an application to a WebLogic Serverinstance. (A) The deploy command returns a WLSTProgress object that you can access to check the status ofthe command. (E)

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

    * appName Name of the application or standalone J2EE module to be deployed. *targets Optional. Comma-separated list of the target. Each target may be qualified with a J2EE modulename (for example, module1@server1) enabling you to deploy different modules of the applicationarchive on different servers. This argument defaults to the server to which WLST is currentlyconnected.

    Note 2: The WebLogic Scripting Tool (WLST) is a command-line scripting interface that systemadministrators and operators use to monitor and manage WebLogic Server instances anddomains.

    Reference: WebLogic Scripting Tool, WLST Command and Variable Reference

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 32

  • QUESTION NO: 44

    Your task is to create and start a managed server on a remote computer (a computer other thanthe one where the domain has been created and the Administration server is currently running).

    So far you have:

    1. Created the managed server, called startmanaged1, in the administration console

    2. Created a managed server" JAR file template by using the pack command or, theAdministration 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 under its 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 thestartManagedWeblogic.sh script (. cmd in Windows), which is found under its bin directory.

    Answer: DExplanation: Creating a Managed Server on a Remote Machine (Step 3) * Install WebLogic Server on the machines on which you want to host Managed Serversfor the WebLogic domain. *Establish a session with the remote machine. You may use any valid method, such as telnet, todo so. Step 4: * Copy the Managed Server template to the remote machine.

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 33

  • * 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_server startManagedWebLogic my_managed_server admin-url On a UNIX system, run one of the following commands: /startmy_managed_server.sh /startManagedWebLogic.sh my_managed_server admin-url

    Reference: Oracle Fusion Middleware Oracle WebLogic Server Administration Console OnlineHelp 11g Release 1, Reference: Creating and Starting a Managed Server on a Remote Machine

    QUESTION NO: 45

    Identify three attributes of a WebLogic cluster.

    A. Listen Address B. Cluster Address C. Cluster Factory D. Messaging Mode E. Servers F. Targets

    Answer: B,D,EExplanation: WebLogic Cluster Attributes includes: B: * ClusterAddress Defines the address to be used by clients to connect to this cluster. This address may be either aDNS host name that maps to multiple IP addresses or a comma separated list of single addresshost names or IP addresses. If network channels are configured, it is possible to set the clusteraddress 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.

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 34

  • Note:The config.xml file is an XML document that describes the configuration of a WebLogicServer domain. config.xml consists of a series of XML elements. The Domain element is the top-level element, and all elements in the Domain descend from the Domain element. The Domainelement includes child elements, such as the Server, Cluster, and Application elements. Thesechild 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 elementsEJBComponent and WebAppComponent.

    Each element has one or more configurable attributes. An attribute defined in config.dtd has acorresponding attribute in the configuration API. For example, the Server element has a ListenPortattribute, and likewise, the weblogic.management.configuration.ServerMBean has a ListenPortattribute. Configurable attributes are readable and writable, that is, ServerMBean has agetListenPort 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 NO: 46

    A client accesses a web application named companystore that is running on WebLogic Server.After adding several items to the shopping cart, the host server crashes. The client is automaticallyredirected to another server by a proxy, but the shopping cart is now empty.

    Which WebLogic Server feature would you enable to remedy this situation?

    A. Application Persistence B. Message Persistence C. Session Replication D. Dynamic Failover E. Stateful Pooling

    Answer: CExplanation: In order for a cluster to provide high availability it must be able to recover fromservice failures. In clusters that utilize Web servers with WebLogic proxy plug-ins, the proxy plug-in handlesfailover transparently to the client. If a server fails, the plug-in locates the replicated HTTP sessionstate on a secondary server and redirects the client's request accordingly.

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

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 35

  • QUESTION NO: 47

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

    Answer: A,C,FExplanation: A: You can view any changes that you have saved, but not yet activated, by clickingthe 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, butwhich require restarts before the changes become effective.

    F (not D):As you make configuration changes using the Administration Console, you click Save (orin some cases Finish) on the appropriate pages. This does not cause the changes to take effectimmediately. The changes take effect when you click Activate Changes in the Change Center. Atthat point, the configuration changes are distributed to each of the servers in the domain. If thechanges are acceptable to each of the servers, then they take effect. If any server cannot accept achange, then all of the changes are rolled back from all of the servers in the domain. The changesare left in a pending state; you can then either edit the pending changes to resolve the problem orrevert the pending changes.

    Note: To change a production domains configuration, you must:

    1. Locate the Change Center in the upper left of the Administration Console screen. 2. Click the Lock & Edit button to lock the configuration edit hierarchy for the domain. 3. Make the changes you desire on the relevant page of the Console. Click Save on each pagewhere you make a change. 4. When you have finished making all the desired changes, click Activate Changes in the ChangeCenter.

    You can revert any pending (saved, but not yet activated) changes by clicking Undo All Changesin the Change Center. You can revert any individual change by going to the appropriate page in

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 36

  • the Administration Console and restoring the attribute to its previous value.

    Reference: Using the Change Center

    http://docs.oracle.com/cd/E13222_01/wls/docs103/intro/console.html#wp1122447

    QUESTION NO: 48

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

    Answer: A,BExplanation: A: If you are testing the production redeployment feature, or you want to useproduction redeployment with an application that does not include a version string in the manifestfile, specify a unique version string by using the -appversion option when deploying or redeployingan application B: To assign a version identifier to an application, BEA recommends that you store a uniqueversion string directly in the MANIFEST.MF file of the EAR or WAR being deployed.

    Reference: Redeploying Applications in a Production Environment, Specifying an applicationversion identifier

    http://docs.oracle.com/cd/E11035_01/wls100/deployment/redeploy.html#wp1020276

    QUESTION NO: 49

    Identify four attributes of a JDBC data source.

    A. URL B. Targets C. JNDI Name D. Delivery Mode E. Database Driver F. Server Log

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 37

  • Answer: A,B,C,EExplanation: A: When creating a JDBC data source using the Administration Console, you areprompted to select a JDBC driver. The Administration Console provides the driver class name andhelps 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 wouldlike to deploy this JDBC data source. C: JNDI Name, The JNDI path to where this data source is bound. By default, the JNDI name isthe name of the data source. E: When deciding which JDBC driver to use to connect to a database, you should try drivers fromvarious vendors in your environment. In general, JDBC driver performance is dependent on manyfactors, especially the SQL code used in applications and the JDBC driver implementation.

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

    QUESTION NO: 50

    Identify 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 containservers. E. WebLogic Server uses server machine assignments to help it choose servers in a cluster onwhich to replicate session state. F. The machine's Cluster Weight attribute may be used by load balancers to help them determinehow often to send requests to servers assigned to that machine.

    Answer: B,EExplanation: B: The Administration Server uses the machine definition in conjunction with theNode Manager application to start remote WebLogic Server instances. E: By default, WebLogic Server attempts to create session state replicas on a different machinethan the one that hosts the primary session state. You can further control where secondary statesare placed using replication groups. A replication group is a preferred list of clustered servers to beused for storing session state replicas. Using the WebLogic Server Console, you can define unique machine names that will hostindividual server instances. These machine names can be associated with new WebLogic Serverinstances to identify where the servers reside in your system. Machine names are generally used to indicate servers that run on the same machine.

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 38

  • Reference: Administration Console Online Help, Machines

    Reference: Failover and Replication in a Cluster

    QUESTION NO: 51

    The computer that the Administration Server was running on has crashed and cannot be restarted.Which three steps are required to bring up the Administration Server 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.

    Answer: B,C,EExplanation: If a machine crash prevents you from restarting the Administration Server on thesame machine, you can recover management of the running Managed Servers as follows: (B) 1. Install the WebLogic Server software on the new administration machine (if this has notalready been done). 2. Make your application files available to the new Administration Server by copying them frombackups or by using a shared disk. Your application files should be available in the same relativelocation on the new file system as on the file system of the original Administration Server. (C) 3. Make your configuration and security data available to the new administration machine bycopying them from backups or by using a shared disk. For more information, refer to Directory andFile Backups for Failure Recovery. (E) 4. Restart the Administration Server on the new machine.

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

    QUESTION NO: 52

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

    A. genkeypair B. importcert

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 39

  • C. gensockey D. importkeystore E. storepasswd

    Answer: BExplanation: B: keytool import Reads 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 identified by alias. If no file is given, thecertificate or PKCS#7 reply is read from stdin. keytool can import X.509 v1, v2, and v3 certificates,and PKCS#7 formatted certificate chains consisting of certificates of that type.

    Reference: Configuring Identity and Trust, Commonly Used keytool Commands

    http://docs.oracle.com/cd/E11035_01/wls100/secmanage/identity_trust.html

    QUESTION NO: 53

    YCMJ are viewing the deployments in the administration console. A web application that istargeted 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.

    Answer: BExplanation:

    QUESTION NO: 54

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

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 40

  • E. Create a multi data source. F. Create a JDBC data source.

    Answer: B,D,FExplanation: To specify JDBC-based persistent session storage for a Web application, followthese steps:

    1. (B) Create a table named wl_servlet_sessions in the database 2. Assign a connection pool that has read/write permissions to the wl_servlet_sessions databasetable 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 ofthePersistentStoreType and PersistentStorePool parameters

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

    Reference: Implementing Highly Available and Scalable Solutions Using the WebLogic Cluster,JDBC-Based Persistent Storage

    http://www.informit.com/articles/article.aspx?p=101737&seqNum=7

    QUESTION NO: 55

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

    Answer: A,B,DExplanation: A: When the HTTP client requests the servlet, HttpClusterServlet proxies therequest to the WebLogic Server cluster. HttpClusterServlet maintains the list of all servers in thecluster, and the load balancing logic to use when accessing the cluster. In the above example,HttpClusterServlet routes the client request to the servlet hosted on WebLogic Server A.WebLogic Server A becomes the primary server hosting the client's servlet session. To provide failover services for the servlet, the primary server replicates the client's servlet session

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 41

  • state to a secondary WebLogic Server in the cluster. This ensures that a replica of the sessionstate exists even if the primary server fails (for example, due to a network failure). In the exampleabove, Server B is selected as the secondary. The servlet page is returned to the client through the HttpClusterServlet, and the client browser isinstructed to write a cookie that lists the primary and secondary locations of the servlet sessionstate. If the client browser does not support cookies, WebLogic Server can use URL rewritinginstead. Figure, Accessing Servlets and JSPs using a Proxy:

    B: In clusters that utilize Web servers with WebLogic proxy plug-ins, the proxy plug-in handlesfailover transparently to the client. If a server fails, the plug-in locates the replicated HTTP sessionstate 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 clusteredservlet or JSP, and forwards HTTP requests to those instances on a round-robin basis. Reference: Using WebLogic Server Clusters, Failover and Replication in a Cluster

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

    QUESTION NO: 56

    Refer to the Exhibit

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 42

  • 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

    Answer: DExplanation: The server instance for which you configure the listen address does not need to berunning. If it is running, you must restart it after you complete these steps.

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

    QUESTION NO: 57

    You run the following WLST script and it completes successfully. Which statement best describes

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 43

  • what the script created?

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

    Answer: CExplanation: A managed server (not a CMO, not an administration server) is created. Port is 8008.

    Note: Listing:Creating a Managed Server connect("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 NO: 58

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 44

  • You 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. Whichtwo 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 administrateconsole.

    Answer: A,EExplanation: 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 itsruntime mode.

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

    Reference: Administration Console Online Help, Change to production mode

    QUESTION NO: 59

    Identify three ways to create a domain template.

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 45

  • A. Administration console B. Domain Template Builder C. unpack command D. pack command E. Node Manager F. WLST G. Configuration Wizard

    Answer: B,D,FExplanation: 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 command The pack command creates a template archive (.jar) file that contains a snapshot of either anentire domain or a subset of a domain. You can use a template that contains a subset of a domainto 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 NO: 60

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

    replicated

    From which file is this excerpt taken?

    A. weblogic-application.xml B. weblogic.xml C. session.xml D. config.xml E. web.xml

    Answer: B

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 46

  • Explanation: To configure file-based persistent storage for sessions:

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

    Set the directory where WebLogic Server stores the sessions.

    Reference: Oracle Fusion Middleware Oracle WebLogic Server Administration Console OnlineHelp 11g Release 1, Using File-based Persistent storage

    http://docs.oracle.com/cd/E15523_01/web.1111/e13712/sessions.htm()

    QUESTION NO: 61

    You use a web browser to log in to a web application that is deployed to WebLogic Server. Whenyou 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.

    Answer: D,EExplanation: D: You were able to log in to the web application that is deployed throughWebLogic. In WebLogic Server, Authentication providers are used to prove the identity of users or systemprocesses. 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 policyattached the publish Link URL.

    Reference: Developing Security Providers for WebLogic Server, Authentication Providers

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 47

  • QUESTION NO: 62

    You have set Server log Rotation criteria to either size or time. When a domain is in ProductionMode, 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

    Answer: CExplanation: By default, when you start a server instance in production mode, the server rotatesits local log file whenever the file grows to 5000 kilobytes in size. It does not rotate the local serverlog file when you start the server.

    You can change these default settings for log file rotation. For example, you can change the filesize at which the server rotates the log file or you can configure a server to rotate log files basedon a time interval. You can also specify the maximum number of rotated files that can accumulate.After the number of log files reaches this number, subsequent file rotations delete the oldest logfile 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 NO: 63

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

    Answer: A,B,EExplanation: A: The main steps for creating a custom file store are as follows:

    1.Create a directory where the file stores data will be persisted. 2.Create a custom file store and specify the directory location that you created. 3.Associate the custom file store with the subsystem(s) or migratable target that will be accessing

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 48

  • 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 General Configuration 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 data source. It is highly recommended that you configure the Prefix option to a unique value for each configuredJDBC 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 Configuration page. 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 thatrequires 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 for WebLogic Serversubsystems and services that require persistence. For example, it can store persistent JMSmessages or temporarily store messages sent using the Store-and-Forward feature. Thepersistent 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 messagecannot be lost due to a JMS provider failure and it must not be delivered twice. It is not consideredsent until it has been safely written to a file or database. WebLogic JMS writes persistentmessages to a WebLogic persistent store (disk-base file or JDBC-accessible database) that isoptionally targeted by each JMS server during configuration.

    Reference: Using the WebLogic Persistent Store

    QUESTION NO: 64

    Managed Server Independence enabled is not selected in the configuration of myserver1. Whichstatement is true?

    Oracle 1z0-102 Exam

    "Pass Any Exam. Any Time." - www.actualtests.com 49

  • A. Only the Node Manager can start myserver1 B. Only a local start script can start myserver1 C. Myserver1 cannot be part of a cluster. D. The Administration Server must be available before starting myserver1

    Answer: DExplanation: To prevent the Administration Server from becoming a single point of failure,Managed Servers can always function without the presence a running Administration Server.When a Managed Server starts, it contacts the Administration Server to retrieve its configurationinformation. If a Managed Server is unable to connect to the specified Administration Serverduring startup, it can retrieve its configuration directly by reading a copy of the config.xml file andother files located on the Managed Server's own file system. A Managed Server that starts in this way is running in Managed Server Independence mode. Inthis mode, a server uses cached application files to deploy the applications that are targeted to theserver.

    Reference: Overview of WebLogic Server System Administration, Managed Server Indepenence

    http://docs.oracle.com/cd/E13222_01/wls/docs81/adminguide/overview.html

    QUESTION NO: 65

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

    Java weblogic.WLST weeklydeployer.py

    Instead of the WLST initializing and the script running, however, you receive theNoClassDefFoundError 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 t