Search This Blog

Oracle9i AS: Basic Administrations

Exam : 1Z0-301
Title : Oracle9i AS: Basic Administrations
Sample 3- Questions With Answer

# QUESTION 1
The machine hosting your Oracle9iAS Infrastructure has been stopped and the
operating system has been restarted.
Which three steps do you need to take to get Oracle Internet Directory working?
(Choose three)
A. Start Enterprise Manager daemon.
B. Start the Oracle9iAS metadata repository and the database listener.
C. Start Oracle Management Server in order to get connected to OEM Web site.
D. Navigate to the infrastructure homepage, select Oracle Internet Directory, and then
click Start.
E. Navigate to the Farm page, select the Oracle9iAS Infrastructure instance, and click
Start All to start Oracle9iAS metadata repository and the database listener and all OID
components.
F. Navigate to the Oracle Internet Directory home page and start the Distributed
Administration Service.
Answer: E

# QUESTION 2
Exhibit:
Examine the configuration context in which Oracle HTTP Server configuration
directives can be used.
Not all directives can be used everywhere. The Oracle HTTP Server distinguishes
between the configuration context and a per-directive basis. (Every directive has a fixed
set of contexts in which it is allowed.)
Which three statements are true? (Choose three)
A. The or container is allowed inside a directory container.
B. If you want to match URLs you need to use or
directives.
C. Box 1 represents the directory container built by or
directives.
D. The or container is allowed inside a or
container.
E. Box 1 represents a or container with directives that are
applied to a particular URL and its subareas.
Answer: A, B, C

# QUESTION 3
Exhibit:
You have a single installation of J2EE and Web Cache on a single host.
Which two Web server types does this topology support? (Choose two)
A. A Web server that has enabled single sign-on functionality.
B. A Web server that has a central user management repository.
C. A Web server that is preconfigured for caching of Web pages.
D. A Web server that is enabled to connect to an Oracle Directory Server.
E. A Web server that supports the deployment of J2EE-compliant applications.
F. A Web server that supports the deployment of Oracle Forms-based applications.
Answer: C, E

# QUESTION 4
Which two are appropriate directives for the default-web-site.xml file? (Choose two)
A.
B.
C.
D.
E.
F.
Answer: D, F

# QUESTION 5
Which three metrics can you get from the OC4J Instance page on OEM? (Choose three)
A. CPU usage
B. JDBC Connections
C. Application up time
D. 9iAS Instance up time
E. OC4J Instance up time
Answer: A, B, E

# QUESTION 6
Exhibit:
You are managing an Oracle9iAS Cluster as illustrated un the image.
During a period of high volume activity, an OC4J process on one of the nodes goes
down.
How is this detected, and which two activities takes place at that time? (Choose two)
A. The OC4J process death will be detected by the DCM process, and that process will
automatically start a replacement OC4J process.
B. The OC4J process death will be detected by an OHS process, which updates the
routing tables.
New OC4J requests will be routed to surviving OC4J processes.
C. The OC4J process death will be detected by the OPMN process, which updates the
routing tables.
New OC4J requests will be routed to surviving OC4J processes.
D. The OC4J process death will be detected by the DCM process, which updates the
routing tables.
New OC4J requests will be routed to surviving OC4J processes.
E. The OC4J process death will be detected by the OPMN process, and that process will
automatically start a replacement OC4J process.
Answer: C, E

# QUESTION 7
Exhibit:
dcmctl deployApplication -file name -a app_name
[-co comp_name] [-rc root_context]
Examine the syntax of the dcmctl deployApplication command.
You want to deploy the Web application module packages in simple-web-war to your
OC4J instance j2ee1. The Web archive is stored on the application server under the
directory /home/user/to_deploy. The application should be named simple-web and the
application should be accessible as mysimpleweb.
Which is the correct approach using dcmctl to deploy your application?
A. Wrap the Web application into J2EE application (.ear file) before deployment because
dcmctl supports only ear files.
Enter the following commands on your application server:
$> cd $ORACLE_HOME/dcm/bin
$> dcmctl deploy/Application \
-f /home/users/to_deploy/simple-web.ear \
-a simple-web -co oc4j -rc mysumpleweb
B. Wrap the Web application into a J2EE application (.ear file) before deployment
because dcmctl supports only ear files.
Enter the following commands on your application server:
$> cd $ORACLE_HOME/dcm/bin
$> dcmctl deployApplication \
-f /home/users/to_deploy/simple-web-ear \
-a mysimpleweb -co j2ee1 -rc simple-web
C. Enter the following commands on your application server:
$> cd $ORACLE_HOME/dcm/bin
$> dcmctl deployApplication \
D. Enter the following commands on your application server:
$> cd $ORACLE_HOME/dcm/bin
$> dcmctl deployApplication \
-f /home/users/to_deploy/simple-web.war \
-a simple-web -co j2ee1 -rc mysimpleweb
E. Enter the following commands on your application server:
$> cd $ORACLE_HOME/dcm/bin
$> dcmctl deploy/Application \
-f /home/users/to_deploy/simple-web.war \
-a mysimpleweb -co j2ee1 -rc simple-web
Answer: D

# QUESTION 8
Exhibit:
dcmctl deployApplication -file name -a app_name
[-co comp_name] [-rc root_context]
Examine the syntax of the dcmctl deployApplication command.
You want to deploy a J2EE application to your default OC4J instance that consists of a
Web module named simple-app and that is packaged in the file simple.ear.
The J2EE application should be deployed to your Oracle9iAS Instance named
j2ee.1prod1.us. CertKing .com.
The J2EE archive is stored on the application server under the directory
/home/users/to_deploy. The application should be administered under the name simpletest.
Which is the correct approach using dcmctl to deploy your application?
A. Enter the following commands on your application server:
$> cd $ORACLE_HOME/dcm/bin
$> dcmctl deployApplication \
-f /home/users/to_deploy/simple.ear \
-a simple-test-co j2ee1.prod1.us. CertKing .com \
-rc simple-test
B. Enter the following commands on your application server:
$> cd $ORACLE_HOME/dcm/bin
$> dcmctl deploy/Application \
-f /home/users/to_deploy/simple.ear \
-a simple-test -i j2ee1.prod.us. CertKing .com \
-rf simple-app
C. Enter the following commands on your application server:
$> cd $ORACLE_HOME/dcm/bin
$> dcmctl deployApplication \
-f /home/users/to_deploy/simple.ear \
-a simple-test -i j2ee1.prod1.use. CertKing .com
D. Enter the following commands on your application server:
$> cd $ORACLE_HOME/dcm/bin
$> dcmctl deployApplication \
-f /home/users/to_deploy/simple-app.war \
-a simple-test -i j2ee1.prod1.us. CertKing .com
E. Enter the following commands on your application server:
$> cd $ORACLE_HOME/dcm/bin
$> dcmctl deployApplication \
-f /home/users/to_deploy/simple-app.war \
-a simple-app -i j2ee1.prod1.us. CertKing .com
Answer: C

# QUESTION 9
A user authenticated to a partner application by Oracle9iAS Single Sign-On accesses
another partner application in the same session.
What does the second application do?
A. Checks the htaccess file to authenticate the user.
B. Uses the mod_osso cookie to authenticate the user.
C. Rewrites the URL and stores it in the SSO database.
D. Checks for the correct URL from the Single Sign-On server.
Answer: D

# QUESTION 10
Most J2EE applications use a database to have a persistent storage for data. Servlets, as
well as JSPs and EJBs, need to communicate with the database.
Which two statements are true? (Choose two)
A. To be portable across application servers J2EE applications use DataSource objects.
B. The JDBC DriverManager class has logical names that make applications that use it
portable.
C. JDBC DriverManager class objects enable portable J2EE applications across
application servers.
D. Every JDBC 2.0 driver has its own implementation of DataSource objects that can be
bound into an external JNDI namespace.
E. Every JDBC 2.0 driver has its own implementation of DriverManager class objects
that can be bound into an external JNDI namespace.
F. Using the JDBC DriverManager class is the recommended way for a J2EE application
to get a connection.
Answer: A, D

# QUESTION 11
Which Oracle9iAS capabilities require an Infrastructure? (Choose all that apply)
A. Single Sign-On
B. Application Server Clusters
C. All Oracle9iAS installation types
D. Oracle9iAS Web Cache Clusters
E. Invoking PL/SQL code via Database Access Descriptors
Answer: A, B, D

# QUESTION 12
Most J2EE applications, servlets as well as JSPs and EJBs, need to communicate with
the database.
Which two are true regarding data sources? (Choose two)
A. J2EE applications use JNDI to look up DataSource objects.
B. J2EE applications retrieve connections to the database through DataSource objects.
C. DataSource objects include the mapping between the logical database connection and
the physical database information.
D. J2EE applications retrieve database connections from the application code itself, that
includes the physical database information.
Answer: B, C

# QUESTION 13
When stopping the Infrastructure instance, which option is correct?
A. Stopping the Infrastructure will stop all of the Oracle9iAS Application Server
instances that use it.
B. You should stop the Infrastructure first, and then stop all of the Oracle9iAS
Application Server instances that use it.
C. You should first stop all of the Oracle9iAS Application Server Instances that use the
Infrastructure, then stop the Infrastructure.
D. Stopping the Infrastructure does not affect the Oracle9iAS Application Server
instances that use it.
Answer: C

# QUESTION 14
Which process of an Oracle9iAS Instance is responsible for managing and tracking the
process in the Instance, as well as propagating events among other Instances in the
Farm?
A. DCM
B. OPMN
C. OC4J
D. The OHS Parent process
E. An OHS Child process
Answer: B

# QUESTION 15
Which six correctly match the item to its description? (Choose six)
A. Dispatcher: Listens for LDAP requests.
B. LDAP server process: Processes LDAP requests.
C. Dispatcher: Sends changes to other OID nodes.
D. Oracle Director Manager: Displays configuration sets.
E. OID Replication process: Sends changes to other OID nodes.
F. LDAP server process: Initiates and terminates OID server processes.
G. OID Control Utility: Accepts commands to start and stop OID instances.
Answer: F

# QUESTION 16
Which two OC4J configuration files are server configuration files? (Choose two)
A. rmi.xml
B. web.xml
C. jms.xml
D. ejb.xml
E. orion-web.xml
Answer: A, C

# QUESTION 17
Which statement is true about the Oracle9iAS Single Sign-On session duration?
A. It is applicable to partner applications only.
B. It is applicable to external applications only.
C. It is applicable to all single sign-on sessions.
D. It is applicable to administrative sessions only.
Answer: C

# QUESTION 18
Exhibit:
You installed one J2EE and Web Cache instance, which is running. Because your
company wants to use the Oracle Internet Directory as a central repository for user
information for an application that should be single sign-on enabled you installed
Oracle9iAS Infrastructure.
Which actions are required in order to use Oracle Internet Directory? (Choose all that
apply)
A. Ensure that the Oracle9iAS Infrastructure instance is up and running.
B. Using Oracle Enterprise Manager Website select the J2EE and Web Cache instance
and associate the J2EE and Web Cache Instance with Oracle9iAS Infrastructure.
C. Using the Oracle Enterprise Manager Web site, select the Oracle9iAS metadata
repository and associate the metadata repository with the J2EE and Web Cache
instance.
D. Stop both instances, J2EE and Web Cache and Oracle9iAS Infrastructure.
Then start the J2EE and Web Cache instance before you start the Oracle9iAS
Infrastructure instance.
E. Restart the J2EE and Web Cache instance to have the instance recognized by
Oracle9iAS Infrastructure.
F. The only required step is to restart both instances, J2EE and Web Cache and
Oracle9iAS Infrastructure.
Answer: A, B

# QUESTION 19
During the installation process, you can choose to install Oracle9iAS Infrastructure.
Which two statements describe the relationship between Oracle9iAS Infrastructure and
Oracle9i Application Server? (Choose two)
A. Oracle9iAS Infrastructure is a prerequisite for all Oracle9i Application Server
Installation types.
B. All Oracle9iAS Instances except the Installation type Portal and Wireless use
Oracle9iAS Infrastructure.
C. Oracle9i Application Server Installation type J2EE and Web Cache does NOT need an
Oracle9iAS Infrastructure as a prerequisite.
D. Oracle9iAS Infrastructure contains Oracle Internet Directory and Oracle Internet
Filesystem to centralized user management.
E. Oracle9i Application Server instances like J2EE and Web Cache need to be single
Oracle9iAS Infrastructure.
F. Oracle9iAS Infrastructure contains a preconfigured database to store all metadata
information necessary for Oracle9iAS instances.
Answer: C, E

# QUESTION 20
Which two are files that Oracle9iAS Web Cache reads at startup? (Choose two)
A. httpd.conf
B. mod_oc4j.xml
C. internal.xml
D. webcache.xml
E. webcacheroot.orc
Answer: A, D

# QUESTION 21
Which two statements describe features of the servlet support in Oracle9iAS Containers
for J2EE (OC4J)? (Choose two)
A. Allows use of WAR files to deploy packaged applications.
B. Requires code changes for distributable web applications.
C. Retains translated servlet code for extended error reporting.
D. Provides simple and complex object relational mapping for entity beans.
E. Replicates state of Web Applications to other servers in the same cluster.
Answer: A, E

# QUESTION 22
Which mod_plsql directive enables you to provide access to a specific PL/SQL
procedure without specifying it in the URL?
A. PlsqlDefaultPage
B. PlsqlDatabaseName
C. PlsqlDatabaseUsername
D. PlsqlDatabasePassword
Answer: A

# QUESTION 23
What does the Delegated Administration Service or Oracle9iAS SSO enable
nonadministrative users to do?
A. Create new SSO servers.
B. Modify SSO user's personal data.
C. Create new Oracle Internet Directories.
D. Modify SSO administrator's schema location.
Answer: B

# QUESTION 24
Exhibit:
Examine the image showing the Oracle Directory Manager Menu and navigation bar.
Oracle Directory Manager has a double window interface. You want to obtain password
credentials about the user appuser created with the Distributed Administration Service
(DAS).
Where do you get the appropriate information?
A. Click the plus sign next to Server Management to expand the subtree, then navigate to
Directory Server, where you get information about the user.
B. Click the plus sign next to Access Control Management, then navigate to the entry
cn=DAS, where you get the information about the user.
C. Click the plus sign next to Entry Management to expand the subtree, then drill down to
the level of cn=Users to obtain the wanted information.
D. Click the plus sign next to Schema Management, then navigate to the entry cn=Users,
where you get the information about the user.
E. Click the plus sign next to Password Policy Management, then navigate to the entry
cn=DAS where you get the information about the user.
F. Click the plus sign next to Password Verifier Management, then navigate to the entry
cn=DAS where you get the information about the user.
Answer: E

# QUESTION 25
You want to use Basic Authentication to protect access to your web site using Oracle
HTTP Server password files. To accomplish this, you will use a or
block container in your httpd.conf configuration file.
Which three Require directives are correct? (Choose three)
A. Require valid-user
B. Require valid_user
C. Require user
D. Require group
Answer: A, C, D

# QUESTION 26
Which component of an Oracle9iAS instance is responsible for accessing the
configuration information for the Farm, reading changes that need to be propagated
throughout the Farm, and updating the configuration information?
A. DCM
B. OPMN
C. OC4J
D. The OHS parent process
E. An OHS child process
Answer: B

# QUESTION 27
Which two protocols are available by default for the Oracle9iAS Containers for J2EE
(OC4J) to receive communication when it is installed as a part of an Oracle9iAS
Instance? (Choose two)
A. HTTP
B. ORMI
C. HTTPS
D. AJP12
E. AJP13
Answer: B, E

# QUESTION 28
In which two directories would you typically find the mod_plsql configuration files?
(Choose two)
A. $ORACLE_HOME/network/admin
B. $ORACLE_HOME/Apache/Apache/conf
C. $ORACLE_HOME/Apache/dads/conf
D. $ORACLE_HOME/Apache/modplsql/conf
E. $ORACLE_HOME/Apache/Apache/htdocs
Answer: B, D

# QUESTION 29
A collection of Oracle9iAS Instances that share the same Infrastructure but do not have
identical configurations is referred to as a _______.
A. Cluster
B. Farm
C. Instance
D. Component Cluster
Answer: B

# QUESTION 30
When you configure your application to run in Single Sign-On environment, you should
register _______.
A. mod_osso as a partner application.