Maison base de données tutoriel mysql Oracle 10g OCP 042 题库 31-70 题 共168题

Oracle 10g OCP 042 题库 31-70 题 共168题

Jun 07, 2016 pm 05:10 PM

Oracle 10g OCP 042 题库 31-70 题 共168题

31. Which two statements are true regarding the database in ARCHIVELOG mode? (Choose two.)

A) You have to shut down the database to perform the backups.

B) Archiving information is written to the data files and redo log files.

C) You can perform complete database backups without closing the database.

D) Online redo log files have to be multiplexed before putting the database in ARCHIVELOG mode.

E) All the previous database backups become invalid after you configure the database to ARCHIVELOG mode.

答案:C E.

32.  You perform differential incremental level 1 backups of your database on each working day and level 0

backup on Sundays. Which two statements are true about the differential incremental backups? (Choose two.)

A) The backup performed on Sundays contains all the blocks that have ever been use in the database.

B) The backup performed on Sundays contains all the blocks that have changed since the last level 1 backup.

C) The backup performed on each working day contains all the blocks that have changed since the last level 0 or level

1 backup.

D) The backup performed on each working day contains all the blocks that have changed since the last level 0 backup.

答案: A C

 

33.  You require the Oracle server to manage the undo segments and space among various active sessions

automatically. You created an undo tablespace, UNDO_TBS1, in your database. Which two additional steps

would you perform to achieve this? (Choose two.)

A) Set the UNDO_RETENTION parameter to 900 or more.

B) Create an initial undo segment in the undo tablespace.

C) Enable the retention guarantee for the undo tablespace.

D) Set the UNDO_TABLESPACE parameter to UNDO_TBS1.

E) Set the UNDO_MANAGEMENT initialization parameter to AUTO.

答案:DE

Oracle undo 管理

34. Which two statements are true regarding a PL/SQL package body? (Choose two.)

A) It cannot be created without a package specification.

B) It cannot invoke subprograms defined in other packages.

C) It can contain only the subprograms defined in the package specification.

D) It can be changed and recompiled without making the package specification invalid.

答案:AD

35. User A executes the following command to update the TRANS table)

SQL> UPDATE B.trans SET tr_amt=tr_amt+500 WHERE c_code='C005';

Before user A issues a COMMIT or ROLLBACK command, user B executes the following command on the

TRANS table:

SQl> ALTER TABLE trans MODIFY (tr_type VARCHAR2 (3));

What would happen in this scenario?

A) The transaction for user A is rolled back.

B) The ALTER TABLE command modifies the column successfully.

C) The ALTER TABLE command fails due to the resource being busy.

D) The ALTER TABLE command waits until user A ends the transaction.

答案:C

36. Which three statements are true regarding the fine-grained auditing (FGA)? (Choose three.)

A) FGA is possible on SELECT statements only.

B) The audit trail for FGA is stored in the FGA_LOG$ table.

C) The audit trail for FGA is stored in the AUD_LOG$ table.

D) FGA enables a SQL predicate to define when to audit an event.

E) FGA audits DELETE statements only when audit columns are specified.

F) FGA includes the SQL statement used by the user as part of the audit event entry.

答案:B D F

理解的也不是很透彻,,参考 About Fine-Grained Auditing 小节:

37. Which step do you need to perform to enable a user with the SYSDBA privilege to log in as SYSDBA in

iSQL*Plus?

A) The user must be granted the database administrator (DBA) privilege.

B) The user must be listed in the password file for the authentication.

C) No special setup is needed for the user to connect as SYSDBA in iSQL*Plus.

D) Set up a user in the Oracle Application Server Containers for J2EE (OC4J) user manager, and grant the webDba

role to the user.

答案:D

38. In your Oracle 10g database, you have scheduled a job to update the optimizer statistics at 05) 00 pm

every Friday. The job has successfully completed. Which three pieces of information would you check to

confirm that the statistics have been collected? (Choose three.)

A) average row size

B) last analyzed date

C) size of table in bytes

D) size of table in database blocks

E) number of free blocks in the free list

F) number of extents present in the table

答案:ABD

16.5.1 Verifying Optimizer Statistics

39. Your database is open and users are connected using the LISTENER listener. The new DBA of the system stops the listener by using the following command:

LSNRCTL> STOP

What would happen to the sessions that are presently connected to the database instance?

A) The sessions are able to perform only queries.

B) The sessions are not affected and continue to function normally.

C) The active transactions are rolled back and the sessions get terminated.

D) The sessions are not allowed to perform any operations till the listener is started.  

答案:B

40. After being hired as a database administrator, you find that there is only one database that is functional

and that is being accessed by the applications. You want to create a replica of the database, to be used for

testing purposes. What is the best method to create the replica?

A) create a database by using CREATE DATABASE .. command and manually copy the data

B) use Database Configuration Assistant (DBCA) to create a template from the existing database to contain the

database structure

C) use DBCA to create a template from the existing database to contain the database structure and then manually

copy the data using Oracle Data Pump

D) use DBCA to create a template from the existing database to contain the database structure with data files and then

use the same template to create the database in the new location

答案:D

41. You are working on the 24X7 database with high transaction volume, to ensure faster instance recovery on your database you set the FAST_START_MTTR_TARGET initialization parameter to a very low value. What effect it will have on the database?

A) The database performance would be enhanced.

B) The redo log files would be get filled more frequently.

C) The overall database performance would be degraded.

D) The mean time to recover (MTTR) would be increased.

答案:C

10.5.3 Tuning FAST_START_MTTR_TARGET and Using MTTR Advisor

42. You are working on an online transaction processing (OLTP) system. You notice that a PL/SQL procedure got executed twice at 2:00 p.m. This has incorrectly updated the EMP_SAL table. How would you revert the table to its state at 2:00 p.m.?

A) Perform point-in-time recovery to 2:00 p.m.

B) Use Flashback Table feature to revert the changes.

C) Restore the entire database from the recent backup and open it.

D) Issue the rollback statement with system change number (SCN).

 答案:B

Oracle Flashback 技术总结

43. According to your backup strategy, you performed an incremental level 0 backup of your database. Which statement regarding this backup is true?

A) The backup is similar to image copy.

B) The backup contains all used data blocks.

C) The backup contains only unused data blocks.

D) The backup contains all data blocks changed since the last incremental level 1 backup.

答案:B

linux

Déclaration de ce site Web
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn

Outils d'IA chauds

Undresser.AI Undress

Undresser.AI Undress

Application basée sur l'IA pour créer des photos de nu réalistes

AI Clothes Remover

AI Clothes Remover

Outil d'IA en ligne pour supprimer les vêtements des photos.

Undress AI Tool

Undress AI Tool

Images de déshabillage gratuites

Clothoff.io

Clothoff.io

Dissolvant de vêtements AI

AI Hentai Generator

AI Hentai Generator

Générez AI Hentai gratuitement.

Article chaud

R.E.P.O. Crystals d'énergie expliqués et ce qu'ils font (cristal jaune)
2 Il y a quelques semaines By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Meilleurs paramètres graphiques
2 Il y a quelques semaines By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Comment réparer l'audio si vous n'entendez personne
3 Il y a quelques semaines By 尊渡假赌尊渡假赌尊渡假赌

Outils chauds

Bloc-notes++7.3.1

Bloc-notes++7.3.1

Éditeur de code facile à utiliser et gratuit

SublimeText3 version chinoise

SublimeText3 version chinoise

Version chinoise, très simple à utiliser

Envoyer Studio 13.0.1

Envoyer Studio 13.0.1

Puissant environnement de développement intégré PHP

Dreamweaver CS6

Dreamweaver CS6

Outils de développement Web visuel

SublimeText3 version Mac

SublimeText3 version Mac

Logiciel d'édition de code au niveau de Dieu (SublimeText3)

Comment modifier une table dans MySQL en utilisant l'instruction ALTER TABLE? Comment modifier une table dans MySQL en utilisant l'instruction ALTER TABLE? Mar 19, 2025 pm 03:51 PM

L'article discute de l'utilisation de l'instruction ALTER TABLE de MySQL pour modifier les tables, notamment en ajoutant / abandon les colonnes, en renommant des tables / colonnes et en modifiant les types de données de colonne.

Comment configurer le cryptage SSL / TLS pour les connexions MySQL? Comment configurer le cryptage SSL / TLS pour les connexions MySQL? Mar 18, 2025 pm 12:01 PM

L'article discute de la configuration du cryptage SSL / TLS pour MySQL, y compris la génération et la vérification de certificat. Le problème principal est d'utiliser les implications de sécurité des certificats auto-signés. [Compte de caractère: 159]

Comment gérez-vous les grands ensembles de données dans MySQL? Comment gérez-vous les grands ensembles de données dans MySQL? Mar 21, 2025 pm 12:15 PM

L'article traite des stratégies pour gérer de grands ensembles de données dans MySQL, y compris le partitionnement, la rupture, l'indexation et l'optimisation des requêtes.

Quels sont les outils de GUI MySQL populaires (par exemple, MySQL Workbench, PhpMyAdmin)? Quels sont les outils de GUI MySQL populaires (par exemple, MySQL Workbench, PhpMyAdmin)? Mar 21, 2025 pm 06:28 PM

L'article traite des outils de GUI MySQL populaires comme MySQL Workbench et PhpMyAdmin, en comparant leurs fonctionnalités et leur pertinence pour les débutants et les utilisateurs avancés. [159 caractères]

Comment déposez-vous une table dans MySQL à l'aide de l'instruction TABLE DROP? Comment déposez-vous une table dans MySQL à l'aide de l'instruction TABLE DROP? Mar 19, 2025 pm 03:52 PM

L'article discute de la suppression des tables dans MySQL en utilisant l'instruction TABLE DROP, mettant l'accent sur les précautions et les risques. Il souligne que l'action est irréversible sans sauvegardes, détaillant les méthodes de récupération et les risques potentiels de l'environnement de production.

Comment représentez-vous des relations en utilisant des clés étrangères? Comment représentez-vous des relations en utilisant des clés étrangères? Mar 19, 2025 pm 03:48 PM

L'article discute de l'utilisation de clés étrangères pour représenter les relations dans les bases de données, en se concentrant sur les meilleures pratiques, l'intégrité des données et les pièges communs à éviter.

Comment créez-vous des index sur les colonnes JSON? Comment créez-vous des index sur les colonnes JSON? Mar 21, 2025 pm 12:13 PM

L'article discute de la création d'index sur les colonnes JSON dans diverses bases de données comme PostgreSQL, MySQL et MongoDB pour améliorer les performances de la requête. Il explique la syntaxe et les avantages de l'indexation des chemins JSON spécifiques et répertorie les systèmes de base de données pris en charge.

Comment sécuriser MySQL contre les vulnérabilités communes (injection SQL, attaques par force brute)? Comment sécuriser MySQL contre les vulnérabilités communes (injection SQL, attaques par force brute)? Mar 18, 2025 pm 12:00 PM

L'article discute de la sécurisation MySQL contre l'injection SQL et les attaques brutales à l'aide de déclarations préparées, de validation des entrées et de politiques de mot de passe solides (159 caractères)

See all articles