Oracle Application Server 10g:Administration II (1Z0-312)


1) You want to use the OracleAS Metadata Repository Diagnostics log file of the Portal component with the Application Server Control Log Viewer. Which is the configuration that is required before performing this operation?
A. changing the content of the logcfg.sql file
B. registering the log file by editing the log.xml file
C. changing the content of the logloader.xml file
D. changing the contents of iasconfig.xml available in $ORACLE_HOME/portal/conf
E. registering the log file by editing the value of PATH and INSTANCE in the PORTAL.xml file
Answer: E

2) You exported the Discoverer Catalog to d40_export.XML. You want to migrate to a new system by importing the d40_export.XML file. When attempting to import the D4OSYS schema of Discoverer Catalog, the following error occurs:
Error - oracle.dss.d4o.administration.D4OExportException-D4O-1122 Error while attempting to import. What is the solution?
A. Ensure that the tablespace you are importing the Discoverer Catalog into has the same size as
that of the exported Discoverer Catalog.
B. Ensure that the access privilege to the D4OSYS schema objects is the same in the target
Discoverer Catalog as that of the exported Discoverer Catalog.
C. Ensure that the tablespace on which you are importing on, has the minimum block size of
8,192 bytes.
D. Ensure that the D4OSYS schema has the correct default tablespace and that the default
tablespace has unlimited quota.
Answer: D

3) You want to invalidate documents in OracleAS Web Cache using the following criteria:
1. The HTTP request method is an HTTP POST request method
2. The HTTP POST body contains _language=EN-US
3. The embedded URL parameters are _portlet_id and _provider_id
Which two changes would you make to the webcache.xml file to achieve this type of invalidation? (Choose two.)
A. Remove the INVALIDATIONINDEX element.
B. Specify the TYPE attribute to use the value of SUBSTRING.
C. Specify the BASICSELECTOR element in an invalidation request.
D. Specify the NAME attribute to use the value of QUERYSTRING_PARAMETER.
Answer: B, D

4) Which two statements are true regarding message correlation? (Choose two.)
A. Execution Context ID must be avoided for message correlation.
B. The first-fault component can be identified by message correlation.
C. Message correlation data establishes a clear path for diagnostic messages across
components.
D. By default, all Oracle Application Server components support the generation of message
correlation data.
Answer: B, C

5) You want to use Business Process Execution Language (BPEL) to deploy a business process in
an OracleAS Active-Active cluster environment that has two nodes. Because it is a stateless application, which component is used as its dehydration store to store the process state information?
A. an Oracle directory
B. an Oracle database
C. an OracleAS Web cache
D. an OracleAS Metadata Repository
Answer: B

6) You have installed the OracleAS Web Cache cluster with one member. You want to add one
more member to the cluster. Which two requirements should the new Web cache member meet
before inclusion in the cluster? (Choose two.)
A. It should be a single-instance cluster.
B. It should have an administration port that is different from that of the existing member.
C. It should have the same administration port as that of the existing member.
D. It should have the same administrator password as that of the existing member.
Answer: A, D

7) Which statement is true regarding an OC4J island?
A. It is the logical grouping of OC4J instances.
B. It cannot span across multiple application server instances.
C. It enables you to determine which OC4J processes would replicate the application state.
D. It is the term that refers to an application server instance that participates in an OracleAS
Cluster.
Answer: C

8) The long-running transactions in your EJB application are rolled back due to transaction time out error. You want to increase the maximum time allowed for the transactions to finish before they are rolled back. What can you do to achieve this?
A. Decrease the value of the session-timeout parameter in the web.xml file.
B. Increase the value of the max-tx-retries parameter in the orion-ejb-jar.xml file.
C. Increase the value of the pool-cache-timeout parameter in the orion-ejb-jar.xml file.
D. Increase the value of the transaction-config timeout parameter in the server.xml file.
E. Decrease the value of the transaction-config call-timeout parameter in the orion-ejb-jar.xml file.
Answer: D

9) You have set the SERVER_IN_PROCESS parameter to "yes" in the rwservlet.properties file.
What is the reason for doing so?
A. to specify whether to use default Reports Server or not
B. to run the Reports Server in the same process as the Reports Servlet
C. to run the Reports Server and Reports Servlet as different processes
D. to enable the Reports Server to spawn a Reports Engine whenever required
Answer: B

10) You want to enable applications to share state across OC4J processes. Which three
configuration files would you modify to achieve this? (Choose three.)
A. web.xml
B. httpd.conf
C. portlist.ini
D. orion-web.xml
E. orion-ejb-jar.xml
Answer: A, D, E

11) You have installed an OracleAS Cold Failover cluster (Middle-Tier) that has two nodes, NODE1 and NODE2, in the cluster where NODE1 is primary and NODE2 secondary.
After installing, you have:
1. Changed the port numbers of OracleAS HTTP Server (OHS) and OracleAS Portal on NODE1
2. Failed over to NODE2 and made it the primary node and NODE1 as the secondary node
3. Enabled SSL connections for the OID users
4. Enabled HTTPS connections for the application users
Now you want to execute the following command to update the component configuration in the
Oracle Internet Directory (OID):
$ $ORACLE_HOME/bin/chgtocfmt -v asterix.us.oracle.com -p jnuy45ty -s -e -w
vhost101.us.oracle.com
Which option would you consider before running the command?
A. failing over from the NODE2 to NODE1
B. propagating the changes from NODE2 to NODE1
C. disabling the SSL connection for the OID users and enabling access to OID
D. manually updating the portlist.ini file to include the correct port numbers in NODE1
E. manually updating the portlist.ini file to include the correct port numbers in NODE2
Answer: D

12) Given below is the metrics about a Java Server Page (JSP):
session.Activation.active: 500 ops
session.Activation.completed:0 ops
A. The application creates sessions, but never uses them.
B. The default session creation has been turned off for the JSP in the application.
C. The application has JSP that is not automatically recompiled, in case of changes.
D. The application is well-tuned because the sessions are being used and invalidated.
Answer: A

13) In your OracleAS Cold Failover Cluster (Infrastructure) environment, you realized that the primary node has failed because of a hardware failure. Therefore, you failed over to the secondary node. Which three options would you consider to confirm that the failover is successful?(Choose three.)
A. accessing OracleAS Control Console through the virtual host
B. accessing the OracleAS Infrastructure database through the virtual host
C. accessing the Oracle Internet Directory (OID) components through the virtual host
D. accessing Oracle HTTP Server Welcome page using the default port through the virtual host
E. accessing Oracle HTTP Server Welcome page using the secured port through the virtual host
Answer: A, D, E

14) Which three statements correctly describe the feature of an OracleAS Cluster (Web Cache) and its members? (Choose three.)
A. The Web cache members communicate for invalidation and detection of new members within
the Web cache cluster.
B. The cluster owns the cache contents and requests for the contents from the cluster members
when the contents are requested.
C. The cluster uses the absolute capacity of each cache instance to distribute the cached content
among the cache cluster members.
D. The Web cache cluster transfers the ownership of the cached content to another available
member in an event of a member failure.
E. The cluster may store the popular objects, known as on-demand content, in the cache of more
than one cluster member causing fewer requests being sent to the application Web server.
Answer: A, D, E

15) In your middle-tier installation, the in-process server is started automatically when the report is requested for the first time. You want to disable the autostart feature of the in-server process.How would you do it?
A. Set start timeout in the opmn.xml file.
B. Restart the OC4J_BI_FORMS process.
C. Stop or disable the process in the operating system (OS).
D. Run the SRW.RUN_REPORT built-in procedure by passing appropriate values to it.
E. Set the SERVER_IN_PROCESS property to NO in the rwservlet.properties file.
Answer: E

16) Which two statements describe the functioning of Oracle Process Management and Notification (OPMN)? (Choose two.)
A. It can be started and used only if Oracle HTTP Server is running.
B. It deploys J2EE applications to an Oracle Application Server instance or cluster.
C. It channels all events from different Oracle Application Server component instances.
D. It starts, stops, restarts, and detects the termination of Oracle HTTP Server and OC4J
processes.
E. It synchronizes the configuration changes across Oracle Application Server instances in a
cluster.
Answer: C, D

17) You executed the following command to change the host name of an Oracle Application Server installation:
[oracle@EDTDR7P1 scripts]$ ./chgiphost.sh -infra
Oracle Home set to /home/oracle/OraHome_1
Starting Change Hostname/IP...
Argument does not match install type. You may correct the mode and run again.
Why does the command fail to change the host name?
A. The Infrastructure instance is currently not running.
B. The command should be executed to run in silent mode.
C. The host name/IP Address of Infrastructure installation cannot be changed.
D. The Oracle home /home/oracle/OraHome_1 belongs to a middle-tier instance.
Answer: D

18) Which are the three prerequisites for end users who want to use Discoverer Plus OLAP to create queries against the OLAP data? (Choose three.)
A. Users must be assigned the D4OPUB role.
B. Users must be assigned the SELECT_CATALOG_ROLE role.
C. User must be created on the database where Discoverer Catalog is installed.
D. Users must be enabled to create public connections for Discoverer Plus OLAP.
E. Users must be enabled to create private connections for Discoverer Plus OLAP.
Answer: A, C, E

19) Developers in your company created the forms application executables in the Windows platform,whereas your Oracle Application Server is running on the Linux platform. As a Web administrator,what would you do to deploy the forms application?
A. Store the executables received from the developers in ORACLE_BASE.
B. Store the executables received from the developers in ORACLE_HOME.
C. Generate Forms application executables and binaries on the Linux platform and store the
binaries in a directory specified in the TNS_ADMIN variable.
D. Generate Forms application executables and binaries on the Linux platform and store the
binaries in a directory included in the FORMS_PATH variable.
Answer: D

20) In a stress-testing environment, with heavy load you receive the following error:
11313: The cache server reached the maximum number of allowed incoming connections.
Listening is temporarily suspended.
What possible actions could you take to resolve the error? (Choose all that apply.)
A. Increase the cache memory limit for OracleAS Web Cache.
B. Increase the origin server timeout parameter for OracleAS Web Cache.
C. Increase the maximum incoming connections for OracleAS Web Cache.
D. Lower the value for the Keep-Alive Timeout parameter for OracleAS Web Cache.
E. Increase the value for the Keep-Alive Timeout parameter for OracleAS Web Cache.
Answer: C, D

21) You want to configure an OracleAS Web Cache cluster environment as follows:
1. The cluster supports the propagation of configuration and invalidation requests across all
cache cluster members.
2. The cluster members do not request their peer cluster members for contents while processing
the requests.
Which option would you set while configuring the Web Cache cluster?
A. an invalidation coordinator
B. the Failover threshold to zero
C. the capacity of each member to zero
D. the session binding to an origin server
Answer: C

22) You want to invalidate one object in the Web Cache and do not want the cache traversal to be performed for this purpose. What would you do to achieve this?
A. Send a basic invalidation request.
B. Manually create an invalidation index.
C. Use SUBSTRING for invalidation request.
D. Use QUERYSTRING_PARAMETER with the invalidation index.
Answer: A

23) You want to invalidate one object in the Web Cache and do not want the cache traversal to be performed for this purpose. What would you do to achieve this?
A. Send a basic invalidation request.
B. Manually create an invalidation index.
C. Use SUBSTRING for invalidation request.
D. Use QUERYSTRING_PARAMETER with the invalidation index.
Answer: A

24) Which two statements are true regarding the Forms Listener Servlet? (Choose two.)
A. It always runs on the database tier.
B. It manages the creation of a Forms Runtime process for each client.
C. It is responsible for querying the database server for the requested data.
D. It is used only when the HTTP listener is not configured or fails to operate.
E. It serves only one client and is terminated when the client session is terminated.
F. It manages the network communications that occur between the client and its associated
Forms Runtime process, through the Web server.
Answer: B, F

25) Note the following points about an Oracle Application Server deployment:
1. The Oracle HTTP Server, Single Sign-On, and Delegated Administration Services are
implemented in two servers in the DMZ and accessed through HTTP load balancer.
2. Oracle Internet Directory and Directory Integration and Provisioning components are
implemented in two servers in the Data tier along with the OracleAS Metadata Repository.
3. OracleAS Metadata Repository is implemented in a RAC-enabled database.
Which deployment topology is described here?
A. Security infrastructure topology
B. J2EE enterprise deployment topology
C. Portal enterprise deployment topology
D. Business Intelligence and Forms topology
Answer: A

26) Which statements are true about JDBC statement caching in OracleAS? (Choose all that apply.)
A. The JDBC statement cache is maintained in the middle tier.
B. The data source can be configured to use JDBC statement caching.
C. Developers cannot enable and disable JDBC statement caching programmatically.
D. A JDBC statement cache is associated with a particular physical connection maintained by a
data source.
Answer: A, B, D

27) You used the following URL in your browser to open a form:
http://techprd.oracle.com:7778/forms/frmservlet?config=hrapp&form=techdet
Which component of OracleAS Forms Services creates an HTML response that will be sent to the client?
A. Forms Servlet
B. Java client applet
C. Forms Listener Servlet
D. Forms Runtime process
Answer: A

28) Which two statements regarding the chgiphost command are true? (Choose two.)
A. It can be executed to run in silent mode.
B. It can be used to change the IP address of the middle-tier installation.
C. It cannot be used to change the host name of the middle-tier installation.
D. It cannot be used to change the IP address of the Infrastructure installation.
E. It cannot be used to change the host name or IP address of the middle-tier installation that is
part of an OracleAS File-based Farm.
Answer: A, B

29) Why are Enterprise Deployment architectures secure?
A. because Oracle Internet Directory is not isolated in the data-tier DMZ
B. because direct communication from the load balancing router to the data-tier DMZ is allowed
C. because communication from external clients does not go beyond the load balancing router
level or webcache
D. because communication between components across DMZs is not restricted by port and
protocol
Answer: C

30) Which component is responsible for performing automatic death-detection for all processes in an Oracle Application Server instance?
A. OracleAS Web Cache
B. OracleAS Guard server (DSA)
C. Distributed Configuration Management (DCM)
D. Oracle Process Management Notification Server (OPMN)
Answer: D

31) You want to install OracleAS Metadata Repository in an existing database. Which requirement should the database meet?
A. The database should have at least one empty tablespace to store new schemas.
B. The OPEN_CURSORS initialization parameter must be set to a value smaller than 100.
C. The DB_BLOCK_SIZE initialization parameter must be set to a value smaller than 8 KB.
D. The database version must be Oracle9i (9.2.0.6 or later) or Oracle Database 10g (10.1.4.0.2
or later).
Answer: D

32) Which is the last step that you would perform while stopping the OracleAS Cold Failover Cluster Infrastructure?
A. Stop the OracleAS Control.
B. Disable the virtual IP addresses.
C. Shut down the infrastructure databases.
D. Stop the OPMN daemon and OPMN-managed processes.
Answer: B

33) You are working on the report server, rep_tech1p1_bi. You have created a JSP report to publish data in the ORDERS table on the Web. You plan to use the URL engine and an event-based API to e-mail the report. Which file would you update to achieve this?
A. rwbuilder.conf
B. bridgeconf.dtd
C. rep_tech1p1_bi.conf
D. repbrg_bridgename.conf
Answer: C

34) You observed from the View Logs page that an Oracle Application Server OC4J component
OC4J_Portal is generating log files in simple text instead of in the Oracle Diagnostic Logging
(ODL) format. What could be the reason for this?
A. The Log Loader is not configured properly.
B. The odl tags are commented in the server.xml file.
C. The odl tags are commented in the rmi.xml and jms.xml files.
D. The NOTIFICATION and OraLogMode directives are set incorrectly in the httpd.conf file.
Answer: C

35) You are using a file-based repository for the OracleAS Cluster. Which statement is true regarding the participating instances?
A. The instances must be in the same node.
B. The instances should belong to different platforms.
C. The instances should be associated with OracleAS Metadata Repository.
D. The instances should not belong to the same OracleAS Farm as the cluster.
E. The instances should not be associated an OracleAS Farm which uses Database-based
Repository.
Answer: E

36) You want to export the Discoverer Catalog because you want to migrate to the new version of Oracle BI Discoverer. Which three statements are true regarding the export file created? (Choose three.)
A. It can be created in .dmp format.
B. It has the entire Discoverer Catalog.
C. It contains information about folder organization.
D. It contains object definitions, privileges, and properties.
E. It has the definition of all the users that have access to the OLAP schemas and metadata.
Answer: B, C, D

37) In your OracleAS Cold Failover Cluster (Infrastructure) environment, you realized that the primary node has failed because of a hardware failure. Which two steps are performed while failing over to the secondary node? (Choose two.)
A. The clusterware remounts the shared storage device.
B. The client sessions are reconnected using a new virtual IP address.
C. The OracleAS components are restarted in the secondary node.
D. The current client connections are reset to use the secondary node host name.
Answer: A, C

38) You deployed a Human Resource application on a middle-tier instance. The application uses
some external files that are not stored in the Oracle home for employee details. You plan to clone
the middle-tier instance to a new host. What would happen when you attempt to clone the
instance?
A. The application is not cloned when you clone a middle-tier instance.
B. The application will be cloned and will work successfully on the new host.
C. The cloning fails because you cannot clone a middle-tier instance in such a situation.
D. The application will be cloned but will not work because the external files that it refers to will
not be copied to the new host.
Answer: D

39) You recently created an OracleAS Cluster, cltech, which has middle-tier instances
myint.edtech1.oracle.com and j2ee.edtech1.oracle.com. You notice that the status of the
myint.edtech1.oracle.com instance is down because a couple of enabled components in this
instance are down. You are managing the OracleAS Cluster and instances using the Application
Server Control.What effect would restarting of the cluster have on the components and the status of the myint.edtech1.oracle.com instance?
A. All the disabled and enabled components would be restarted and the status of the instance
would be down.
B. All the disabled and enabled components would be restarted and the status of the instance
would be up.
C. Only enabled components that are currently running would be restarted and the status of the
instance would be down.
D. Only enabled components that are currently running would be restarted and the status of the
instance would be up.
Answer: C
40) You have three Web Cache nodes, NODE1, NODE2, and NODE3, in your OracleAS Cluster
(Web Cache) environment. The capacity of the cache members are 20, 10, and 10 respectively.
From a client, NODE2 receives a request for a content that is stored in and owned by
NODE3. NODE2 sends a request to NODE3 to get the content but does not receive a response
after a specified threshold. Below are the steps that NODE2 could perform while returning the requested content to the client:
1. Detect NODE3 to have failed.
2. Reassign ownership of content.
3. Recalculate the relative capacity of the remaining cache cluster members.
4. Send a request to the application Web server and store the content in its cache after receiving
it.
5. Receive the content from application Web server and store it in the NODE1 cache because
NODE1 has the highest capacity.
6. Return the requested content to the client.
7. Send a request along with the client request to NODE1 to return the content to the client.
Which option illustrates the correct steps and order that NODE2 would use?
A. 3, 2, 4, and 6
B. 3, 4, 5, and 6
C. 2, 3, 4, 5, and 7
D. 1, 3, 2, 4, and 6
E. 1, 2, 3, 4, 6, and 7
Answer: D