#1( 답: B,C,E )
Which three are true about thresholds, metrics, and server-generated alerts? (Choose three.)

- Oracle 데이터베이스는 시스템의 상태를 모니터링하고, 문제가 발생하거나 임박했을 때 이를 알리기 위해 메트릭(metric), 임계값(threshold), 서버 생성 알림(server-generated alerts)을 사용
- Stateful Alerts는 한 번 발생하면 해결될 때까지 시스템에서 지속적으로 관리하는 경보를 의미
- statistical counts 통계적인 수치
Background Information on Metrics, Thresholds, and Alerts
Out of the box, Enterprise Manager comes with thresholds for critical metrics. Warning and critical thresholds are used to generate an alert, letting you know of impending problems so that you can address them in a timely manner. To better suit the monitor
docs.oracle.com
의견들
A. Tablespace Space Usage metris is database related
B. Stateful alerts appear in DBA_OUTSTANDING_ALERTS and, when cleared, go to DBA_ALERT_HISTORY C. True. D. They're generated by MMON
F. This parameter is not required to generate alerts
#2 (답: D, E )
While backing up to an SBT channel, you determine that the read phase of your compressed Recovery Manager (RMAN) incremental level 0 backup is a bottleneck. FORCE LOGGING is enabled for the database. Which two could improve read performance? (Choose two.)

- a bottleneck(병목현상) : 병목 현상이란 어떤 시스템이나 프로세스에서 특정 부분이 다른 부분보다 처리 속도가 현저히 느려 전체 시스템의 성능을 저하시키는 현상
- read performance 읽기 성능 / the read phase 읽기 단계
- FORCE LOGGING은 데이터베이스 변경 사항이 즉시 로그 파일에 기록되도록 하는 기능
Backup and Recovery User's Guide
docs.oracle.com
Asynchronous disk I/O : 비동기 디스크 I/O
컴퓨터 시스템에서 디스크(하드디스크, SSD 등)에 데이터를 읽거나 쓰는 작업을 수행하는 방식 중 하나
비동기 디스크 I/O는 프로그램이 디스크 입출력 요청을 보낸 후 다른 작업을 수행할 수 있도록 하는 방식
의견들
A. SBT buffer can't help on READ phase
B. Force logging causes all operations in the database to be written to files, but it has no relation to RMAN reading performance.
C. rman does not use database buffer cache
"RMAN uses its own buffer cache separate from the database buffer cache"
D. In RMAN operation, asynchronous Disk I/O is always better than synchronous I/O as a server process can begin an I/O and then perform other work while waiting for the I/O to complete.On operating systems that do not support native asynchronous I/O, the database can simulate it with special I/O slave processes (DBWR_IO_SLAVES)
E. the level of RMAN multiplexing -> Parallel read
#3 (답: B, D ) A는 왜 아닌지 모르겠
For which two requirements can you use the USER_TABLESPACE clause with the CREATE PLUGGABLE DATABASE command? (Choose two.)

Administrator’s Guide
A CDB supports multiple techniques for creating PDBs.
docs.oracle.com




- seed PDB : template DB seed PDB에 있는 걸 참조해서 DB를 create
- SALES PDB, HR PDB : 사용자 DB
- instance : DB를 띄워서 메모리에 올라간 상태
The USER_TABLESPACES clause in the CREATE PLUGGABLE DATABASE command allows you to specify which user tablespaces to include when creating a new PDB.
USER_TABLESPACES 절은 새 PDB(Pluggable Database)에서 사용할 테이블스페이스를 지정하는 옵션입니다. 이를 통해 여러 스키마의 데이터를 개별 PDB로 분리하거나 특정 테이블스페이스만 포함하도록 조정할 수 있습니다.
SQL Language Reference
docs.oracle.com
- user_tablespaces_clauseYou can use this clause to separate the data for multiple schemas into different PDBs. For example, when you move a non-CDB to a PDB, and the non-CDB had a number of schemas that each supported a different application, you can use this clause to separate the data belonging to each schema into a separate PDB, assuming that each schema used a separate tablespace in the non-CDB.
- Specify tablespace to make the tablespace available in the new PDB. You can specify more than one tablespace in a comma-separated list.
- Specify ALL to make all tablespaces available in the new PDB. This is the default.
- Specify ALL EXCEPT to make all tablespaces available in the new PDB, except the specified tablespaces.
- Specify NONE to make only the SYSTEM, SYSAUX, and TEMP tablespaces available in the new PDB.
- This clause lets you specify the tablespaces to be made available in the new PDB. The SYSTEM, SYSAUX, and TEMP tablespaces are available in all PDBs and cannot be specified in this clause.
의견들
A. 기본 테이블스페이스를 설정하는 데 사용되지 않습니다.
기본 테이블스페이스 설정 쿼리
ALTER USER 사용자명 DEFAULT TABLESPACE 테이블스페이스명;
-> PDB를 생성한 후, 기본 테이블스페이스를 지정하려면 ALTER USER 명령어를 사용하여 해당 사용자에 대한 기본 테이블스페이스를 설정할 수 있습니다.
USER_TABLESPACES=ALL : All user tablespaces will be included in the final PDB. This is the same as the default action when the clause is omitted.
B. The documentation says: "Specify NONE to exclude all tablespaces." and later "This clause does not apply to the SYSTEM, SYSAUX, or TEMP tablespaces." That is, when specifying NONE, only SYSTEM, SYSAUX and TEMP will be included. And that's what answer B says.
C. USER_TABLESPACE is a clause for CREATE PLUGGABLE DATABASE options: (create_pdb_from_seed, create_pdb_clone, create_pdb_from_xml) and not an option for RELOCATION clause.
D. CREATE PLUGGABLE DATABASE 명령어의 USER_TABLESPACES 절은 Non-CDB(비컨테이너 데이터베이스)를 PDB(플러그형 데이터베이스)로 변환할 때 포함할 사용자 테이블스페이스 목록을 지정하는 데 사용됩니다.
The USER_TABLESPACES clause enables you to separate data that was used for multiple tenants in a non-CDB into different PDBs. You can use multiple CREATE PLUGGABLE DATABASE statements with this clause to create other PDBs that include the data from other tablespaces that existed in the non-CDB.
CREATE PLUGGABLE DATABASE ncdb USING '/disk1/oracle/ncdb.xml'
COPY
FILE_NAME_CONVERT = ('/disk1/oracle/dbs/', '/disk2/oracle/ncdb/')
USER_TABLESPACES=('tbs3');
Upgrading and Converting Non-CDBs to a PDB with the Same Operating System
You can create a PDB using a non-CDB in different ways.
docs.oracle.com
E. TEMP 테이블스페이스는 항상 포함되며, 이를 제외할 수 없습니다.
F. CREATE PLUGGABLE DATABASE 명령어의 USER_TABLESPACES 절은 기존 PDB를 복제하거나 플러그인할 때 포함할 사용자 테이블스페이스를 지정하는 데 사용됩니다. 그러나 CDB 시드(CDB$SEED)를 기반으로 새로운 PDB를 생성할 때는 이 절을 사용할 수 없습니다.
#4 (답: A, B, F (OR) B, D, F 중 논쟁중)
Which three are true about requirements for various FLASHBACK operations? (Choose three.)

Database Development Guide
docs.oracle.com
# 5 (답: B, C, D)
Which three actions are performed by the Oracle Preinstallation RPM, oracle-database-server-xxxx-preinstall, for Oracle Grid Infrastructure, where xxxx is the Oracle version and release? (Choose three.)

Grid Infrastructure Installation and Upgrade Guide
If your Linux distribution is Oracle Linux, or Red Hat Enterprise Linux, and you are an Oracle Linux support customer, then you can complete most preinstallation configuration tasks by using the Oracle Preinstallation RPM for your release.
docs.oracle.com
# 6 (답: 내 의견 D, F) E?
Which two are true about common objects? (Choose two.)

Administrator’s Guide
This chapter describes the most important components of the multitenant architecture.
docs.oracle.com
Database Concepts
Within a CDB, you can create a container for application data and metadata that can be shared by PDBs.
docs.oracle.com
Database Administrator’s Guide
You can create and manage several types of schema objects with Oracle Database.
docs.oracle.com
Common Objects (공통 객체)는 CDB (Container Database) 환경에서 **CDB$ROOT 및 여러 PDB (Pluggable Database)**에서 공유되는 객체를 의미합니다.
Oracle Multitenant 아키텍처에서 특정 객체를 모든 컨테이너에서 공통적으로 사용할 수 있도록 정의할 수 있습니다.
1. Common Objects의 개념
- CDB 공통 객체는 CDB$ROOT에서 생성되며, 이를 포함하는 모든 PDB에서 참조될 수 있습니다.
- 공통 객체는 동일한 이름과 속성을 가진 상태로 여러 컨테이너에서 공유됩니다.
- 이를 통해 CDB 내의 여러 PDB에서 동일한 데이터 및 코드를 공유할 수 있습니다.
E."A data-linked object is an object whose metadata and data reside in an application root, and are accessible from all application PDBs in this application container."
" In an extended data-linked object, the data stored in the application root is common to all application PDBs, and all PDBs can access this data. "
"Oracle Database does not support creation of common objects in CDB$ROOT. You can create most schema objects—such as tables, views, PL/SQL and Java program units, sequences, and so on—as common objects in an application root." Oracle Docs
Database-supplied common objects are defined in CDB$ROOT and cannot be changed. Oracle Database does not support creation of common objects in CDB$ROOT.
#7 (답: B, C )
Which two are true about the Automatic Database Diagnostic Monitor (ADDM)? (Choose two.)

D. Automatic Database Diagnostic Monitor (ADDM) analyzes the data in Automatic Workload Repository (AWR) and provides options to resolve performance problems.
Database Performance Tuning Guide
docs.oracle.com
# 8 ( 답: B, C )
Which two are true about server-generated alerts? (Choose two.)

Server-Generated Alerts는 Oracle Database의 성능 및 상태를 실시간으로 모니터링하고 문제를 감지하는 강력한 기능
**Stateless Alerts(스테이트리스 경고, 무상태 경고)**는 한 번 발생하고 나면 데이터베이스가 이를 기억하지 않는 일회성 경고를 의미합니다. 이러한 경고는 특정 시점에서만 유효하며, 데이터베이스가 이를 별도로 저장하거나 추적하지 않습니다.
SELECT * FROM DBA_THRESHOLDS WHERE OBJECT_TYPE = 'TABLESPACE';

의견들
A stateful alert is a threshold based alert (ie, tablespace usage above 90%), a stateless alert is non-threshold based alert (ie, a capture aborted with an ORA- error).
# 9 (답: A, B, E)
Which three are located by using environment variables? (Choose three.)

environment variables : 환경 변수
**Optimal Flexible Architecture (OFA)**는 Oracle Database의 파일 시스템을 표준화하고, 성능을 최적화하며, 관리 효율성을 향상시키기 위해 권장하는 디렉터리 구조 및 설정 가이드라인입니다.
A. 예제: OFA Compliant Path 구조 (Linux/Unix)
/u01/app/oracle/product/19c/dbhome_1
/u02/oradata/ORCL
/u03/flash_recovery_area/ORCL
/u04/redo_logs
B. the location of Oracle Net Services con guration les
export TNS_ADMIN=/opt/oracle/network/config
E. the temporary disk space used by Oracle Installer during installation
export TEMP=/u01/oracle/temp
export TMP=/u01/oracle/temp
의견들
C. spfile parameter ASM_DISKGROUPS, not env variable
D. [s]pfile parameter DB_CREATE_FILE_DEST, not env variable
F. [s]pfile parameter DB_FILES, not env variable
# 10 (답: A, B, G )
Which three are true about opatchauto? (Choose three.)

interim patches : 임시 패치
OPatchAuto란?
**opatchauto**는 Oracle Database 패치 적용을 자동화하는 유틸리티로, Oracle Grid Infrastructure 및 Oracle Database의 패치를 자동으로 적용하고 재부팅 및 서비스 재시작을 관리하는 기능을 제공합니다.
Introduction to OPatch and Patching
As shown in Figure 1-1, the first step is to determine what patches you need. You may find out about required patches from blogs, Oracle Technology Network (OTN), Service Requests, Knowledge Articles, Oracle documentation, or any number of other sources. H
docs.oracle.com
# 11 ( 답: A, B )
Which two are true about the character sets used in an Oracle database? (Choose two.)

a single character set : 단일 문자 집합이란, 전 세계 모든 문자를 하나의 체계적인 코드로 표현하는 것을 의미
대표적인 단일 문자 집합
- 유니코드(Unicode): 현재 가장 널리 사용되는 단일 문자 집합입니다. 전 세계의 모든 문자를 포함하며, 다양한 인코딩 방식(UTF-8, UTF-16 등)을 지원합니다.
- ASCII: 주로 영어 알파벳, 숫자, 특수 문자를 표현하는 데 사용되는 7비트 문자 집합입니다. 유니코드의 하위 집합이라고 볼 수 있습니다.
multibyte character sets : 멀티바이트 문자 집합은 하나의 문자를 표현하기 위해 1바이트 이상을 사용하는 문자 인코딩 방식입니다. 즉, 영어 알파벳처럼 1바이트로 표현할 수 있는 문자뿐만 아니라, 한글, 중국어, 일본어 등 2바이트 이상이 필요한 문자도 표현할 수 있도록 설계되었습니다.
의견들
D, E. Can use 7-bits and 8-bits encoding schemas
# 12 (답: 내 의견 B, C, F) OR B,D,F
Which three are true about monitoring waits for sessions and services? (Choose three.)

- Oracle Database에서는 세션(Session) 및 서비스(Service)의 대기 이벤트를 모니터링하여 성능 병목 현상을 파악하고 해결 가능
- V$SESSION_WAIT, V$SERVICE_EVENT, V$SYSTEM_EVENT 뷰를 활용하여 성능 저하 원인을 분석할 수 있음
- 대기 이벤트 분석을 통해 CPU, I/O, 네트워크 등 리소스를 최적화하고, 데이터베이스 성능을 개선할 수 있음
A. V$SESSION_EVENT displays information on waits for an event by a session.
B. V$SERVICE_EVENT displays aggregated wait counts and wait times for each wait statistic.
C. V$SESSION_WAIT displays the current or last wait for each session.
D. V$SESSION displays session information for each current session.
V$SESSION_WAIT displays the current or last wait for each session.
https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SESSION.html
Database Reference
V$SESSION displays session information for each current session.
docs.oracle.com
# 13 (답: C )
You must transport the UNIVERSITY tablespace from one database to another. The UNIVERSITY tablespace is currently open read/write. The source and destination platforms have different endian formats. Examine this list of actions:

Endianness (엔디안): 컴퓨터가 멀티바이트(예: 16-bit, 32-bit, 64-bit) 데이터를 저장하고 읽는 방식을 의미
Oracle 데이터베이스를 다른 플랫폼으로 마이그레이션할 때 소스와 대상 서버의 엔디안 형식이 다르면 문제가 발생할 수 있습니다.
# 14 (답: B, D )
Which two are true about OS groups and users for Oracle Grid Infrastructure and the Oracle Relational Database Management System (RDBMS)? (Choose two.)

그룹설명필수 여부
OSASM (asmdba) | ASM 인스턴스 관리 권한 (Grid Infrastructure용) | ✅ 필수 (ASM 사용 시) |
OSDBA (dba) | 데이터베이스 관리 권한 (SYSDBA 권한) | ✅ 필수 |
OSOPER (oper) | 데이터베이스 운영 권한 (STARTUP, SHUTDOWN) | 🔹 선택 사항 |
OSBACKUPDBA (backupdba) | 데이터베이스 백업(RMAN) 관리 권한 | 🔹 선택 사항 |
OSKMDBA (kmdba) | TDE (Transparent Data Encryption) 키 관리 권한 | 🔹 선택 사항 |
OSDGDBA (dgdba) | 데이터베이스 Data Guard 관리 권한 | 🔹 선택 사항 |
OSRACDBA (racdba) | Oracle RAC 관련 작업 수행 권한 | 🔹 선택 사항 |
사용자 소속 그룹
grid | Oracle Grid Infrastructure 관리 | asmdba, asmoper, asmadmin, dba |
oracle | Oracle Database 관리 | dba, oper, backupdba, kmdba, dgdba, racdba |
Grid Infrastructure Installation and Upgrade Guide
Log in as root, and use the following instructions to locate or create the Oracle Inventory group, and create a software owner for Oracle Grid Infrastructure, and directories for Oracle home.
docs.oracle.com
# 15 (답:A, B, C, G)
Which four are true about duplicating a database using Recovery Manager (RMAN)? (Choose four.)

A subset of the target database : 타겟 데이터베이스의 일부 데이터를 의미합니다.
즉, 전체 데이터베이스가 아니라 특정 테이블, 테이블스페이스, 스키마 또는 일부 데이터만 포함하는 데이터베이스 복제 또는 백업을 수행할 때 사용되는 개념입니다.
# 16(답: D, E )
A container database called CDB1 is OMF-enabled. PDB_FILE_NAME_CONVERT is not con gured in CDB1. PDB1 was unplugged from CDB1 earlier in the week. Examine this command, which will be executed in CDB1:

CREATE PLUGGABLE DATABASE pdb1 --> pdb1이라는 새로운 플러그형 데이터베이스(PDB)를 생성
USING '˜/u01/app/oracle/oradata/pdb1.xml' --> 기존 PDB의 XML 설명 파일을 사용하여 새로운 PDB를 생성
SOURCE_FILE_NAME_CONVERT = --> 기존 데이터 파일의 경로를 새로운 경로로 변환
('˜/u01/app/oracle/oradata/', '˜/u02/app/oracle/oradata/');
XML 설명 파일 (pdb1.xml)이란?
- PDB를 언플러그(Unplug) 하면 pdb1.xml이라는 XML 설명 파일이 생성됩니다.
- 이 XML 파일은 PDB에 포함된 데이터 파일, 테이블스페이스, 설정 정보 등을 포함하고 있음.
- PDB를 다시 플러그(Plug-in)하거나 복사할 때 사용됨.
PDB_FILE_NAME_CONVERT가 CDB1에서 설정되지 않음
PDB_FILE_NAME_CONVERT는 PDB를 플러그(Plug-in)할 때 데이터 파일의 위치를 자동으로 변환하는 매개변수
- PDB_FILE_NAME_CONVERT가 없으면, 기본적으로 OMF 규칙에 따라 데이터 파일이 자동으로 배치됨.
- 그러나 SOURCE_FILE_NAME_CONVERT가 사용되었으므로 파일 위치는 명시적으로 지정됨.
A. 현재 u10에 있을 가능성이 높음.
B. DBMS_PDB.CHECK_PLUG_COMPATIBILITY는 플러그형 데이터베이스(PDB)가 CDB(Container Database)에 플러그(Plug-in)할 수 있는지 사전 검사하는 함수
의견
E. Unplugging a database will result in the PDB remaining in a MOUNT state. It is still part of the CDB and will still be backed up etc... After unplugging, a PDB needs to be dropped before a new PDB can be created with the same name.
# 17( 답 : A, B, C 내 의견)
Which three are true about transporting databases across platforms using Recovery Manager (RMAN) image copies? (Choose three.)

A. " By default, RMAN uses OMF names for the data files."
Backup and Recovery User's Guide
Data can be transported across platforms by using image copies or backup sets.
docs.oracle.com
E. " You can use RMAN to transport tablespaces across platforms with different endian formats. You can also use RMAN to transport an entire database to a different platform so long as the two platforms have the same endian format. " --> database를 transport할 때는 with the same endian format으로
Backup and Recovery User's Guide
docs.oracle.com
B. Data les can be converted on the destination system.
데이터를 다른 시스템으로 이동시킬 때, 대상 시스템에서 데이터 파일의 형식이나 구조를 변경할 수 있다는 것을 의미합니다.
C. Data les can be converted on the source system.
이 문장은 데이터를 한 시스템에서 다른 시스템으로 이동시키기 전에, 출발점이 되는 시스템(소스 시스템)에서 데이터 파일의 형식이나 구조를 변경할 수 있다는 의미입니다.
# 18 (답: C, E 내 의견 )
Examine this command: $ rhpctl move database `"sourcehome Oracle_home_path `"destinationhome Oracle_home_path For which two purposes can you use this command? (Choose two.)

- rhpctl move gihome
Moves the Oracle Grid Infrastructure software stack from one home to another.
https://docs.oracle.com/en/database/oracle/oracle-database/23/fppad/gihome-commands.html
Oracle Fleet Patching and Provisioning Administrator's Guide
Use commands with the gihome keyword to add or delete nodes to Oracle Grid Infrastructure home and, move and upgrade Oracle Grid Infrastructure home.
docs.oracle.com
T 및 데이터베이스 환경에서 **"provision"**은 주로 소프트웨어, 하드웨어, 네트워크, 데이터베이스 등을 설정하고 배포하는 과정
# 19(답: A, B OR A, F 아직 모르겠음)
Which two are true about changing the LOCAL_UNDO_ENABLED property to false in a CDB? (Choose two.)

- About Local Undo Mode
Local undo mode means that each container has its own undo tablespace for every instance in which it is open. - About Shared Undo Mode
Shared undo mode means that only one active undo tablespace exists for a single-instance CDB. For an Oracle RAC CDB, there is one active undo
# 20 (답: B, C )
Which two are true about SQL Performance Analyzer (SPA)? (Choose two.)

SQL 성능 분석기(SQL Performance Analyzer, SPA)는 Oracle 데이터베이스에서 시스템 변경이 SQL 워크로드 성능에 미치는 영향을 평가하고 분석하는 도구입니다. 이를 통해 데이터베이스 업그레이드, 패치 적용, 파라미터 조정 등 다양한 시스템 변경이 SQL 문장의 응답 시간에 어떤 영향을 주는지 사전에 예측하고, 성능 저하를 방지할 수 있습니다.
https://docs.oracle.com/cd/E11882_01/server.112/e41481/spa_intro.htm#RATUG166
Introduction to SQL Performance Analyzer
You can run SQL Performance Analyzer on a production system or a test system that closely resembles the production system. Testing a system change on a production system will impact the system's throughput because SQL Performance Analyzer must execute the
docs.oracle.com
# 21(답: A )
A user complains about poor database performance. You want to verify if the user's session has waited for certain types of I/O activity. Which view displays all waits waited on by a session at least once?

# 22(답: B, C )
Which two are true about gathering optimizer statistics? (Choose two.)

# 23 (답: A, B )
Examine this output: Which two are true? (Choose two.)

PARALLEL_SERVER_LIMIT은 Oracle Database의 Resource Manager 기능에서 병렬 실행 프로세스(Parallel Execution Processes)의 사용을 제어하는 매개변수입니다.
이 값은 **각 PDB(Pluggable Database)**가 전체 CDB(Container Database)에서 사용할 수 있는 **병렬 실행 프로세스의 최대 비율(%)**을 정의합니다.
즉, 한 PDB가 사용할 수 있는 병렬 프로세스 개수를 제한하여 특정 PDB가 지나치게 많은 자원을 점유하는 것을 방지할 수 있습니다.
이 설정은 병렬 처리 작업이 많고, 여러 개의 PDB가 함께 운영되는 환경에서 자원을 공정하게 분배하는 역할을 합니다.
의견들
A. PDB not specified in the Plan will be assigne to the DEFAULT_PDB_DIRECTIVE. This directive set PARALLEL_SERVER_LIMIT to zero. (No parallel server).
B. Correct as parallel_server_limit is not specified for PDB3 and it defaults to 100
Quote: https://docs.oracle.com/database/121/ADMIN/dbrm.htm#ADMIN14008
"If PARALLEL_SERVER_LIMIT is not specified, then it defaults to 100%."
C. PARALLEL_SERVER_LIMIT은 **최대 사용 비율(%)**을 제한하는 것이지, 최소한의 보장(guarantee)이 아님.
E, F. 이 값은 최소 보장치(guaranteed allocation)가 아니라 최대 사용량을 제한하는 값임
PARALLEL_SERVER_LIMIT = 40%로 설정한 경우
- 해당 PDB는 시스템에서 사용 가능한 병렬 실행 프로세스의 최대 40%까지 사용할 수 있음.
- 하지만, 다른 PDB가 병렬 실행을 사용하지 않는다고 해서 반드시 40%를 확보하는 것은 아님.
- 즉, 항상 40%를 받는 것이 아니라, 최대 40%까지만 사용할 수 있도록 제한되는 것.
# 24(답: A, F )
Which two are true about the execution of operating system scripts starting from Oracle Database 19c? (Choose two.)

Oracle Database 19c부터, 운영 체제(OS) 스크립트 실행 방식이 변화되었습니다.
이전에는 설치 후 수동으로 orainstRoot.sh 및 root.sh를 실행해야 했지만, 19c부터는 sudo 또는 root 권한을 통해 자동 실행할 수 있습니다.
의견들
A. orainstRoot.sh는 Oracle Inventory를 설정하는 스크립트로, DB 설치 프로그램이 sudo 또는 root 권한을 사용하여 자동 실행 가능.
B. sudo 권한을 사용하여 root.sh를 자동 실행할 수도 있음.
C, E. The root or sudo password cannot be specified in the response file.
D. root.sh는 sudo뿐만 아니라 root 계정으로도 실행 가능.
# 25(답: B ) or C
Automatic Shared Memory Management is disabled for one of your database instances. Some SQL statements perform poorly due to excessive hard parse activity, thereby degrading performance. What would be your next step?

의견들
The shared pool advisor provides information about the estimated parse time in the shared pool for different pool sizes, the buffer cache advisor provides information about physical reads and time for the cache size, and the PGA advisor provides information about cache hit percentage against PGA target memory size.
A. SQL Access Advisor is normally run after the SQL Tuning Advisor, if the latter does not give the required results.
B. You cannot run the memory advisor for the shared pool only.(임에도 불구하고 the Memory Advisor를 run하는게 최적이라는 chatGPT의 의견)
C. This is the logical first step in tuning SQL statements when no memory advisors are available to use.
D. Hard parsing indicates that the statement in not cached in the shared pool, part of the SGA, and has nothing to do with the PGA.
E. The SGA advisor is only available when running in ASMM mode.
# 26(답: A, C )
Which two are true about ashback features in Oracle Database 19c and later releases? (Choose two.)

Oracle Database 19c부터 **Fast Recovery Area(FRA)**에서 Flashback Logs의 공간 관리를 자동화하는 기능이 도입되었습니다. 이로써 데이터베이스는 **보존 기간(retention period)**을 초과한 플래시백 로그를 자동으로 삭제하여 FRA의 공간을 효율적으로 관리합니다.
https://support.oracle.com/knowledge/Oracle%20Database%20Products/2465562_1.html
19c (New Feature) : Auto Space Management for Flashback Logs in the Fast Recovery Area
19c (New Feature) : Auto Space Management for Flashback Logs in the Fast Recovery Area (Doc ID 2465562.1) Last updated on JULY 20, 2024 Applies to: Oracle Database - Enterprise Edition - Version 19.1 BETA and later Information in this document applies to a
support.oracle.com
#27( 답: A, C )
Examine these queries and their output: After a system crash, an instance restart and an attempted opening of the PDBs result in:


의견들
A: Since PDB1 is the one missing the data file 24, the recovery is possible while PDB2 is opened, i.e. PDB1 is unrelated to PDB2. C: The data file 24 can be recovered while the CDB$ROOT and PDB$SEED are opened (or while both are MOUNTED).
(Not B): The data file 24 recovery can also be done while CDB is MOUNTED; option B is too restrictive and, therefore incorrect.
(Not D): For the data file 24 recovery, the CDB should be OPENED or at least MOUNTED, otherwise, the recovery is not possible (when shut down).
(Not E): Since PDB1 is the one missing the data file 24, the recovery is possible regardless of the PDB2; PDB2 may be open or closed, it's all the same, so the option E is too restrictive and, therefore incorrect.
# 28(답: B, D )
Which two are true about RMAN duplexed backup sets? (Choose two.)

RMAN Duplexed Backup Sets란?
RMAN (Recovery Manager)의 Duplexed Backup Sets는 동일한 백업 데이터를 여러 개의 복사본(duplex copies)으로 저장하는 기능입니다.
즉, 하나의 백업 작업에서 동일한 백업 세트를 두 개 이상의 대상에 동시에 저장할 수 있습니다.
📌 이 기능의 주요 목적
- 백업의 신뢰성 향상 → 하나의 백업 파일이 손상되더라도 다른 복사본을 사용하여 복구 가능
- 다중 스토리지 지원 → 디스크와 테이프 등 여러 저장소에 동일한 백업 유지 가능
- 백업 이중화(duplication) 작업 불필요 → 별도의 백업 복사 작업 없이 백업 생성 시 자동으로 다중 복사 가능
- Duplexed backup set: 두 개의 독립적인 위치에 동시에 백업되는 데이터 세트입니다. 이는 데이터 보호 및 복구 기능을 향상시킵니다.
- Non-duplexed backup set: 단일 위치에만 백업되는 데이터 세트입니다.
- SBT channels: Storage Backup Tape 채널을 의미합니다. 데이터를 백업 장치로 전송하기 위한 경로입니다.
"You cannot back up from tape to tape or from tape to disk: only from disk to disk or disk to tape."
Backup and Recovery Reference
Backup and Recovery Reference
docs.oracle.com
# 29 (답: A, C, F) 하지만 F가 좀 아닌 것 같음
Which three are true about RMAN persistent con guration settings, administration, and their effects? (Choose three.)

Recovery Window Retention Policy는 RMAN(Recovery Manager)에서 백업 데이터를 얼마나 오랫동안 보존할지를 결정하는 정책입니다. 쉽게 말해, 데이터를 복구할 수 있는 시간 범위를 설정하는 것이라고 할 수 있습니다.
a redundancy retention policy 는 데이터를 안전하게 보호하기 위해 여러 개의 복사본을 만들어 저장하는 것에 대한 규정과 지침을 의미합니다. 즉, 데이터 손실이나 시스템 장애가 발생하더라도 중요한 데이터를 복구할 수 있도록 여러 곳에 백업하는 정책을 말합니다.
# 30 (답: C, E, F )
Which three are true about Optimizer Statistics Advisor? (Choose three.)

# 31 (답: A, C )
You issued this command: RMAN> BACKUP RECOVERY FILES; Which two are true? (Choose two.)

SBT(Secure Backup Tape)
Backup and Recovery Reference
docs.oracle.com
의견들
The command enables Rman backup optimization; So only the files not already backed up will be backed up and not all files.
About BACKUP RECOVERY FILES: "Backs up all recovery files on disk, whether they are stored in the fast recovery area or other locations on disk. [...] By default, backup optimization is enabled for this command even if the CONFIGURE BACKUP OPTIMIZATION setting is OFF. " About BACKUP OPTIMIZATION: "Optimization prevents RMAN from backing up a file to a device type if the identical file is already backed up on the device type".
# 32(답: A, C )
Which two are true about the Oracle database methodology? (Choose two.)

Oracle의 데이터베이스 성능 방법론(Oracle Database Performance Methodology)은 시스템의 병목 현상을 식별하고 제거하여 효율성을 향상하는 것을 목표로 합니다.
이 방법론은 **사전 예방적 튜닝(proactive tuning)**과 사후 대응적 튜닝(reactive tuning) 두 가지 접근 방식을 포함합니다.
Database 2 Day + Performance Tuning Guide
docs.oracle.com
# 33 (답: B, C, D)
While backing up to the Oracle Fast Recovery Area (FRA), you determined the backup is taking too long and suspect a performance bottleneck. Which three are true about diagnosing and tuning these problems? (Choose three.)

BACKUP VALIDATE는 Oracle Recovery Manager(RMAN)의 명령어로, 실제 백업을 수행하지 않고 데이터 파일이나 아카이브 로그가 백업 가능한 상태인지 확인하는 데 사용됩니다. 이 명령어는 데이터 파일의 손상 여부를 검사하고, 누락된 파일이 없는지 확인하며, 백업이 성공적으로 복구될 수 있는지 판단하는 데 유용합니다.
만약 BACKUP VALIDATE가 정상적으로 실행되지만 실제 RMAN 백업이 느린 경우, 쓰기 I/O가 병목일 가능성이 큼
V$BACKUP_SYNC_IO 뷰는 현재 진행 중이거나 최근에 완료된 RMAN 백업 및 복구 작업에 대한 성능 정보를 제공합니다. 이 뷰의 DISCRETE_BYTES_PER_SECOND 열은 각 파일의 평균 전송 속도를 나타냅니다.
V$BACKUP_ASYNC_IO 뷰는 현재 진행 중이거나 최근에 완료된 RMAN 백업 및 복구 작업에 대한 성능 정보를 제공합니다.
이 뷰의 SHORT_WAITS 열은 버퍼가 즉시 사용 가능하지 않았지만, 비차단 폴링(non-blocking poll)을 통해 I/O 완료를 기다린 후 사용 가능해진 횟수를 나타냅니다.
- 비동기 I/O(Asynchronous I/O):
- 데이터가 디스크에 기록될 때 DBWR 프로세스나 RMAN이 데이터 쓰기가 완료되길 기다릴 필요 없음
- 여러 개의 요청이 동시에 처리될 수 있어 성능이 향상됨
- 데이터베이스의 쓰기(Write) 성능 향상에 기여
- 동기 I/O(Synchronous I/O):
- 하나의 I/O 요청이 완료될 때까지 다음 작업이 대기해야 함
- 성능 병목이 발생할 가능성이 있음
- 일부 환경에서는 DBWR_IO_SLAVES를 사용하여 동기 I/O를 보완
# 34 (답: A, C )
You are managing this con guration: 1. CDB1 is a container database. 2. PDB1 and PDB2 are two pluggable databases in CDB1. 3. USER1.EMP is a table in PDB1 and USER2.DEPT is a table in PDB2. CDB1 user SYS executes these commands after connecting successfully to PDB2:

# 35(답:E)
Examine this con guration: 1. CDB1 is an Oracle Database 12c Release 2 database containing pluggable databases PDB$SEED, PDB1, and PDB2. 2. PDB$SEED is open READ ONLY 3. PDB1 is open READ WRITE 4. PDB2 is MOUNTED. 5. ORACLE_HOME is /u01/app/oracle/product/18.1.0/dbhome_1. You execute these commands before upgrading the database to the current release:

수정 스크립트(fixup scripts)는 일반적으로 데이터베이스 객체(테이블, 인덱스, 뷰 등)에 대한 변경 사항을 적용하기 위해 사용됩니다.
의견들
For multitenant architecture (CDB and PDB) upgrades, open up all the PDBs that you want the tool to analyze before you run the tool.
# 36(답: D, E )
Which two are true about Oracle Flashback features? (Choose two.)

의견들
Flashback Query & Version Query need Undo not Redo
# 37(답:C,F,G)
Which three are true about an application seed pluggable database (PDB)? (Choose three.)

# 38 (답: A, B )
Examine this con guration: 1. CDB1 is a container database. 2. PDB1 and PDB2 are pluggable databases in CDB1. 3. PDB1 and PDB2 are OPEN in READ WRITE mode. You execute these commands successfully:

#39(답: A, B, E )
Which three are true about Automatic Workload Repository (AWR), Automatic Database Diagnostic Monitor (ADDM), and the Manageability Monitor (MMON) background process? (Choose three.)

**ADDM (Automatic Database Diagnostic Monitor)**는 Oracle Database의 자동 성능 진단 기능으로, 데이터베이스의 성능을 지속적으로 모니터링하고 성능 저하의 원인을 분석하여 최적화할 수 있는 권장 사항을 제시하는 기능입니다.
Oracle 10g부터 도입되었으며, **AWR (Automatic Workload Repository)**에서 수집한 성능 데이터를 기반으로 분석을 수행합니다.
MMON(Manageability Monitor) 프로세스는 Oracle Database의 자동 성능 관리 기능(Automatic Performance Management)을 지원하는 백그라운드 프로세스입니다.
이 프로세스는 AWR (Automatic Workload Repository) 데이터를 수집하고, **ADDM (Automatic Database Diagnostic Monitor)**을 실행하는 등의 작업을 수행합니다.
# 40 (답: B, C ,E )
Examine the command for creating pluggable database PDB2 in container database CDB2.

# 41(답:B, E )
Which two are true about Recovery Manager (RMAN) diagnostic message output? (Choose two.)

# 42(답: A, B, F)
Which three are true about managing memory components in an Oracle database instance? (Choose three.)

On Line Transaction Processing systems : 온라인 트랜잭션 처리(OLTP) 시스템
Decision Support Systems : 의사 결정 지원 시스템(DSS)
DSS는 대량의 데이터 집계 및 분석을 수행하기 때문에 **OLTP보다 더 많은 PGA(Program Global Area)**를 필요로 합니다.
Automatic Memory Management (AMM)란?
- AMM은 Oracle이 SGA(공유 메모리)와 PGA(개별 세션 메모리)를 자동으로 조정하는 기능입니다.
- MEMORY_TARGET 및 MEMORY_MAX_TARGET을 설정하면, Oracle이 동적으로 메모리를 조정합니다.
Locking SGA into Physical Memory란?
- SGA 메모리를 OS의 물리적 메모리에 고정하는 기능
- 보통 운영체제가 메모리 스왑(Swapping, Paging)을 방지하기 위해 사용
- SGA가 물리적 메모리에 잠겨 있으면, 스왑이 발생하지 않아 성능이 향상됨
# 43(답: D, E )
A database is con gured in ARCHIVELOG mode. Full RMAN backups are taken daily and no backup to trace has been taken of the control le. A media failure has occurred. In which two scenarios is complete recovery possible? (Choose two.)

# 44 (답: B, D, F )
Which three are true about Database Point-in-Time Recovery? (Choose three.)

**Database Point-in-Time Recovery(DBPITR, 특정 시점 복구)**는 데이터베이스를 특정 시점(Point-in-Time)으로 복원하는 복구 방법입니다.
의견들
Archivelog mode and mount state are needed (B, and D) After the restore you need to open with reset logs (F)
# 45(답: A, B, D )
Which three are true about the SQL Tuning Advisor? (Choose three.)

Stale Statistics : 오래된 통계
Missing Statistics : 누락된 통계
# 46(답:A, E )
Which two are true about duplicating pluggable databases (PDBs) with RMAN? (Choose two.)

# 47(답: B, D, F )
Which three are true about Rapid Home Provisioning (RHP), which has been available since Oracle 18c? (Choose three.)

**Rapid Home Provisioning (RHP)**는 Oracle Database 18c부터 도입된 소프트웨어 수명 주기 관리 솔루션으로, 데이터 센터 내 여러 노드에 소프트웨어를 효율적으로 배포하고 유지 관리할 수 있도록 지원합니다.
# 48(답: A, D ) OR A,C
Examine this con guration: 1. CDB1 is a container database. 2. COMMON_USER_PREFIX is C##. 3. PDB1 is a pluggable database contained in CDB1. 4. APP1_ROOT is an application container contained in CDB1. 5. APP1_PDB1 is an application PDB contained in APP1_ROOT. You execute these commands successfully:


# 49 (답: D, E )
Which two are facets of performance planning that should always be considered or implemented for an Oracle Database environment? (Choose two.)

**Storage Array(스토리지 배열)**는 여러 개의 디스크 드라이브(HDD, SSD)를 하나의 논리적 장치(Logical Unit, LUN)로 구성하여 데이터를 효율적으로 저장, 관리, 보호하는 스토리지 시스템입니다.
스토리지 배열은 RAID, SAN(Storage Area Network), NAS(Network Attached Storage), DAS(Direct Attached Storage) 등의 방식으로 구성될 수 있으며, 데이터베이스 성능과 안정성을 최적화하는 데 중요한 역할을 합니다.
# 50(답:B, C ,F ) OR D
Which three actions are performed by Database Upgrade Assistant (DBUA)? (Choose three.)

# 51(답: A ,E )
Which two are true about RMAN backups when using a media manager to write backups to tape when there are only two tape drives? (Choose two.)

# 52(답: A, E )
You plan to install Oracle Grid Infrastructure for a Standalone Server and Oracle Database for the rst time on a server. Examine this command and its outcome:

Standalone Server는 다른 서버나 클러스터 환경과 연결되지 않고 독립적으로 운영되는 서버를 의미합니다. 이 서버는 단독으로 애플리케이션, 데이터베이스, 파일, 웹 서비스 등을 제공하며, 외부의 추가적인 서버 또는 분산 환경과 의존하지 않습니다.
# 53(답: C )
Examine this con guration: While CDB1 is open, `˜/u02/app/oracle/fast_recover_area/cdb1/CDB1/control le02.ctl' is accidentally deleted. To recover from this critical failure, you execute these commands: What will be the outcome?

#54(답: D) or C
Examine these actions: 1. Create a new database for a recovery catalog. 2. Create a tablespace with su cient space in the catalog database for the recovery catalog. 3. Con gure ARCHIVELOG mode for the catalog database. 4. Create a user to own the recovery catalog schema with quota on the tablespace that will contain the catalog. 5. Grant the RECOVERY_CATALOG_OWNER role to the recovery catalog schema owner. 6. Grant the SYSBACKUP privilege to the recovery catalog schema owner. Which are the minimum actions that must be performed before executing the CREATE CATALOG command?

# 55 (답:C, G)
Which two are true about creating pluggable databases (PDBs) using snapshots in Oracle 19c and later releases? (Choose two.)

# 56( A, E )
Which two are true about Oracle Database Con guration Assistant (DBCA) templates? (Choose two.)

# 57( C, F )
Your SALES_ROOT application container has two application PDBs. The SALES_APP application has a common table, FIN.REVENUE, in the two PDBs. Examine this query and its output:

# 58( B, E)
Your container database, CDB1, has an application container, HR_ROOT, with an application PDB, HR_PDB1. You have the required privilege to clone HR_PDB1 to container database CDB2, which does not contain HR_ROOT. Which two are always true? (Choose two.)

# 59( C, D, E )
Which three are true about backup, restore, and recovery operations done without using Recovery Manager (RMAN)? (Choose three.)

# 60(A, D )
Examine this con guration: 1. CDB1 is a container database. 2. PDB1 and PDB2 are pluggable databases in CDB1. You execute these commands successfully: Which two are true? (Choose two.)

#61( B, C, E )
Which three are true about upgrading Oracle Grid Infrastructure? (Choose three.)

# 62( A database is con gured in ARCHIVELOG mode. A full RMAN backup exists but no control le backup to trace has been taken. A media failure has occurred. In which two scenarios is incomplete recovery required? (Choose two.)

# 66(답: B,D)
Which two are true about data movement between a non-CDB and a PDB using Data Pump? (Choose two.)

- Conventional Database Users (기존 데이터베이스 사용자)
- Non-CDB(전통적인 Oracle 데이터베이스) 환경에서 사용되는 Common User(공통 사용자) 또는 Local User(로컬 사용자) 를 의미할 수 있음.
- 일반적으로 Non-CDB에서는 모든 사용자 계정이 데이터베이스 전체에 적용되므로, 특정 컨테이너 개념 없이 하나의 데이터베이스에서만 존재함.
- CREATE USER 문을 사용하여 생성된 일반적인 사용자 계정을 의미.
- Local Users (로컬 사용자)
- PDB(Pluggable Database) 내부에서만 존재하는 사용자 계정.
- PDB 환경에서는 C## 접두사가 없는 사용자를 로컬 사용자로 간주함.
- CREATE USER 문을 사용하여 특정 PDB 내부에서만 존재하는 사용자 계정을 생성할 수 있음.
- Non-CDB에서 사용하던 일반 사용자 계정을 PDB 환경으로 이동하면, 기본적으로 로컬 사용자로 변환됨.
# 67
Which three methods can be used for heap table data migration after upgrading a database? (Choose three.)

의견들
Oracle Database provides several methods for migrating data from one database to another, catering to different needs for data volume, complexity, and downtime requirements. Here are some of the primary migration methods supported by Oracle: 1. Data Pump (expdp and impdp) 2. Oracle GoldenGate 3. Transportable Tablespaces 4. Cross-Platform Transportable Tablespaces (XTTS) 5. Oracle SQL Developer 6. Oracle Migration Workbench 7. RMAN (Recovery Manager) 8. Oracle Zero Downtime Migration (ZDM) 9. Database Links 10. Oracle Cloud Infrastructure (OCI) Database Migration Service
# 68 (답 D, E, F 중 논란)
Which two are true about Oracle instance recovery? (Choose two.)

롤 포워드(Roll Forward): 온라인 리두 로그에 기록된 모든 변경 사항을 데이터 파일에 적용하여 데이터베이스를 최신 상태로 업데이트합니다.
- Performing instance recovery, if necessary, at instance startup. In an Oracle RAC database, the SMON process of one database instance can perform instance recovery for a failed instance.
# 70(A, D, E ,F ,H 중 내 의견은 ADEH OR AEFH)
Which four are true about a Recovery Manager (RMAN) duplication without a TARGET connection? (Choose four.)

Oracle RMAN (Recovery Manager) 을 사용하여 데이터베이스를 복제(duplicate)할 때, TARGET 데이터베이스 연결 없이 수행하는 방법을 "Backup-based duplication" 또는 "Duplication without TARGET connection" 이라고 합니다.
이 방식은 소스 데이터베이스(TARGET DB)에 직접 연결하지 않고, 기존 백업을 사용하여 데이터베이스를 복제하는 방법입니다.
즉, 소스 DB에 접근할 수 없거나, 보안상 직접 연결이 불가능할 때 유용합니다.
나의 의견
Backup and Recovery Reference
docs.oracle.com
F.
" If you duplicate a subset of tablespaces, and if the source database is not open, then any duplicated tablespaces with undo segments must be listed in the UNDO TABLESPACE clause. "
" Yes (if no catalog used and target is not open) "
D."You can also use the NOREDO option when you do not want to apply archived redo log files to a consistent backup. "이면 D가 맞는 거 아닐까하는 의견
E. "If you are using SBT backups, then make the tapes with the backups accessible to the destination host."라고 한다.
- If you are using disk backups, and if you cannot use the same backup directory names on the destination host as the source host, then use of the techniques described in Oracle Database Backup and Recovery User's Guide.
내가 동의한 의견
Change my mind ADEH F - not always, it depends https://docs.oracle.com/en/database/oracle/oracle-database/18/rcmrf/DUPLICATE.html#GUID-E13D8A02-80F9-49A2-9C31-92DD3A795CE4 You must provide the list of tablespaces with undo segments in the following cases: No connection to the target database or the recovery catalog No connection to a recovery catalog, a connection to the target but the target database is not open. Table 2-6 Prerequisites for Three Modes of Backup-Based Duplication If you duplicate a subset of tablespaces, and if the source database is not open, then any duplicated tablespaces with undo segments must be listed in the UNDO TABLESPACE clause. Target Connection > Yes (if no catalog used and target is not open)
#71 (답: D, E, G)
Which three are true? (Choose three.)

Application Root는 Oracle Multitenant 환경에서 Application Container 내에 존재하는 최상위(루트) PDB(Pluggable Database) 를 의미합니다.
Oracle 12c부터 도입된 Multitenant Architecture에서는 여러 개의 PDB(Pluggable Database)가 CDB(Container Database) 내에 포함될 수 있습니다.
Application Root는 이러한 PDB들 중에서 Application Container 내에서 공유되는 공통 오브젝트(예: 테이블, 패키지, 사용자 등)를 관리하는 역할을 합니다.
# 76
Oracle Preinstallation RPM(Oracle 사전 설치 RPM)은 Oracle Database를 설치하기 전에 필요한 시스템 설정을 자동으로 구성하는 패키지입니다.
이 패키지는 Oracle Linux 및 Red Hat Enterprise Linux (RHEL) 환경에서 사용되며, 데이터베이스 설치에 필요한 커널 설정, 사용자 계정 생성, 패키지 설치 및 기타 필수 설정을 자동으로 적용합니다.
* 의견들(출처: http://www.examtopics.com )
'ORACLE DBMS' 카테고리의 다른 글
데이터 버퍼 캐쉬(Data Buffer Cache) 개념 (0) | 2025.01.07 |
---|---|
Shared Pool 개념 (0) | 2025.01.07 |
SGA(System Global Area)의 개념 (0) | 2025.01.07 |
082 OCP 시험 문제 (1) | 2024.12.30 |
강남 아이티윌 'DBA 양성 과정' 후기 (0) | 2024.11.26 |