본문 바로가기

DB/Oracle

[Oracle] OCP 19C 자격증 Dump 공부 1Z0-082(Part1)

- QUESTION 1

Which two are true about the roles? (Choose two.)
A. All privileges and roles granted to a user are enabled by default when the user logs in.
B. The SET ROLE statement can be used once per session.
C. The SET ROLE statement enables as well as disables roles in a session.
D. A role must be disabled before it can be revoked from a user.
E. The ALTER USER statement must be used to set specific default roles for a user.
Correct Answer: AC


한국어 해석
역할에 대해 맞는 두 가지는 무엇인가요? (두 가지를 선택하세요.)
A. 사용자에게 부여된 모든 권한 및 역할은 사용자가 로그인할 때 기본적으로 활성화됩니다.
B. SET ROLE 문은 세션당 1회 사용 가능합니다. -- 아님
C. SET ROLE 문은 세션에서 역할을 활성화 및 비활성화합니다.
D. 사용자로부터 역할을 취소하려면 먼저 역할을 비활성화해야 합니다.  -- 아님
E. ALTER USER 문을 사용하여 반드시 사용자의 특정 기본 역할을 설정해야 합니다. -- must 라는 표현이 틀린듯?

 

- QUESTION 2
Which three files are used by conventional path SQL*Loader when the TABLE option is not specified? (Choose three.) +
A. dump files
B. control files
C. password files
D. bad files
E. input files
Correct Answer: BDE

한국어 해석
TABLE 옵션이 지정되지 않은 경우 기존 경로 SQL*Loader에서 사용하는 세 개의 파일은 무엇입니까? (3개 선택) +
A. 덤프 파일 -- 아님
B. 제어 파일 -- 데이터 적재를 위한 제어 파일
C. 암호 파일 -- 아님
D. 불량 파일 -- 적재 실패한 데이터들 

E. 입력 파일 -- 데이터를 담고 있는 파일

SQL Loader에는 위의 구성도와 같이 2개의 입력관련 파일과 3개의 출력 관련 파일을 사용할 수 있다.

 

- QUESTION 3
Which three statements are true about undo segments and the use of undo by transactions in an Oracle database instance? 

(Choose three.) +
A. An undo segment may be used by multiple transactions simultaneously
B. Undo segments can wrap around to the first extent when a transaction fills the last extend of the undo segment
C. Undo segments have a minimum of three extents
D. Undo segments can extend when a transaction fills the last extent of the undo segment
E. A single transaction may use multiple undo segments simultaneously
F. Undo segments must be stored in a BIGFILE tablespace
G. Undo segments must be stored in a SMALLFILE tablespace
Correct Answer: ABD

한국어 해석
Oracle 데이터베이스 인스턴스에서 undo 세그먼트와 트랜잭션에 의한 undo 사용에 대한 세 가지 설명은 무엇입니까? 

(3개 선택) +
A. undo 세그먼트는 여러 트랜잭션에서 동시에 사용될 수 있습니다  -- undo 세그먼트와 트랜잭션은 N대1로 매칭된다.
B. 트랜잭션이 undo 세그먼트의 마지막 익스텐트를 채울 때 undo 세그먼트는 첫 번째 익스텐트 까지 둘러 쌀 수 있습니다   -- 언두 세그먼트의 동그라미 모양을 말하는듯?
C.  undo 세그먼트에는 최소 3개의 익스텐트가 있습니다. -- 아님
D. 트랜잭션이 undo 세그먼트의 마지막 익스텐트를 채울 때 undo 세그먼트를 확장할 수 있습니다
E. 하나의 트랜잭션이 여러 개의 undo 세그먼트를 동시에 사용할 수 있음  -- undo 세그먼트와 트랜잭션은 N대1로 매칭된다.
F. undo 세그먼트는 BIGFILE 테이블스페이스에 저장되어야 합니다 -- 아님
G. undo 세그먼트는 SMALLFILE 테이블스페이스에 저장되어야 합니다 -- 아님

 

-- BIGFILE 테이블스페이스란?

Bigfile Tablespace는 데이터파일의 크기가 굉장히 큰 Tablespace 입니다. Oracle 10g 부터는 새로운 addressing 기법에 의해 하나의 datafile 이 40억개의 block을 가질 수 있는 Bigfile Tablespace 기능을 제공합니다.
Bigfile Tablespaces는 반드시 Locally Managed Tablespace만 지원 하고, Automatic Segment-Space Management로 생성되어야 합니다.
BIGFILE과 SMALL FILE의 가장 큰 차이는 만들 수 있는 데이터파일의 갯수와 크기 입니다. 
BIGFILE의 경우 데이터파일은 딱 하나를 사용할 수 있습니다. 

BIGFILE은 ASM(Automatic Storage Management)이 생기면서 만들어졌습니다.
BIGFILE이 나오기 전에 SMALLFILE은 여러개의 디스크에 균등하게 수동으로 데이터파일을 만들어 줬습니다.
ASM을 사용할 수 있으면 자동으로 균등하게 디스크별로 공간을 할당해주기 때문에 굳이 여러개의 데이터파일의 관리할 필요 없이 하나의 파일을 사용하고 ASM으로 공간을 할당하면 더 쉽게 관리할 수 있어 BIGFILE을 사용합니다.

 

- QUESTION 4
Which two statements are true about UNDO and REDO? (Choose two.)
A. The generation of UNDO generates REDO
B. DML modifies Oracle database objects and only generates UNDO
C. The generation of REDO generates UNDO
D. DML modifies Oracle database objects and only generates REDO
E. DML modifies Oracle database objects and generates UNDO and REDO
Correct Answer: AE

한국어 해석
다음 중 UNDO와 REDO에 대한 설명으로 옳은 것은 무엇입니까? (두 가지를 선택하십시오.)
A. UNDO 생성은 REDO를 생성합니다
B. DML은 Oracle 데이터베이스 개체를 수정하고 UNDO만 생성합니다   -- 리두도 수정
C. REDO의 생성은 UNDO를 발생시킵니다   -- 아님 
D. DML은 Oracle 데이터베이스 개체를 수정하고 REDO만 생성합니다 -- 언두도 수정
E. DML은 Oracle 데이터베이스 개체를 수정하고 UNDO 및 REDO를 생성합니다

 

- QUESTION 5
Table ORDER_ITEMS contains columns ORDER_ID, UNIT_PRICE and QUANTITY, of data type NUMBER.
Examine these SQL statements:

Statement 1: SELECT MAX(unit_price * quantity) "Maximum Order" FROM order_items;
Statement 2: SELECT MAX(unit_price * quantity) "Maximum Order" FROM order_items GROUP BY order_id;

Which two statements are true? +
A. Statement 1 returns only one row of output.
B. Statement 2 returns only one row of output.
C. Both statements will return NULL if either UNIT_PRICE or QUANTITY contains NULL.
D. Both the statements give the same output.
E. Statement 2 may return multiple rows of output.
Correct Answer: AE

한국어 해석
ORDER_ITEMS 테이블에는 NUMBER 데이터 유형의 ORDER_ID, UNIT_PRICE 및 QUANTITY 컬럼이 포함되어 있습니다. 다음 SQL 문을 조사합니다:

문장 1: SELECT MAX(unit_price * quantity) "Maximum Order" FROM order_items;
문장 2: SELECT MAX(unit_price * quantity) "Maximum Order" FROM order_items GROUP BY order_id;

다음 중 옳은 두 문장은 무엇입니까? +
A. 문장 1은 출력 행을 하나만 반환합니다.
B. 문장 2는 출력 행을 하나만 반환합니다.   -- order_id 별로 max값을 반환함 
C. 두 문장 모두 UNIT_PRICE 또는 QUANTITY 중 하나에 NULL이 포함되어 있으면 NULL을 반환합니다. -- MAX값을 찾는것이기떄문에 아니다.
D. 두 문장 모두 동일한 출력을 제공합니다. -- 문장1과 문장2는 반환하는 행 개수가 다르다
E. 문장 2는 여러 행의 출력을 반환할 수 있습니다.

 

- QUESTION 6
A  script abc.sql must be executed to perform a job.
A  database user HR, who is defined in this database, executes this command:
$ sqlplus hr/hr@orcl @abc.sql What will happen upon execution? +

A. The command succeeds and HR will be connected to the orcl and abc.sql databases
B. The command succeeds and HR will be connected to the orcl database instance, and the abc.sql script will be executed
C. The command fails because the script must refer to the full path name
D. The command fails and reports an error because @ is used twice
Correct Answer: B

한국어 해석
작업을 수행하려면 스크립트 abc.sql을 실행해야 합니다.
이 데이터베이스에 정의된 데이터베이스 사용자 HR은 다음 명령을 실행합니다:
$ sqlplus hr/hr@orcl @abc.sql 실행 시 어떤 일이 발생합니까? +

A. 명령어가 성공하고 HR이 orcl 그리고 abc.sql 데이터베이스에 연결됩니다.  
B. 명령어가 성공하고 HR이 orcl 데이터베이스 인스턴스에 연결되며 abc.sql 스크립트가 실행됩니다
C. 스크립트가 전체 경로 이름을 참조해야 하므로 명령이 실패합니다
D. @가 두 번 사용되므로 명령이 실패하고 오류가 보고됩니다

 

- QUESTION 7
Which two statements are true about views used for viewing tablespace and datafile information? (Choose two.) +
A. Tablespace free space can be viewed in V$TABLESPACE
B. V$TABLESPACE displays information that is contained in the controlfile about tablespaces
C. V$TABLESPACE displays information about tablespaces contained in the data dictionary
D. Tablespace free space can be viewed in DBA_TABLESPACES
E. A datafile can be renamed when the database is in MOUNT state and the new file name is displayed when querying DBA_DATA_FILES after the database is opened
Correct Answer: BE

한국어 해석
테이블스페이스 및 데이터 파일 정보를 보기 위해 사용되는 뷰에 대한 알맞는 두 가지 설명은 무엇입니까? (두 가지 선택) +
A. 테이블스페이스 빈 공간은 V$TABLESPACE에서 볼 수 있습니다 DBA_FREE_SPACE 에서 확인가능
B. V$TABLESPACE는 테이블스페이스에 대한 컨트롤 파일에 포함된 정보를 표시합니다
C. V$TABLESPACE는 데이터 사전에 포함된 테이블스페이스에 대한 정보를 표시합니다 -- 아님
D. DBA_TABLESPACES에서 테이블스페이스 여유공간을 볼 수 있습니다 -- DBA_FREE_SPACE 에서 확인가능
E. 데이터베이스가 Mount 상태일 때 데이터 파일의 이름을 바꿀 수 있으며 데이터베이스가 열린 후 DBA_DATA_FILES를 조회할 때 새 파일 이름이 표시됩니다

 

- QUESTION 8
View the Exhibit and examine the structure of the PRODUCTS table. Which two tasks require subqueries? (Choose two.) +


A. Display the number of products whose PROD_LIST_PRICE is more than the average PROD_LIST_PRICE
B. Display suppliers whose PROD_LIST_PRICE is less than 1000
C. Display products whose PROD_MIN_PRICE is more than the average PROD_LIST_PRICE of all products, and whose status is orderable
D. Display the total number of products supplied by supplier 102 which have a product status of obsolete
E. Display the minimum PROD_LIST_PRICE for each product status
Correct Answer: AC

 

한국어 해석
그림을 보고 PRODUTS 테이블의 구조를 확인합니다. 서브 쿼리가 필요한 두 가지 작업은 무엇입니까? (2개 선택) +

A. PROD_LIST_PRICE의 평균보다 높은 PROD_LIST_PRICE만 표시   
B. PROD_LIST_PRICE가 1000 미만인 공급업체 표시
C. 모든 제품의 PROD_LIST_PRICE 평균 이상이며, 주문 가능한 상태인 PROD_MIN_PRICE 표시
D. 공급업체 102에서 공급한 총 제품 수 중 노후 제품 상태가 있는 제품 수를 표시
E. 각 상품상태별 최소 PROD_LIST_PRICE 표시

 

- QUESTION 9
Which three statements are true concerning logical and physical database structures? (Choose three.) +
A. All tablespaces may have one or more data files
B. The extents of a segment must always reside in the same datafile
C. A smallfile tablespace might be bigger than a bigfile tablespace
D. A segment can span multiple data files in some tablespaces
E. A segment's blocks can be of different sizes
F. A segment might have only one extent
G. Segments can span multiple tablespaces
Correct Answer: CDF


한국어 해석
논리적 및 물리적 데이터베이스 구조와 관련하여 다음 중 옳은 것은? (3가지를 선택하십시오.) +
A. 모든 테이블스페이스에는 하나 이상의 데이터 파일이 있을 수 있습니다  -- may가 아닌 must이여야 하는듯???
B. 세그먼트의 범위는 항상 동일한 데이터 파일에 있어야 합니다 -- 아님
C. 작은 파일 테이블 공간이 큰 파일 테이블 공간보다 클 수 있습니다
D. 세그먼트는 일부 테이블 공간에서 여러 데이터 파일에 걸쳐 있을 수 있습니다
E. 세그먼트의 블록은 크기가 다를 수 있습니다 -- 아님
F. 세그먼트에는 하나의 범위만 있을 수 있습니다
G. 세그먼트는 여러 테이블 공간에 걸쳐 있을 수 있습니다 -- 아님 1대1 매칭

 

- QUESTION 10
Which two statements are true about the DUAL table? (Choose two.) +
A. It can be accessed only by the SYS user
B. It consists of a single row and single column of VARCHAR2 data type
C. It can display multiple rows but only a single column
D. It can be used to display only constants or pseudo columns
E. It can be accessed by any user who has the SELECT privilege in any schema
F. It can display multiple rows and columns
Correct Answer: BE


한국어 해석
다음 중 DUAL 테이블에 대해 맞는 두 문장은 무엇입니까? (두 가지를 선택하십시오.) +
A. SYS 사용자만 접근할 수 있습니다 --아님
B. VARCHAR2 데이터 유형의 단일 행과 단일 열로 구성됩니다
C. 여러 행을 표시할 수 있지만 한 열만 표시 됩니다. -- 아님
D. 상수 또는 의사 컬럼 열만 표시하는 데 사용할 수 있습니다 -- 아님
E. 스키마에서 SELECT 권한을 가진 모든 사용자가 액세스할 수 있습니다
F. 여러 행과 열을 표시할 수 있습니다 -- 아님

pseudo columns 이란?
보통 의사 컬럼이라고도 하며, 가상 컬럼이라고도 표현 할 수있다.
오라클에서는 ROWNUM 이라는 것이 가장 많이 쓰인다.

 

- QUESTION 11
Which two statements are true about trace files produced by the Oracle Database server? (Choose two.) +
A. They can be written by server processes
B. Trace files are written to the Fast Recovery Area (FRA)
C. They can be written by background processes
D. All trace files contain error information that require contacting Oracle Support
E. Trace file names are based on the database name concatenated with a sequential number
Correct Answer: AC


한국어 해석
Oracle Database 서버에서 생성된 트레이스 파일에 대한 두 가지 옳은 설명은 무엇입니까? (두 가지 선택) +
A. 서버 프로세스로 작성할 수 있습니다
B. 추적 파일이 FRA(Fast Recovery Area)에 기록됩니다 --아님
C. 백그라운드 프로세스로 작성할 수 있습니다
D. 모든 추적 파일에는 Oracle Support에 문의해야 하는 오류 정보가 포함되어 있습니다 -- 아님
E. 추적 파일 이름은 일련 번호와 연결된 데이터베이스 이름을 기준으로 합니다 -- 아님

 

- QUESTION 12
Which statement is true about the INTERSECT operator used in compound queries? +
A. Multiple INTERSECT operators are not possible in the same SQL statement
B. It processes NULLs in the selected columns
C. INTERSECT is of lower precedence than UNION or UNION ALL
D. It ignores NULLs
Correct Answer: B

한국어 해석
복합 질의에 사용되는 INTERSECT 연산자에 대한 설명으로 옳은 것은? +
A. 동일한 SQL 문에 여러 개의 INTERSECT 연산자가 있을 수 없습니다
B. 선택한 열에서 NULL을 처리합니다
C. INTERSECT는 UNION 또는  UNION ALL 보다 우선순위가 낮습니다
D. NULL을 무시합니다

복합 쿼리(Compound query)란? 

여러 개의 독립적인 쿼리로 구성된 쿼리이다.
복합 쿼리는 여러 쿼리의 결과셋을 결합하기 위해 하나 이상의 집합 연산자를 사용한다.

 

집합 연산이란?

여러 쿼리의 결과셋을 결합하는 방법을 제공한다. 집합 연산을 할 때에는, 반드시 결합하려는 두 결과셋의 구조가 동일해야 한다.

결과셋의 구조가 동일해야 함은 아래의 두가지 항목을 만족함을 의미한다.

1. 두 결과셋은 같은 수의 열을 가져야 합니다.

2. 두 결과셋의 각 열은 같은 자료형을 같거나, 같도록 변환할 수 있어야 한다.

 

집합 연산에는 UNION, INTERSECT, EXCEPT가 있다.

UNION : 두 개 이상의 조회 결과에서 중복 행을 제외하고 데이터를 출력

UNION ALL:  조회결과에서 중복 행을 제거하지 않고 데이터를 출력

- QUESTION 13
Examine this command:
CREATE UNDO TABLESPACE UNDOTBS01 DATAFILE `undotbs_01.dbf' SIZE 100M AUTOEXTEND ON;

Which two actions must you take to ensure UNDOTBS01 is used as the default UNDO tablespace? (Choose two.)
A. Add the SEGMENT SPACE MANAGEMENT AUTO clause
B. Set UNDO_TABLESPACE to UNDOTBS01
C. Add the NOLOGGING clause
D. Make certain that the database operates in automatic undo management mode
E. Add the ONLINE clause
Correct Answer: BD

한국어 해석
이 명령을 검사합니다:
CREATE UNDO TABLESPACE UNDOTBS01 DATAFILE `undotbs_01.dbf' SIZE 100M AUTOEXTEND ON;

UNDOTBS01이 기본 UNDO 테이블스페이스로 사용되도록 하려면 어떤 두 가지 작업을 수행해야 합니까? (2개를 선택합니다.)
A. SEGMENT SPACE MANAGEMENT AUTO 절 추가
B. UNDO_TABLESPACE 를 UNDOTBS01로 설정
다. NOLOGGING 절 추가
D. 데이터베이스가 undo management mode 모드로 작동하게 함
E. ONLINE 절 추가

 

- QUESTION 14
Which three statements are true about advanced connection options supported by Oracle Net for connection to Oracle Database instances? (Choose three.) +
A. Connect Time Failover requires the use of Transparent Application Failover (TAF)
B. Source Routing requires the use of a name server
C. Source Routing enables the use of Connection Manager (CMAN) which enables network traffic to be routed through a firewall
D. Load Balancing can balance the number of connections to dispatchers when using a Shared Server configuration
E. Load Balancing requires the use of a name server
F. Connect Time Failover requires the connect string to have two or more listener addresses configured
Correct Answer: CDF

한국어 해석
Oracle Database 인스턴스에 대한 연결을 위해 Oracle Net에서 지원하는 고급 연결 옵션에 대해 설명한 세 가지 중 올바른 것은 무엇입니까? (3가지 선택) +
A. Connect Time Failover를 사용하려면 Transparent Application Failover(TAF)를 사용해야 합니다
B. 소스 라우팅에는 서버명을 사용해야 합니다
C. 소스 라우팅을 통해 네트워크 트래픽을 방화벽을 통해 사용할 수 있는 Connection Manager(CMAN)을 사용할 수 있습니다
D. 로드 밸런싱은 공유 서버 구성을 사용할 때 디스패처에 대한 연결 수를 균형 조정할 수 있습니다
E. 로드 밸런싱을 수행하려면 서버명을 사용해야 합니다
F. Connect Time Failover를 사용하려면 연결 문자열에 리스너 주소가 두 개 이상 구성되어 있어야 합니다

 

- QUESTION 15
Examine the description of the SALES1 table:

 

SALES2 is a table with the same description as SALES1.
Some sales data is duplicated in both tables.
You want to display the rows from the SALES1 table which are not present in the SALES2 table.
Which set operator generates the required output? +
A. INTERSECT
B. UNION ALL
C. UNION
D. SUBTRACT
E. MINUS
Correct Answer: E

 

한국어 해석
SALES1 테이블에 대한 설명을 확인합니다:

SALES2는 SALES1과 설명이 동일한 테이블입니다.
일부 판매 데이터는 두 테이블에 중복되어 있습니다.
SALES2 테이블에 없는 SALES1 테이블의 행을 표시하려고 합니다.
어떤 연산자가 필요한 출력을 생성합니까? +
A. INTERSECT
B. UNION ALL
C. UNION
D. SUBTRACT
E. MINUS

 

- QUESTION 16

Examine the description of the EMPLOYEES table:

Which query is valid? +
A. SELECT dept_id, AVG(MAX(salary)) FROM employees GROUP BY dept_id;
B. SELECT dept_id, join_date, SUM(salary) FROM employees GROUP BY dept_id;
C. SELECT dept_id, join_date, SUM(salary) FROM employees GROUP BY dept_id, join_date;
D. SELECT dept_id, MAX(AVG(salary)) FROM employees GROUP BY dept_id;
Correct Answer: C

 

- QUESTION 17
In your data center, Oracle Managed Files (OMF) is used for all databases.
All tablespaces are smallfile tablespaces.
SALES_Q1 is a permanent user-defined tablespace in the SALES database.

Examine this command which is about to be issued by a DBA logged in to the SALES database:
ALTER TABLESPACE sales_q1 ADD DATAFILE;

Which are two actions, either one of which you could take to ensure that the command executes successfully? (Choose two.) +

A. Ensure that DB_RECOVERY_FILE_DEST and DB_CREATE_FILE_DEST each specify with at least 50 Mb of available space.
B. Specify a path in the DATAFILE clause of the command specifying a location with at least 100M of available space.
C. Ensure that DB_CREATE_FILE_DEST specifies a location with at least 100 Mb of available space.
D. Add the AUTOEXTEND ON clause with NEXT set to 100M.
E. Ensure that DB_RECOVERY_FILE_DEST and DB_CREATE_FILE_DEST each specify locations with at least 50 Mb of available space.
Correct Answer: BC

 

한국어 해석
데이터 센터에서는 모든 데이터베이스에 대해 오라클 관리 파일(OMF)이 사용됩니다.
모든 테이블스페이스는 smallfile 테이블스페이스입니다.
SALES_Q1은 SALES 데이터베이스의 영구적인 사용자 정의 테이블스페이스입니다.

SALES 데이터베이스에 로그인한 DBA가 실행하려고 하는 이 명령을 조사합니다:
ALTER TABLESPACE sales_q1 ADD DATAFILE;

명령이 성공적으로 실행되도록 하기 위해 수행할 수 있는 두 가지 동작 중 어느 것이 있습니까? (두 가지를 선택하십시오.) +

A. DB_RECOVERY_FILE_DEST와 DB_CREATE_FILE_DEST가 각각 50Mb 이상의 사용 가능한 공간을 지정해야 합니다.
B. 사용 가능한 공간이 100M 이상인 위치를 지정하는 명령의 DATAFILE 절에서 경로를 지정합니다.
C. DB_CREATE_FILE_DEST가 사용 가능한 공간이 100Mb 이상인 위치를 지정하는지 확인합니다.
D. NEXT가 100M으로 설정된 AUTOEXTENDON 절을 추가합니다.
E. DB_RECOVERY_FILE_DEST와 DB_CREATE_FILE_DEST가 각각 50Mb 이상의 사용 가능한 공간으로 위치를 지정해야 합니다.

 

- QUESTION 18
Which two types of files are opened by a database instance in the NOMOUNT state?
A. control files
B. the alert log
C. the initialization parameter file
D. data files
E. online redo logs
Correct Answer: BC


한국어 해석
NOMOUNT 상태의 데이터베이스 인스턴스가 여는 두 가지 유형의 파일은 무엇입니까?
A. control files
B. the alert log
C. the initialization parameter file
D. data files
E. online redo logs

 

- QUESTION 19
Which three statements are true about Oracle synonyms? (Choose three.) +
A. A synonym cannot be created for a PL/SQL package
B. A synonym can be available to all users
C. A SEQUENCE can have a synonym
D. A synonym created by one user can refer to an object belonging to another user
E. Any user can drop a PUBLIC synonym
Correct Answer: BCD


한국어 해석
Oracle synonyms에 대한 세 가지 설명 중 옳은 것은 무엇입니까? (3가지 선택) +
A. PL/SQL 패키지에 대해 synonyms를 만들 수 없습니다
B. synonyms는 모든 사용자가 사용할 수 있습니다
C. SEQUENCE는 synonym를 가질 수 있습니다
D. 한 유저에 의하여 작성된 synonym는 다른 유저에 속하는 object를 참조 할 수 있게한다
E. 모든 유저는 PUBLIC synonym를 삭제할 수 있습니다

 

- QUESTION 20
Which two statements are true regarding Oracle database space management within blocks managed by Automatic Segment Space Management (ASSM)? (Choose two.) +
A. PCTFREE defaults to 10% for all blocks in all segments for all compression methods
B. ASSM assigns blocks to one of four fullness categories based on what percentage of the block is allocated for rows
C. Update operations always attempt to find blocks with free space appropriate to the length of the row being updated
D. Insert operations always attempt to find blocks with free space appropriate to the length of the row being inserted
E. A block will always be eligible for inserts if the row is short enough to fit into the block 
Correct Answer: BD

한국어 해석
ASSM(Automatic Segment Space Management)으로 관리되는 블록의 오라클 데이터베이스 공간 관리에 관한 다음 두 가지 설명은 무엇입니까? (2가지 선택) +
A. 모든 압축 방법에 대해 모든 세그먼트의 모든 블록에 대해 기본적으로 PCTFREE는 10%로 설정됩니다
B. ASSM은 행에 할당된 블록의 비율을 기준으로 4개의 완전성 범주 중 하나에 블록을 할당합니다
C. 업데이트 작업은 항상 업데이트되는 행의 길이에 적합한 빈 공간이 있는 블록을 찾으려고 시도합니다
D. 삽입 작업은 항상 삽입되는 행의 길이에 맞는 빈 공간이 있는 블록을 찾으려고 시도합니다
E. 행이 블록에 들어갈 수 있을 정도로 짧으면 블록은 항상 삽입 대상이 됩니다

 

- QUESTION 21
Which three statements are true about the Oracle join and ANSI join syntax? (Choose three.) +
A. The Oracle join syntax supports creation of a Cartesian product of two tables
B. The Oracle join syntax performs better than the SQL:1999 compliant ANSI join syntax
C. The SQL:1999 compliant ANSI join syntax supports natural joins
D. The SQL:1999 compliant ANSI join syntax supports creation of a Cartesian product of two tables
E. The Oracle join syntax only supports right outer joins
F. The Oracle join syntax supports natural joins
G. The Oracle join syntax performs less well than the SQL:1999 compliant ANSI join syntax
Correct Answer: ACD

한국어 해석
Oracle join 및 ANSI join 구문에 대해 맞는 세 가지 문장은 무엇입니까? (3가지 선택) +
A. Oracle join 구문은 두 개의 테이블로 구성된 데카르트 곱 생성을 지원합니다
B. Oracle 조인 구문은 SQL:1999 호환 ANSI 조인 구문보다 성능이 뛰어납니다
C. SQL:1999 호환 ANSI 조인 구문은 natural 조인을 지원합니다
D. SQL:1999 호환 ANSI join 구문은 두 테이블의 데카르트 곱 생성을 지원합니다
E. Oracle 조인 구문은 right outer 조인만 지원합니다
F. Oracle 조인 구문은 natural 조인을 지원합니다
G. Oracle 조인 구문이 SQL:1999 호환 ANSI 조인 구문보다 성능이 떨어짐

데카르트 곱(Cartesian product) 
예를 들어, 집합 A가 {x, y, z} 이고 집합 B가 {1, 2, 3} 으로 구성되어 있으면 둘의 데카르트 곱은 아래와 같이 시각적으로 표현될 수 있으며 따라서 3 × 3 = 9 가지의 순서쌍들이 나오게 됩니다.

조인 참고 자료
https://gent.tistory.com/469

 

[Oracle] 오라클 조인 방법 쉽게 설명 (ANSI JOIN, Oracle Join)

오라클에서 조인을 할 때 오라클 조인(Oracle Join)과 안시 조인(ANSI JOIN)을 사용할 수 있다. 오라클 9i 까지는 오라클 조인만 사용할 수 있으며, 오라클 10g부터는 안시 조인을 추가로 사용할 수 있다.

gent.tistory.com

 

- QUESTION 22
You execute this command:
CREATE SMALLFILE TABLESPACE sales DATAFILE `/u01/app/oracle/sales01.dbf SIZE 5G SEGMENT SPACE MANAGEMENT AUTO;

Which two statements are true about the SALES tablespace? (Choose two.) +
A. It must be smaller than the smallest BIGFILE tablespace
B. Free space is managed using freelists
C. Any data files added to the tablespace must have a size of 5 gigabytes
D. It uses the database default blocksize
E. It is a locally managed tablespace
Correct Answer: DE

한국어 해석
다음 명령을 실행합니다:
CREATE SMALLFILE TABLESPACE sales DATAFILE `/u01/app/oracle/sales01.dbf SIZE 5G SEGMENT SPACE MANAGEMENT AUTO;

SALES 테이블스페이스에 대한 설명으로 옳은 것은? (두 가지를 선택하십시오.) +
A. 가장 작은 BIGFILE 테이블스페이스보다 작아야 합니다
B. 프리리스트를 사용하여 여유 공간을 관리합니다
C. 테이블스페이스에 추가된 모든 데이터 파일은 5기가바이트의 크기를 가져야 합니다
D. 데이터베이스 기본 블록 크기를 사용합니다
E. 로컬에서 관리되는 테이블스페이스입니다

 

- QUESTION 23
Which two statements are true about single row functions? (Choose two.) +
A. MOD : returns the quotient of a division operation
B. FLOOR : returns the smallest integer greater than or equal to a specified number
C. TRUNC : can be used with NUMBER and DATE values
D. CONCAT : can be used to combine any number of values
E. CEIL : can be used for positive and negative numbers
Correct Answer: CE


한국어 해석
단행 함수에 관한 다음 두 문장 중 옳은 것은 무엇입니까? (두 가지를 선택하십시오.) +
A. MOD : 나눗셈 연산의 몫을 반환합니다  -- 나머지를 반환
B. FLOOR : 지정된 숫자 이상의 최소 정수를 반환합니다   -- 소수점 아래로버리고 가장 큰 정수값을 반환 
C. TRUNC : NUMBER 및 DATE 값과 함께 사용할 수 있습니다
D. CONCAT : 임의의 수의 값을 결합하는 데 사용할 수 있습니다   -- 문자열 결합시 사용
E. CEIL : 양수 및 음수에 사용할 수 있습니다

CEIL, FLOOR 함수 참고자료
https://gent.tistory.com/483

 

[Oracle] 소수점 올림, 내림 방법 (CEIL, FLOOR)

오라클에서 소수점 값을 올리거나 내려서 정수를 변환하기 위해서는 CEIL, FLOOR 함수를 사용한다. CEIL 함수는 지정한 값에 소수점이 있는 경우 무조건 올려서 다음 정수 값을 반환한다. FLOOR 함수

gent.tistory.com

 

- QUESTION 24
Which three statements are true about time zones, date data types, and timestamp data types in an Oracle database? (Choose three.) +
A. The CURRENT_TIMESTAMP function returns data without time zone information
B. A TIMESTAMP WITH LOCAL TIMEZONE data type column is stored in the database using the time zone of the session that inserted the row
C. A TIMESTAMP data type column contains information about year, month, and day
D. The DBTIMEZONE function can return an offset from Universal Coordinated Time (UTC)
E. The SESSIONTIMEZONE function can return an offset from Universal Coordinated Time (UTC)
Correct Answer: BDE

한국어 해석
Oracle 데이터베이스의 time zones, 날짜 데이터 유형 및 타임스탬프 데이터 유형에 대한 세 가지 설명은 무엇입니까? (3가지 선택) +
A. CURRENT_TIMESTAMP 함수는 time zone 정보 없이 데이터를 반환합니다
B. 행을 삽입한 세션의 시간대를 이용하여 데이터베이스에 LOCAL TimeZone 데이터 타입의 TIMESTAMP를 저장합니다
C. TIMESTAMP 데이터 유형 열에는 연도, 월, 일 정보가 포함되어 있습니다
D. DBTIMEZONE 함수는 UTC(Universal Coordinated Time)에서 오프셋을 반환할 수 있습니다
E. SESSIONTIMEZONE 함수는 UTC(Universal Coordinated Time)에서 오프셋을 반환할 수 있습니다

CURRENT_DATE : 현재 세션의 시간대(time zone)를 기준으로 현재 날짜 정보를 Date 데이터 형으로 반환한다.
CURRENT_TIMESTAMP : 현재 session의 시간대를 기준으로 현재 날짜와 시간 정보를 반환한다.
DBTIMEZONE : 데이터 베이스의 시간대(time zone)의 정보를 반환한다.
LOCALTIMESTAMP : 세션 시간대의 현재 날짜와 시각을 timestamp 데이터 유형의 형태로 출력한다.
SYSTIMESTAMP : 데이터 베이스가 설치된 시스템의 fractional 초와 시간대를 포함한 시스템의 날짜를 반환한다.

GMT(Greenwich Mean Time)
영국 런던에 소재한 그리니치 천문대를 기준
런던이 0:00 시라면, 파리 GMT+1는 1:00시가 됩니다. 서울 또는 도쿄는 9:00시

UTC(Universal Coordinated Time)
GMT와 UTC의 시간 차이는 거의 없음
1972년 1월 1일부터 GMT 대신 UTC를 공식 표현으로 사용, 하지만 영국 등 아직도 GMT란 표현이 쓰임

 

- QUESTION 25
Examine these commands:

 

Which two statements are true about the sqlldr execution? (Choose two.) +
A. It overwrites data in EMP with data in EMP.DAT
B. It uses the database buffer cache to load data
C. It generates a log that contains control file entries, which can be used with normal SQL*Loader operations
D. It generates a sql script that it uses to load data from EMP.DAT to EMP
E. It appends data from EMP.DAT to EMP
Correct Answer: CE

 

한국어 해석
다음 중 sqlldr 실행에 관한 두 문장은 무엇입니까? (2개를 선택하십시오.) +
A. EMP의 데이터를 EMP.DAT의 데이터로 덮어씁니다
B. 데이터베이스 버퍼 캐시를 사용하여 데이터를 로드합니다
C. 일반 SQL*Loader 작업에서 사용할 수 있는 컨트롤 파일 항목이 포함된 로그를 생성합니다
D. EMP.DAT에서 EMP로 데이터를 로드하는 데 사용하는 sql 스크립트를 생성합니다
E. EMP.DAT의 데이터를 EMP에 추가합니다

 

- QUESTION 26
You have been tasked to create a table for a banking application.
One of the columns must meet three requirements:
1. Be stored in a format supporting date arithmetic without using conversion functions
2. Store a loan period of up to 10 years
3. Be used for calculating interest for the number of days the loan remains unpaid Which data type should you use? +

A. INTERVAL YEAR TO MONTH
B. INTERVAL DAY TO SECOND
C. TIMESTAMP WITH LOCAL TIMEZONE
D. TIMESTAMP
E. TIMESTAMP WITH TIMEZONE
Correct Answer: B

한국어 해석
은행 응용 프로그램을 위한 테이블을 만드는 임무를 맡았습니다.
컬럼들 중 하나는 다음 세 가지 요구 사항을 충족해야 합니다:
1. 변환 함수를 사용하지 않고 날짜 연산을 지원하는 형식으로 저장
2. 최대 10년의 대출 기간 저장
3. 대출금 미지급일수 이자 계산에 사용됩니다. 어떤 데이터 유형을 사용해야 합니까? +

A. 1년에서 1개월까지의 간격
B. 하루에서 초까지의 간격
C. 현지 시간대를 사용한 타임스탬프
D. 타임스탬프
E. 표준 시간대를 포함한 타임스탬프

 

- QUESTION 27
You want to apply the principle of Least Privilege in all your live databases.
One of your requirements is to revoke unnecessary privileges from all users who have them using Privilege Analysis.
Which three types of analyses can be done using the DBMS_PRIVILEGE_CAPTURE package? (Choose three.) +
A. analysis of all privileges used by all users including administrative users in the database
B. analysis of all privileges used by all users but excluding administrative users in the database
C. analysis of privileges that a user has on their own schema objects that they did not use
D. analysis of privileges that a user has on their own schema objects that they did use
E. analysis of privileges granted directly to a role that are then used by a user who has been granted that role
F. analysis of privileges granted indirectly to a role that are then used by a user who has been granted that role
Correct Answer: CDF


한국어 해석
모든 실시간 데이터베이스에 최소 권한 원칙을 적용하려고 합니다.
사용자의 요구 사항 중 하나는 권한 분석을 사용하여 권한을 가진 모든 유저의 불필요한 권한을 취소하는 것입니다.
DBMS_PRIVALGE_CAPTURE 패키지를 사용하여 수행할 수 있는 세 가지 유형의 분석은 무엇입니까? (선택 3) +
A. 데이터베이스에서 관리자를 포함한 모든 유저가 사용하는 모든 권한 분석
B. 데이터베이스에서 관리자를 제외한 모든 유저가 사용하는 모든 권한 분석
C. 사용자가 사용하지 않은 자신의 스키마 개체에 대해 가지는 권한 분석
D. 사용자가 사용하는 자신의 스키마 개체에 대해 가지는 권한 분석
E. 역할에 직접 부여된 권한을 해당 역할이 부여된 사용자가 사용하는 권한 분석
F. 역할에 간접적으로 부여된 권한을 해당 역할이 부여된 사용자가 사용하는 권한 분석

 

- QUESTION 28
A user complains about poor database performance.
You suspect that the user's session is waiting for an event to complete. You want to verify this.
Which two views may reveal for what the user's session is currently waiting? (Choose two.)
A. V$SYSTEM_EVENT
B. V$SESSION_EVENT
C. V$SESSION_WAIT_CLASS
D. V$SESSION_WAIT
E. V$SESSION
Correct Answer: BD

한국어 해석
사용자가 데이터베이스 성능이 좋지 않다고 불평합니다.
사용자 세션에서 이벤트가 완료되기를 기다리고 있는 것으로 의심됩니다. 이를 확인하려고 합니다.
현재 사용자의 세션이 무엇을 위해 대기하고 있는지 알 수 있는 두 가지 보기는 무엇입니까? (두 가지를 선택하십시오.)
A. V$SYSTEM_EVENT
B. V$SESSION_EVENT
C. V$SESSION_WAIT_CLASS
D. V$SESSION_WAIT
E. V$SESSION

 

- QUESTION 29
Evaluate these commands which execute successfully:

 

Which two statements are true about the ORD_ITEMS table and the ORD_SEQ sequence? (Choose two.) +
A. If sequence ORD_SEQ is dropped then the default value for column ORD_NO will be NULL for rows inserted into ORD_ITEMS
B. Any user inserting rows into table ORD_ITEMS must have been granted access to sequence ORD_SEQ
C. Column ORD_NO gets the next number from sequence ORD_SEQ whenever a row is inserted into ORD_ITEMS and no explicit value is given for ORD_NO
D. Sequence ORD_SEQ cycles back to 1 after every 5000 numbers and can cycle 20 times
E. Sequence ORD_SEQ is guaranteed not to generate duplicate numbers
Correct Answer: BC

한국어 해석
성공적으로 실행되는 다음 명령을 평가합니다:

ORD_ITEMS 테이블과 ORD_SEQ 시퀀스에 대해 맞는 두 문장은 무엇입니까? (2개 선택) +
A. 시퀀스 ORD_SEQ가 삭제되면 ORD_ITEMS에 삽입된 행에 대해 ORD_NO의 기본값은 NULL이 됩니다
B. ORD_ITEMS 테이블에 행을 삽입하는 사용자에게는 시퀀스 ORD_SEQ에 대한 액세스 권한이 부여되어 있어야 합니다
C. 열 ORD_NO는 ORD_ITEMS에 행이 삽입될 때마다 시퀀스 ORD_SEQ에서 다음 번호를 가져오며 ORD_NO에 대한 명시적인 값이 주어지지 않습니다
D. Sequence ORD_SEQ는 5000개의 숫자가 나올 때마다 다시 1로 순환하며 20번 순환할 수 있습니다
E. 시퀀스 ORD_SEQ는 중복된 숫자를 생성하지 않도록 보장됩니다

 

- QUESTION 30
The SALES_Q1 and USERS tablespaces exist in one of your databases and TEMP is a temporary tablespace.
Segment creation is not deferred. You execute this command:

Which three statements must be true so that the SALES user can create tables in SALES_Q1? (Choose three.) +
A. The sales user must have a quota on the TEMP tablespace
B. The sales user must have a quota on the SALES_Q1 tablespace to hold the initial extends of all tables they plan to create in their schema
C. The sales user must have been granted the CREATE SESSION privilege
D. The sales user must have their quota on the users tablespace removed
E. The sales user must have a quota on the SALES_Q1 tablespace to hold all the rows to be inserted into any table in their schema
F. The sales user must have been granted the CREATE TABLE privilege
Correct Answer: BCF

 

한국어 해석
SALES_Q1 및 User 테이블스페이스는 데이터베이스 중 하나에 존재하며 TEMP는 임시테이블스페이스 입니다.
세그먼트 생성이 지연되지 않습니다. 다음 명령을 실행합니다:

SALES 사용자가 SALES_Q1에서 테이블을 만들 수 있도록 하려면 다음 중 참이어야 하는 세 가지 문장은 무엇입니까? (3가지를 선택하십시오.) +
A. 판매 사용자는 TEMP 테이블 공간에 할당량이 있어야 합니다
B. SALES_Q1 테이블 공간에 할당량이 있어야 스키마에 생성할 모든 테이블의 초기 확장을 유지할 수 있습니다
C. 판매 사용자에게 CREATE SESSION 권한이 부여되어 있어야 합니다
D. 판매 사용자는 사용자 테이블 공간의 할당량을 제거해야 합니다
E. SALES_Q1 테이블 공간에 할당량이 있어야 스키마의 모든 테이블에 삽입할 모든 행을 보관할 수 있습니다
F. 판매 사용자에게 CREATE TABLE 권한이 부여되어 있어야 합니다

 

- QUESTION 31
Which three statements are true about the DESCRIBE command? (Choose three.) +
A. It displays the PRIMARY KEY constraint for any column or columns that have that constraint
B. It can be used from SQL Developer
C. It displays the NOT NULL constraint for any columns that have that constraint
D. It can be used to display the structure of an existing view
E. It displays all constraints that are defined for each column
F. It can be used only from SQL*Plus
Correct Answer: BCD

한국어 해석
다음 중 DESCRIBE 명령어에 대한 세 가지 설명에 해당하는 것은 무엇입니까? (3가지를 선택하십시오.) +
A. 제약 조건이 있는 모든 열 또는 열에 대한 기본 키 제약 조건이 표시됩니다
B. SQL Developer에서 사용할 수 있습니다
C. 제약 조건이 있는 열에 대해 NOT NULL 제약 조건을 표시합니다
D. 기존 뷰의 구조를 표시하는 데 사용할 수 있습니다
E. 각 열에 대해 정의된 모든 제약 조건이 표시됩니다
F. SQL*Plus에서만 사용할 수 있습니다

 

- QUESTION 32
A database is configured to use automatic undo management with temporary undo enabled.
An UPDATE is executed on a temporary table.
Where is the UNDO stored? +
A. in the undo tablespace
B. in the SYSAUX tablespace
C. in the SGA
D. in the PGA
E. in the temporary tablespace
Correct Answer: E

한국어 해석
데이터베이스는 임시 undo가 활성화된 상태에서 자동 undo 관리를 사용하도록 구성됩니다.
임시 테이블에서 UPDATE가 실행됩니다.
UNDO는 어디에 저장되어 있습니까? +
A. UNDO 테이블스페이스에서
B. SYSAUX 테이블스페이스에서
C. SGA에서
D. PGA에서 
E. 임시 테이블스페이스에서

- QUESTION 33
Which three statements are true regarding indexes? (Choose three.) +
A. A UNIQUE index can be altered to be non-unique
B. A SELECT statement can access one or more indices without accessing any tables
C. A table belonging to one user can have an index that belongs to a different user
D. An update to a table can result in updates to any or all of the table's indexes
E. When a table is dropped and is moved to the RECYCLE BIN, all indexes built on that table are permanently dropped
F. An update to a table can result in no updates to any of the table's indexes
Correct Answer: BDF


한국어 해석
인덱스와 관련하여 맞는 세 가지 문장은 무엇입니까? (세 가지를 선택하십시오.) +
A. 유니크 인덱스는 비 유니크하게 변경될 수 있습니다
B. SELECT 문은 테이블에 액세스하지 않고 하나 이상의 인덱스에 액세스할 수 있습니다
C. 한 사용자에 속하는 테이블은 다른 사용자에 속하는 인덱스를 가질 수 있습니다
D. 테이블에 대한 업데이트는 테이블의 인덱스 중 일부 또는 전부에 대한 업데이트를 초래할 수 있습니다
E. 테이블이 삭제되고 RECYLE BIN으로 이동되면 해당 테이블에 작성된 모든 인덱스가 영구적으로 삭제됩니다
F. 테이블을 업데이트하면 테이블 인덱스가 업데이트되지 않을 수 있습니다

 

- QUESTION 34
Examine this SQL statement:
SELECT cust_id, cust_last_name "Last Name" FROM customers WHERE country_id = 10
UNION
SELECT cust_id CUST_NO, cust_last_name FROM customers WHERE country_id = 30

Identify three ORDER BY clauses, any one of which can complete the query successfully. (Choose three.) +
A. ORDER BY "Last Name"
B. ORDER BY 2, 1
C. ORDER BY 2, cust_id
D. ORDER BY CUST_NO
E. ORDER BY "CUST_NO"
Correct Answer: ABC

한국어 해석
다음 SQL 문을 조사합니다:
SELECT cust_id, cust_last_name "Last Name" FROM customers WHERE country_id = 10
UNION
SELECT cust_id CUST_NO, cust_last_name FROM customers WHERE country_id = 30

ORDER BY 절 3개를 식별하고, 그 중 어느 하나라도 쿼리를 성공적으로 완료할 수 있습니다. (3개를 선택하십시오.) +
A. ORDER BY "Last Name"
B. ORDER BY 2, 1
C. ORDER BY 2, cust_id
D. ORDER BY CUST_NO
E. ORDER BY "CUST_NO"

 

- QUESTION 35
Which two are true about complete and incomplete recovery? (Choose two.)
A. Uncommitted transactions will be rolled back after complete recovery completes.
B. The database must have FLASHBACK enabled in order to perform incomplete recovery.
C. Uncommitted transactions will be rolled back after incomplete recovery completes.
D. Incomplete recovery is possible only when the database is open.
E. Only incremental backups can be used to roll forward the database while performing complete recovery.
Correct Answer: AE

한국어 해석
다음 중 완전 복구와 불완전 복구에 대한 두 가지 설명에 해당하는 것은 무엇입니까? (두 가지를 선택하십시오.)
A. 커밋되지 않은 트랜잭션은 복구가 완료된 후 롤백됩니다.
B. 불완전한 복구를 수행하려면 데이터베이스에 FLASHBACK이 활성화되어 있어야 합니다.
C. 커밋되지 않은 트랜잭션은 불완전한 복구가 완료된 후 롤백됩니다.
D. 데이터베이스가 열려 있을 때만 불완전한 복구가 가능합니다.
E. 완전한 복구를 수행하는 동안 데이터베이스를 롤포워드하는 데는 증분 백업만 사용할 수 있습니다.

 

- QUESTION 36
Which two are true about RETENTION GUARANTEE? (Choose two.)
A. It is a tablespace attribute.
B. It prevents FLASHBACK DATABASE operation failure.
C. It prevents out-of-space errors.
D. It prevents "Snapshot too old" errors.
E. It is a static parameter.
Correct Answer: AB

한국어 해석
RETENTION GUARANTEE 대한 설명으로 맞는 두 가지는 무엇입니까? (두 가지를 선택하십시오.)
A. 테이블스페이스 속성입니다.
B. 플래시백 데이터베이스 작업 실패를 방지합니다.
C. out-of-space 에러를 방지합니다.
D. "Snapshot too old" 에러를 방지합니다.    -- 정답이 왜 아닌지??  의문... 
E. 정적 파라미터입니다.

 

- QUESTION 37
Which is true about security rules on a compute node?
A. The port used for HTTPS connections is enabled by default based on a predefined security rule.
B. A security rule can restrict IP addresses that can connect to a database instance on a compute node.
C. A new database deployment on a compute node automatically enables a set of predefined security rules.
D. New security rules can be defined to use only the TCP protocol but multiple port numbers.
E. A compute node port can be enabled only if it is associated with an existing security rule.
Correct Answer: C

한국어 해석
compute node의 보안 규칙에 대한 설명으로 맞는 것은?
A. HTTPS 연결에 사용되는 포트는 미리 정의된 보안 규칙에 따라 기본적으로 활성화됩니다.
B. 보안 규칙은 compute node의 데이터베이스 인스턴스에 연결할 수 있는 IP 주소를 제한할 수 있습니다.
C. compute node에 데이터베이스를 새로 배포하면 미리 정의된 보안 규칙 집합이 자동으로 실행됩니다.
D. TCP 프로토콜만 사용하고 여러 포트 번호를 사용하도록 새로운 보안 규칙을 정의할 수 있습니다.
E. compute node 포트는 기존 보안 규칙과 연결된 경우에만 사용할 수 있습니다.

참고
https://docs.oracle.com/cd/E69402_01/html/E62830/computecfg.html

 

Compute 노드를 구성하는 방법 - Oracle® Solaris에서 OpenStack(Juno) 설치 및 구성

다음 명령을 실행합니다. controller# mysql -u root -p Enter password: MySQL-root-password mysql> grant all privileges on nova.* to 'nova'@'nova-compute' identified by 'service-password'; mysql> flush privileges mysql> quit 여기서 nova-compute

docs.oracle.com

 

- QUESTION 38
Which three are true about the Oracle Optimizer? (Choose three.)
A. It determines the optimal table join order and method.
B. It generates execution plans for SQL statements based on relevant schema objects, system and session parameters, and information found in the Data Dictionary.
C. It can optimize only SELECT statements.
D. It will only generate SQL Plan Directives specific to a given SQL statement.
E. It can re-optimize execution plans after previous executions detect suboptimal plans.
F. It updates stale object statistics in the Data Dictionary.
Correct Answer: ABC

한국어 해석
Oracle Optimizer에 대한 세 가지 설명 중 올바른 것은 무엇입니까? (세 가지를 선택하십시오.)
A. 최적의 테이블 조인 순서 및 방법을 결정합니다.
B. 관련 스키마 객체, 시스템 및 세션 파라미터, Data Dictionary에 있는 정보를 기반으로 SQL 문에 대한 실행 계획을 생성합니다.
C. SELECT 문만 최적화할 수 있습니다.
D. 지정된 SQL 문에만 해당하는 SQL Plan Directives를 생성합니다.
E. 이전 실행에서 최적이 아닌 계획을 탐지한 후 실행 계획을 다시 최적화할 수 있습니다.
F. 데이터 사전의 오래된 개체 통계를 업데이트합니다.

 

- QUESTION 39

Examine the description of the CUSTOMERS table:

 

For customers whose income level has a value, you want to display the first name and due amount as 5% of their credit limit.
Customers whose due amount is null should not be displayed.
Which query should be used? +
A. SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMOUNT FROM customers WHERE cust_income_level IS NOT NULL AND due_amount IS NOT NULL;
B. SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMOUNT FROM customers WHERE cust_income_level != NULL AND cust_credit_level !=NULL;
C. SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMOUNT FROM customers WHERE cust_income_level <> NULL AND due_amount <> NULL;
D. SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMOUNT FROM customers WHERE cust_income_level != NULL AND due_amount != NULL;
E. SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMOUNT FROM customers WHERE cust_income_level IS NOT NULL AND cust_credit_limit IS NOT NULL;
Correct Answer: E

 

한국어 해석
income level에 값이 있는 고객의 경우 first name과 credit limit의 5%로 표시하려고 합니다.
due amount가 null인 고객은 표시하면 안 됩니다.
어떤 쿼리를 사용해야 합니까? +
A. SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMOUNT FROM customers WHERE cust_income_level IS NOT NULL AND due_amount IS NOT NULL;
B. SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMOUNT FROM customers WHERE cust_income_level != NULL AND cust_credit_level !=NULL;
C. SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMOUNT FROM customers WHERE cust_income_level <> NULL AND due_amount <> NULL;
D. SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMOUNT FROM customers WHERE cust_income_level != NULL AND due_amount != NULL;
E. SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMOUNT FROM customers WHERE cust_income_level IS NOT NULL AND cust_credit_limit IS NOT NULL;

 

- QUESTION 40
What two are benefits of Data Pump? (Choose two.)
A. It can execute in parallel.
B. It can restart failed export jobs.
C. It makes use of client system resources.
D. It can export data into sequential media, such as tapes.
E. It represents database metadata information as DDL statements in the dump file.
Correct Answer: AB

한국어 해석
Data Pump의 두 가지 이점은 무엇입니까? (두 가지를 선택하십시오.)
A. 병렬로 실행할 수 있습니다.
B. 실패한 내보내기 작업을 다시 시작할 수 있습니다.
C. 클라이언트 시스템 리소스를 활용합니다.
D. 테이프와 같은 순차 미디어로 데이터를 내보낼 수 있습니다.
E. 덤프 파일에서 DDL 문으로 데이터베이스 메타데이터 정보를 나타냅니다.

 

- QUESTION 41
What is true about non-equijoin statement performance? (Choose two.) +
A. Table aliases can improve performance
B. The BETWEEN condition always performs better than using the >= and <= conditions
C. The join syntax used makes no difference to performance
D. The BETWEEN condition always performs less well than using the >= and <= conditions
E. The Oracle join syntax performs better than the SQL:1999 compliant ANSI join syntax
Correct Answer: AC

한국어 해석
부등식 문 성능에 대한 설명으로 옳은 것은? (2개 선택) +
A. 테이블 별칭을 사용하면 성능을 향상시킬 수 있습니다
B. BETWEEN 조건은 >= 및 <= 조건을 사용하는 것보다 항상 성능이 뛰어납니다
C. 사용된 조인 구문은 성능에 차이가 없습니다
D. BETWEEN 조건은 >= 및 <= 조건을 사용하는 것보다 항상 성능이 떨어집니다
E. Oracle 조인 구문은 ANSI 조인 구문보다 SQL:1999 호환이 성능이 뛰어납니다

 

- QUESTION 42
Which three functions are performed by dispatchers in a shared server configuration? (Choose three.)
A. writing inbound request to the common request queue from all shared server connections
B. checking for outbound shared server responses on the common outbound response queue
C. receiving inbound requests from processes using shared server connections
D. sending each connection input request to the appropriate shared server input queue
E. broadcasting shared server session responses back to requesters on all connections
F. sending shared server session responses back to requesters on the appropriate connection
Correct Answer: ACF

한국어 해석
공유 서버 구성에서 디스패치가 수행하는 세 가지 기능은 무엇입니까? (세 가지를 선택하십시오.)
A. 모든 공유 서버 연결에서 공통 요청 대기열에 인바운드 요청 작성
B. 공통 아웃바운드 응답 대기열에서 아웃바운드 공유 서버 응답 확인
C. 공유 서버 연결을 사용하여 프로세스로부터 인바운드 요청 수신
D. 각 연결 입력 요청을 해당 공유 서버 입력 대기열로 전송
E. 모든 연결에 대한 요청자에 대한 공유 서버 세션 응답 방송
F. 공유 서버 세션 응답을 해당 연결의 요청자에게 다시 보내기

 

- QUESTION 43
You want to use table compression suitable for OLTP that will:
1. Compress rows for all DML statements on that table
2. Minimize the overheads associated with compression Which compression option is best suited for this? +

A. COLUMN STORE COMPRESS FOR QUERY LOW
B. ROW STORE COMPRESS BASIC
C. COLUMN STORE COMPRESS FOR ARCHIVE LOW
D. COLUMN STORE COMPRESS FOR ARCHIVE HIGH
E. ROW STORE COMPRESS ADVANCED
Correct Answer: E

한국어 해석
OLTP에 적합한 테이블 압축을 사용하려면 다음을 수행해야 합니다:
1. 해당 테이블의 모든 DML 문에 대한 행 압축
2. 압축과 관련된 오버헤드 최소화 이에 가장 적합한 압축 옵션은 무엇입니까? +

A. 쿼리 로우를 위한 컬럼 스토어 압축기
B. 행 보관소 압축 기본
C. 아카이브 로우용 칼럼 스토어 압축기
D. 아카이브 하이를 위한 칼럼 스토어 압축기
E. 행 저장소 압축 고급

 

- QUESTION 44
Which two statements are true about date/time functions in a session where NLS_DATE_FORMAT is set to DD-MON-YYYY HH24:MI:SS? (Choose two.) +
A. CURRENT_TIMESTAMP returns the same date and time as SYSDATE with additional details of fractional seconds
B. SYSDATE can be queried only from the DUAL table
C. CURRENT_DATE returns the current date and time as per the session time zone
D. SYSDATE can be used in expressions only if the default date format is DD-MON-RR
E. SYSDATE and CURRENT_DATE return the current date and time set for the operating system of the database server
F. CURRENT_TIMESTAMP returns the same date as CURRENT_DATE
Correct Answer: CF

한국어 해석
NLS_DATE_FORMAT가 DD-MON-YYY HH24:MI:SS로 설정된 세션에서 날짜/시간 함수에 대해 맞는 두 문장은 무엇입니까? (2개 선택) +
A. Current_TIMESTAMP는 SYSDATE와 동일한 날짜와 시간을 반환하며, 추가적인 세부 정보(분수초)를 포함합니다
B. DUAL 테이블에서만 SYSDATE 조회 가능
C. CURRENT_DATE 세션 시간대에 따라 현재 날짜와 시간을 반환합니다
D. SYSDATE는 기본 날짜 형식이 DD-MON-RR인 경우에만 식에 사용할 수 있습니다
E. SYSDATE 및 CURREENT_DATE는 데이터베이스 서버의 운영 체제에 설정된 현재 날짜 및 시간을 반환합니다
F. CURRENT_TIMESTAMP는 CURRENT_DATE와 동일한 날짜를 반환합니다

 

- QUESTION 45
Which statement is true about smallfile tablespaces?
A. Extent location metadata is stored in the data dictionary by default.
B. The number of data files is constrained only by the size of the storage array.
C. Maximum file size can be set to unlimited only if the logical volume manager supports striping.
D. Segments can span multiple tablespaces.
E. Segments can span multiple data files.
Correct Answer: E

한국어 해석
smallfile 테이블스페이스에 대해 맞는 설명은 무엇입니까?
A. 익스텐트 위치 메타데이터는 기본적으로 데이터 사전에 저장됩니다.
B. 데이터 파일의 수는 스토리지 어레이의 크기에 의해서만 제한됩니다.
C. 논리 볼륨 관리자가 스트리핑을 지원하는 경우에만 최대 파일 크기를 무제한으로 설정할 수 있습니다.
D. 세그먼트는 여러 테이블스페이스에 걸쳐 있을 수 있습니다.
E. 세그먼트는 여러 데이터 파일에 걸쳐 있을 수 있습니다.

 

- QUESTION 46
Which three Oracle database space management features will work with both Dictionary and Locally managed tablespaces? (Choose three.) +
A. Oracle Managed Files (OMF)
B. Online table segment shrink
C. Online index segment shrink
D. Automatic data file extension (AUTOEXTEND)
E. Capacity planning growth reports based on historical data in the Automatic Workload Repository (AWR)
Correct Answer: ADE

한국어 해석
사전 및 로컬 관리 테이블스페이스와 함께 작동하는 Oracle 데이터베이스 공간 관리 기능 3가지는 무엇입니까? (3가지 선택) +
A. 오라클 관리 파일(OMF)
B. 온라인 테이블 세그먼트 shrink
C. 온라인 인덱스 세그먼트 shrink
D. 자동 데이터 파일 확장자(AUTOEXTEND)
E. AWR(Automatic Workload Repository)의 과거 데이터를 기반으로 용량 계획 증가 보고서

 

- QUESTION 47
Which three statements are true about a self join? (Choose three.) +
A. The ON clause must be used
B. The query must use two different aliases for the table
C. It must be an equijoin
D. It must be an inner join
E. The ON clause can be used
F. It can be an outer join
Correct Answer: BEF

한국어 해석
다음 중 셀프 조인에 대해 맞는 세 가지 설명은 무엇입니까? (3가지를 선택하십시오.) +
A. ON 절을 사용해야 합니다
B. 쿼리는 반드시 테이블에 두 개의 다른 별칭을 사용해야 합니다
C. 이큐조인임에 틀림없습니다
D. 반드시 내부 접합이어야 합니다
E. ON 절을 사용할 수 있습니다
F. 외부 조인이 될 수 있습니다

 

- QUESTION 48  ( 비슷한 문제 Q48, Q71)
Which three failures require intervention for recovery? (Choose three.)
A. a user error such as dropping the wrong table
B. network interface card (NIC) failure
C. user process failure
D. statement failure
E. media failure
Correct Answer: ACE

한국어 해석
복구를 위해 개입이 필요한 세 가지 장애는 무엇입니까? (세 가지를 선택하십시오.)
A. 테이블을 잘못 떨어뜨리는 등의 사용자 오류
B. 네트워크 인터페이스 카드(NIC) 고장
C. 사용자 프로세스 실패
D. statement failure
E. 미디어 장애

 

- QUESTION 49
You need to calculate the number of days from 1st January 2019 until today. Dates are stored in the default format of DD-MON-RR.
Which two queries give the required output? (Choose two.) +
A. SELECT TO_CHAR(SYSDATE, `DD-MON-YYYY') - '01-JAN-2019' FROM DUAL;
B. SELECT ROUND(SYSDATE - '01-JAN-2019') FROM DUAL;
C. SELECT ROUND(SYSDATE - TO_DATE(`01/JANUARY/2019')) FROM DUAL;
D. SELECT TO_DATE(SYSDATE, `DD/MONTH/YYYY') - `01/JANUARY/2019' FROM DUAL;
E. SELECT SYSDATE - TO_DATE('01-JANUARY-2019') FROM DUAL;
Correct Answer: CE

한국어 해석
2019년 1월 1일부터 오늘까지의 일수를 계산해야 합니다. 날짜는 DD-MON-RR의 기본 형식으로 저장됩니다.
필요한 출력을 제공하는 두 개의 쿼리는 무엇입니까? (두 개를 선택하십시오.) +
A. SELECT TO_CHAR(SYSDATE, `DD-MON-YYYY') - '01-JAN-2019' FROM DUAL;
B. SELECT ROUND(SYSDATE - '01-JAN-2019') FROM DUAL;
C. SELECT ROUND(SYSDATE - TO_DATE(`01/JANUARY/2019')) FROM DUAL;
D. SELECT TO_DATE(SYSDATE, `DD/MONTH/YYYY') - `01/JANUARY/2019' FROM DUAL;
E. SELECT SYSDATE - TO_DATE('01-JANUARY-2019') FROM DUAL;

 

- QUESTION 50
The CUSTOMERS table has a CUST_CREDIT_LIMIT column of data type NUMBER.
Which two queries execute successfully? (Choose two.) +
A. SELECT NVL(cust_credit_limit * .15, `Not Available') FROM customers;
B. SELECT NVL2(cust_credit_limit * .15, `Not Available') FROM customers;
C. SELECT NVL(TO_CHAR(cust_credit_limit * .15), `Not Available') FROM customers;
D. SELECT TO_CHAR(NVL(cust_credit_limit * .15, `Not Available')) FROM customers;
E. SELECT NVL2(cust_credit_limit, TO_CHAR(cust_credit_limit * .15), `Not Available') FROM customers;
Correct Answer: CE

한국어 해석
Customers 테이블에는 숫자 데이터 유형  CUST_CRIDT_LIMIT 열이 있습니다.
어떤 쿼리가 성공적으로 실행됩니까? (2개 선택) +
A. SELECT NVL(cust_credit_limit * .15, `Not Available') FROM customers;
B. SELECT NVL2(cust_credit_limit * .15, `Not Available') FROM customers;
C. SELECT NVL(TO_CHAR(cust_credit_limit * .15), `Not Available') FROM customers;
D. SELECT TO_CHAR(NVL(cust_credit_limit * .15, `Not Available')) FROM customers;
E. SELECT NVL2(cust_credit_limit, TO_CHAR(cust_credit_limit * .15), `Not Available') FROM customers;

 

- QUESTION 51
In the spfile of a single instance database, LOCAL_LISTENER is set to LISTENER_1.
The TNSNAMES.ORA file in $ORACLE_HOME/network/admin in the database home contains:

Which statement is true? +
A. Dynamic service registration cannot be used for this database instance
B. The LREG process registers services dynamically with the LISTENER_1 listener
C. LISTENER_1 must also be defined in the LISTENER.ORA file to enable dynamic service registration
D. There are two listeners named LISTENER and LISTENER_1 running simultaneously using port 1521 on the same host as the database instances
E. The definition for LISTENER_1 requires a CONNECT_DATA section to enable dynamic service registration
Correct Answer: B

 

한국어 해석
단일 인스턴스 데이터베이스의 spfile에서 LOCAL_LISTENER는 LISTENER_1로 설정됩니다.
데이터베이스 홈의 $ORACLE_HOME/network/admin에 있는 TNSNAMES.ORA 파일은 다음과 같습니다:

다음 중 사실인 것은? +
A. 이 데이터베이스 인스턴스에 동적 서비스 등록을 사용할 수 없습니다
B. LREG 프로세스는 LISTER_1 리스너에게 동적으로 서비스를 등록합니다
C. 동적 서비스 등록을 활성화하려면 LISTER_1도 LISTER.ORA 파일에 정의되어 있어야 합니다
D. 데이터베이스 인스턴스와 동일한 호스트의 포트 1521을 사용하여 동시에 실행되는 리스너와 리스너_1이라는 리스너가 있습니다
E. LISTER_1에 대한 정의에서 동적 서비스 등록을 활성화하려면 CONNECT_DATA 섹션이 필요합니다

 

- QUESTION 52

You execute this command:

Sufficient storage is available in filesystem /u01.
Which two statements are true about the BIG_TBS tablespace? (Choose two.) +


A. AUTOEXTEND is possible for the datafile
B. It must be bigger than the largest SMALLFILE tablespace
C. Additional data files may not be added
D. It will be a dictionary-managed tablespace by default
E. It will always have a 32K blocksize
Correct Answer: AC

 

한국어 해석
파일 시스템 /u01에서 충분한 스토리지를 사용할 수 있습니다.
BIG_TBS 테이블스페이스에 대해 맞는 두 문장은? (두 가지를 선택하세요.) +

A. 데이터 파일에 대해 AUTOEXTEND가 가능합니다
B. 가장 큰 SmallFILE 테이블 공간보다 커야 합니다
C. 추가적인 데이터 파일은 추가되지 않을 수 있습니다
D. 기본적으로 사전 관리 테이블 공간이 됩니다
E. 항상 32K 블록 크기를 가질 것입니다

 

- QUESTION 53
Your database instance was shut down normally and then started in NOMOUNT state.
You then execute this command:

ALTER DATABASE MOUNT;

Which two actions are performed? (Choose two.) +
A. The online redo logs are opened
B. The online data files are opened
C. The alert log records the execution details
D. The Oracle background processes are started
E. The initialization parameter file is read
F. The control file is read
Correct Answer: CF

 

한국어 해석

데이터베이스 인스턴스가 정상적으로 종료된 후 NOMOUNT 상태에서 시작되었습니다.
그런 다음 다음 다음 명령을 실행합니다:

어떤 두 가지 동작을 수행합니까? (두 가지를 선택하십시오.) +
A. online redo logs 열립니다
B. online data files 열립니다
C. alert log에는 실행내역이 기록되어 있습니다
D. Oracle 백그라운드 프로세스가 시작됩니다
E. 초기화 파라미터 파일을 읽습니다
F. control file이 읽혀집니다

 

- QUESTION 54
Which two statements are true about Enterprise Manager Database Express? (Choose two.) +
A. It is available only when the database is open
B. It can be used to perform database recovery
C. The same port number can be used for Database Express configurations for databases on different hosts
D. It can be used to switch a database into ARCHIVELOGMODE
E. The same port number can be used for multiple Database Express configurations for multiple databases on the same host
Correct Answer: AC

한국어 해석
Enterprise Manager Database Express에 대한 올바른 설명 두 가지는 무엇입니까? (두 가지를 선택하십시오.) +
A. 데이터베이스가 열려 있는 경우에만 사용할 수 있습니다
B. 데이터베이스 복구를 수행하는 데 사용할 수 있습니다
C. 서로 다른 호스트의 데이터베이스에 대한 Database Express 구성에 동일한 포트 번호를 사용할 수 있습니다
D. 데이터베이스를 아카이브 로그 모드로 전환하는 데 사용할 수 있습니다
E. 동일한 호스트의 여러 데이터베이스에 대해 여러 Database Express 구성에 동일한 포트 번호를 사용할 수 있음

 

- QUESTION 55
Which two are true about conventional path SQL load? (Choose two.)
A. It does not generate UNDO.
B. It cannot load data into clustered tables.
C. It locks objects being processed.
D. It enforces referential integrity constraints.
E. It always generates redo.
Correct Answer: AD

한국어 해석
기존 경로 SQL 로드에 대해 맞는 두 가지 사항은 무엇입니까? (두 가지를 선택하십시오.)
A. UNDO를 생성하지 않습니다.
B. 클러스터된 테이블에 데이터를 로드할 수 없습니다.
C. 처리 중인 객체를 잠급니다.
D. 참조 무결성 제약을 적용합니다.
E. 항상 리두를 발생시킵니다.

 

- QUESTION 56
In the ORCL database, UNDOTBS1 is the active undo tablespace with these properties:
1. A size of 100 MB
2. AUTOEXTEND is off
3. UNDO_RETENTION is set to 15 minutes
4. It has RETENTION GUARANTEE

UNDOTBS1 fills with uncommitted undo 10 minutes after the database opens.
What will happen when the next update is attempted by any transaction? +

A. It succeeds and the generated undo is stored in SYSTEM.
B. It fails and returns the error message "ORA-30036: unable to extend segment by 8 in undo tablespace 'UNDOTBS1'".
C. It succeeds and the least recently written undo block of UNDOTBS1 is overwritten by the generated undo.
D. It succeeds and the generated undo is stored in SYSAUX.
E. It succeeds and the least recently read undo block of UNDOTBS1 is overwritten by the generated undo.
Correct Answer: B


한국어 해석
ORCL 데이터베이스에서 UNDOTBS1은 다음 속성을 가진 active undo tablespace 입니다:
1. 100MB의 크기
2. AUTOEXTEND가 꺼져 있습니다
3. UNDO_RETENTION이 15분으로 설정되어 있습니다
4. RETENTION 보증이 있습니다

UNDOTBS1은 데이터베이스가 열린 후 10분 후 커밋되지 않은 undo로채워집니다.
트랜잭션이 다음 업데이트를 시도하면 어떻게 됩니까? +

A. 성공하고 생성된 실행 취소는 SYSTEM에 저장됩니다.
B. 실패하고 "ORA-30036: 'UNDOTBS1' 실행 취소 테이블 공간에서 세그먼트를 8만큼 확장할 수 없습니다"라는 오류 메시지를 반환합니다.
C. 성공하고 가장 최근에 작성된 UNDOTBS1의 Undo 블록은 생성된 Undo에 의해 덮어씁니다.
D. 성공하고 생성된 실행 취소는 SYSAUX에 저장됩니다.
E. 성공하고 가장 최근에 읽은 UNDOTBS1의 실행 취소 블록을 생성된 실행 취소로 덮어씁니다.

 

- QUESTION 57
Which three are types of segments in an Oracle Database? (Choose three.) +
A. undo
B. index
C. stored procedures
D. sequences
E. tables
F. clusters
Correct Answer: BEF

 

- QUESTION 58
Table EMPLOYEES contains columns including EMPLOYEE_ID, JOB_ID and SALARY.
Only the EMPLOYEE_ID column is indexed.
Rows exist for employees 100 and 200. 

 

Examine this statement:

UPDATE employees
	SET(job_id, salary) =
    	(SELECT job_id, salary
        	FROM employees
         WHERE employee_id = 200)
WHERE employee_id = 100;

Which two statements are true? (Choose two.) +
A. Employee 100 will have SALARY set to the same value as the SALARY of employee 200
B. Employee 200 will have JOB_ID set to the same value as the JOB_ID of employee 100
C. Employee 200 will have SALARY set to the same value as the SALARY of employee 100
D. Employee 100 will have JOB_ID set to the same value as the JOB_ID of employee 200
E. Employees 100 and 200 will have the same JOB_ID as before the update command
F. Employees 100 and 200 will have the same SALARY as before the update command
Correct Answer: AD

 

한국어 해석
Table EMPLOYEES에는 EMPLOYEE_ID, JOB_ID 및 SALARY이 포함된 열이 포함되어 있습니다.
EMPLOYEE_ID 열만 인덱싱됩니다.
employees은 100과 200의 행이 있습니다.

이 문장을 검토합니다:

UPDATE employees
	SET(job_id, salary) =
    	(SELECT job_id, salary
        	FROM employees
         WHERE employee_id = 200)
WHERE employee_id = 100;

 

다음 중 참인 두 문장은 무엇입니까? (두 문장을 선택하세요.) +
A. 직원 100은 직원 200과 동일한 값으로 샐러리가 설정됩니다
B. 직원 200의 JOB_ID는 직원 100의 JOB_ID와 동일한 값으로 설정됩니다
C. 직원 200은 직원 100의 급여와 동일한 값으로 설정될 것입니다
D. 사원 100의 JOB_ID는 사원 200의 JOB_ID와 동일한 값으로 설정됩니다
E. 직원 100과 200은 update 명령 이전과 동일한 JOB_ID를 갖게 됩니다
F. 직원 100과 200의 급여는 업데이트 명령 이전과 동일할 것입니다

 

- QUESTION 59
In one of your databases, the user HR has the password HRMGR.
You want to connect to a database instance whose listener listens on port 1531 by using this statement:
CONNECT HR/HRMGR@orcl No name server is used. Which statement is true about ORCL?
A. It must be the value of the SERVICE_NAMES parameter on the client side
B. It must resolve to a valid connect descriptor in the server's tnsnames.ora file
C. It must resolve to a valid connect descriptor in the client's tnsnames.ora file
D. It must be the name of the database to whose instance HR wishes to connect
E. It must be the name of the server running the database to whose instance HR wishes to connect
Correct Answer: C

 

한국어 해석
데이터베이스 중 하나에서 사용자 HR은 HRMGR 암호를 가지고 있습니다.
다음 문장을 사용하여 포트 1531에서 listener가 데이터베이스 인스턴스에 연결하려고 합니다:
CONNECT HR/HRMGR@orcl No name server is used. ORCL에 대한 설명 중 맞는 것은?
A. 클라이언트 측의 SERVICE_NAMES 매개 변수 값이어야 합니다
B. 서버의 tnsnames. 또는 파일에서 올바른 연결 설명자로 확인해야 합니다
C. 클라이언트의 tnsnames. 또는 파일에서 올바른 연결 설명자로 확인해야 합니다
D. HR이 연결하려는 인스턴스의 데이터베이스 이름이어야 합니다
E. HR이 인스턴스를 연결할 데이터베이스를 실행하는 서버의 이름이어야 합니다

 

- QUESTION 60
In one of your databases, you create a user, HR, and then execute this command:

GRANT CREATE SESSION TO hr WITH ADMIN OPTION;


Which three actions can HR perform? (Choose three.) +
A. Revoke the CREATE SESSION privilege from other users
B. Revoke the CREATE SESSION privilege from user HR
C. Log in to the database instance
D. Grant the CREATE SESSION privilege with ADMIN OPTION to other users
E. Execute DDL statements in the HR schema
F. Execute DML statements in the HR schema
Correct Answer: ACD

 

한국어 해석
데이터베이스 중 하나에서 사용자인 HR을 생성한 다음 다음 명령을 실행합니다:

GRANT CREATE SESSION TO hr WITH ADMIN OPTION;


HR이 수행할 수 있는 세 가지 동작은 무엇입니까? (3가지를 선택하세요.) +
A. 다른 사용자로부터 CREATE SESSION 권한을 취소합니다
B. 사용자 HR에서 CREATE SESSION 권한을 취소합니다
C. 데이터베이스 인스턴스 로그에 남습니다.
D. 다른 사용자에게 ADMIN OPTION으로 CREATE SESSION 권한 부여
E. HR 스키마에서 DDL문 실행
F. HR 스키마에서 DML문 실행

 

- QUESTION 61
In which three situations does a new transaction always start? (Choose three.) +
A. when issuing a SELECT FOR UPDATE statement after a CREATE TABLE AS SELECT statement was issued in the same session
B. when issuing a TRUNCATE statement after a SELECT statement was issued in the same session
C. when issuing a CREATE TABLE statement after a SELECT statement was issued in the same session
D. when issuing the first Data Manipulation Language (DML) statement after a COMMIT OR ROLLBACK statement was issued in the same session
E. when issuing a CREATE INDEX statement after a CREATE TABLE statement completed successfully in the same session
F. when issuing a DML statement after a DML statement failed in the same session
Correct Answer: ADF

 

한국어 해석
항상 새로운 transaction이 시작되는 세 가지 상황은 무엇입니까? (3가지 선택) +
A. 동일 세션에서 CREATE TABLE AS SELECT 문을 발행한 후 SELECT FOR UPDATE 문을 발행하는 경우
B. 동일 세션에서 SELECT 문이 발행된 후 TRUNCATE 문을 발행하는 경우
C. 동일 세션에서 SELECT 문이 발행된 후 CREATE TABLE 문을 발행하는 경우
D. 같은 세션에서 COMMIT OR ROLLBACK문이 발행된 후 최초로 DML(Data Manipulation Language)문을 발행하는 경우
E. 같은 세션에서 CREATE TABLE 문이 성공적으로 완료된 후 CREATE INDEX 문 발행 시
F. 같은 세션에서 DML 문이 실패한 후 DML 문을 발행하는 경우

 

- QUESTION 62
Which two statements are true about the ORDER BY clause when used with a SQL statement containing a SET operator such as UNION? (Choose two.) +
A. Column positions must be used in the ORDER BY clause
B. Only column names from the first SELECT statement in the compound query are recognized
C. The first column in the first SELECT of the compound query with the UNION operator is used by default to sort output in the absence of an ORDER BY clause
D. Each SELECT statement in the compound query must have its own ORDER BY clause
E. Each SELECT statement in the compound query can have its own ORDER BY clause
Correct Answer: BC

한국어 해석
UNION과 같은 SET 연산자를 포함하는 SQL문과 함께 사용할 때 ORDER BY 절에 대해 맞는 문장은 무엇입니까? (2개 선택) +
A. ORDER BY 절에 열 위치를 사용해야 합니다
B. 복합 쿼리의 첫 번째 SELECT 문의 열 이름만 인식됩니다
C. UNION 연산자와의 복합 질의 첫 번째 SELECT의 첫 번째 열은 ORDER BY 절이 없는 상태에서 출력을 정렬하는 데 기본적으로 사용됩니다
D. 복합 쿼리의 각 SELECT 문에는 고유한 ORDER BY 절이 있어야 합니다
E. 복합 쿼리의 각 SELECT 문은 고유한 ORDER BY 절을 가질 수 있습니다

 

- QUESTION 63
The INVOICE table has a QTY_SOLD column of data type NUMBER and an INVOICE_DATE column of data type DATE.
NLS_DATE_FORMAT is set to DD-MON-RR.
Which two are true about data type conversions involving these columns in query expressions? (Choose two.) +
A. CONCAT (qty_sold, invoice_date) : requires explicit conversion
B. invoice_date = '15-march-2019' : uses implicit conversion
C. invoie_date > '01-02-2019' : uses implicit conversion
D. qty_sold BETWEEN `101' AND '110' : uses implicit conversion
E. qty_sold = `0554982' uses implicit conversion
Correct Answer: BD

한국어 해석
INVOICE 테이블에는 NUMBER 데이터 유형의 QTY_SOLD 열과 DATE 데이터 유형의 INVOICE_DATE 열이 있습니다.
NLS_DATE_FORMAT는 DD-MON-RR로 설정되어 있습니다.
쿼리 표현식에서 이러한 열을 포함하는 데이터 유형 변환에 대한 올바른 두 가지 사항은 무엇입니까? (두 가지를 선택하십시오.) +
A. CONCAT(qty_sold, invoice_date) : 명시적 변환이 필요합니다
B. invoice_date = '15-march-2019' : 암묵적 변환 사용
C. invoie_date > '01-02-2019' : 암묵적 변환 사용
D. qty_sold BETWEEN `101' AND '110': 암묵적 변환을 사용합니다
E. qty_sold = '0554982'는 암묵적 변환을 사용합니다

 

- QUESTION 64
Which three statements are true about single-row functions? (Choose three.) +
A. They can be used only in the WHERE clause of a SELECT statement
B. The argument can be a column name, variable, literal or an expression
C. The data type returned can be different from the data type of the argument
D. They can be nested to any level
E. They can accept only one argument
F. They return a single result row per table
Correct Answer: BCD

한국어 해석
single-row 함수에 관한 다음 세 문장 중 옳은 것은? (3개를 선택하세요.) +
A. SELECT 문의 WHERE 조항에만 사용할 수 있습니다
B. 인수는 열 이름, 변수, 리터럴 또는 식을 사용할 수 있습니다
C. 반환되는 데이터 유형이 인수의 데이터 유형과 다를 수 있습니다
D. 모든 레벨에 중첩될 수 있습니다
E. 그들은 한 가지 주장만 받아들일 수 있습니다
F. 테이블당 하나의 결과 행을 반환합니다


single-row 함수
LENGTH, LENGTHB, SUBSTR(offset, size), LPAD, RPAD, REPLACE(), LTRIM(), RTRIM(), MOD(), CEIL(), FLOOR(), ROUND(), POWER()

 

- QUESTION 65
Which three statements are true about dropping and unused columns in an Oracle database? (Choose three.) +
A. A primary key column referenced by another column as a foreign key can be dropped if using the CASCADE option.
B. An UNUSED column's space is reclaimed automatically when the block containing that column is next queried.
C. An UNUSED column's space is reclaimed automatically when the row containing that column is next queried.
D. Partition key columns cannot be dropped.
E. A DROP COLUMN command can be rolled back
F. A column that is set to UNUSED still counts towards the limit of 1000 columns per table
Correct Answer: ADF

한국어 해석
Oracle 데이터베이스에서 열을 떨어뜨리고 사용하지 않는 것에 대한 설명으로 올바른 것은 무엇입니까? (3개를 선택하십시오.) +
A. 다른 열에서 foreign key로 참조되는 primary key열은 CASCADE 옵션을 사용하면 삭제할 수 있습니다.
B. 사용되지 않은 열의 공간은 다음에 해당 열이 포함된 블록을 조회할 때 자동으로 회수됩니다.
C. 사용되지 않은 열의 공간은 다음에 해당 열을 포함하는 행이 쿼리될 때 자동으로 회수됩니다.
D. 파티션 키 열은 삭제할 수 없습니다.
E. Drop Column 명령은 롤백할 수 있습니다
F. 사용되지 않음으로 설정된 열은 테이블당 1000개의 열 제한으로 여전히 카운트됩니다

 

- QUESTION 66
Which two statements are true about the rules of precedence for operators? (Choose two.) +
A. The concatenation operator | | is always evaluated before addition and subtraction in an expression
B. NULLS influence the precedence of operators in an expression
C. The + binary operator has the highest precedence in an expression in a SQL statement
D. Arithmetic operators with equal precedence are evaluated from left to right within an expression
E. Multiple parentheses can be used to override the default precedence of operators in an expression
Correct Answer: DE

한국어 해석
다음 중 연산자 우선 순위 규칙에 대한 설명으로 옳은 것은 무엇입니까? (두 가지를 선택하십시오.) +
A. 식에서 덧셈과 뺄셈 전에 항상 연결 연산자 ||를 평가합니다
B. NULLS는 식에서 연산자의 우선순위에 영향을 미칩니다
C. SQL 문의 식에서 + 이진 연산자가 가장 높은 우선 순위를 갖습니다
D. 식 내에서 동일한 우선순위를 가지는 산술 연산자가 왼쪽에서 오른쪽으로 평가됩니다
E. 여러 괄호를 사용하여 식에서 연산자의 기본 우선 순위를 재정의할 수 있습니다

- QUESTION 67
2Examine this description of the TRANSACTIONS table:

Which two SQL statements execute successfully? (Choose two.) +
A. SELECT customer_id AS "CUSTOMER-ID", transaction_date AS DATE, amount + 100 "DUES" FROM transactions;
B. SELECT customer_id AS "CUSTOMER-ID", transaction_date AS "DATE", amount + 100 DUES FROM transactions;
C. SELECT customer_id AS CUSTOMER-ID, transaction_date AS TRANS_DATE, amount + 100 "DUES AMOUNT" FROM transactions;
D. SELECT customer_id CUSTID, transaction_date TRANS_DATE, amount + 100 DUES FROM transactions;
E. SELECT customer_id AS `CUSTOMER-ID', transaction_date AS DATE, amount + 100 `DUES AMOUNT' FROM transactions;
Correct Answer: BD

 

- QUESTION 68
Examine the description of the PROMOTIONS table:


You want to display the unique promotion costs in each promotion category.
Which two queries can be used? (Choose two.)
A. SELECT promo_cost, promo_category FROM promotions ORDER BY by 1;
B. SELECT DISTINCT promo_cost || ' in ` || DISTINCT promo_category FROM promotions ORDER BY 1;
C. SELECT DISTINCT promo_category || ` has ` || promo_cost AS COSTS FROM promotions ORDER BY 1;
D. SELECT promo_category, DISTINCT promo_cost FROM promotions ORDER BY 2;
E. SELECT DISTINCT promo_category, promo_cost FROM promotions ORDER BY 1;
Correct Answer: CE

 

- QUESTION 69
Which three statements are true about views in an Oracle database? (Choose three.) +
A. Views can be updated without the need to re-grant privileges on the view
B. Tables in the defining query of a view must always exist in order to create the view
C. The WITH CHECK clause prevents certain rows from being displayed when querying the view
D. Data Manipulation Language (DML) can always be used on views
E. Inserting one or more rows using a view whose defining query contains a GROUP BY clause will cause an error
F. Deleting one or more rows using a view whose defining query contains a GROUP BY clause will cause an error
G. The WITH CHECK clause prevents certain rows from being updated or inserted
Correct Answer: EFG

한국어 해석
Oracle 데이터베이스의 뷰에 대해 올바른 설명으로 제시된 세 가지는 무엇입니까? (세 가지를 선택하십시오.) +
A. 뷰에 대한 권한을 다시 부여할 필요 없이 뷰를 업데이트할 수 있습니다
B. 뷰를 작성하려면 뷰 정의 쿼리의 테이블이 항상 존재해야 합니다
C. WITH CHECK 조항은 뷰 조회 시 특정 행이 표시되지 않도록 합니다
D. 데이터 조작 언어(DML)는 뷰에서 항상 사용할 수 있습니다
E. 정의 쿼리에 GROUP BY 절이 포함된 뷰를 사용하여 하나 이상의 행을 삽입하면 오류가 발생합니다
F. 정의 쿼리에 GROUP BY 절이 포함된 보기를 사용하여 하나 이상의 행을 삭제하면 오류가 발생합니다
G. WITH CHECK 조항은 특정 행이 업데이트되거나 삽입되지 않도록 합니다

 

- QUESTION 70
Which two tasks can you perform using DBCA for databases? (Choose two.) +
A. Configure a nonstandard block size for a new database
B. Register a new database with an available Enterprise Manager Management server
C. Change the standard block size of an existing database
D. Configure incremental backups for a new database
E. Enable flashback database for an existing database
Correct Answer: AB


한국어 해석
데이터베이스에 대해 DBCA를 사용하여 수행할 수 있는 두 가지 작업은 무엇입니까? (2가지 선택) +
A. 새 데이터베이스에 대한 비표준 블록 크기 구성
B. 사용 가능한 Enterprise Manager Management 서버에 새 데이터베이스 등록
C. 기존 데이터베이스의 표준 블록 크기 변경
D. 새 데이터베이스에 대한 증분 백업 구성
E. 기존 데이터베이스에 대해 플래시백 데이터베이스 사용

DBCA(Database Configuration Assistant) 오라클 GUI DB 생성기

 

- QUESTION 71 ( 비슷한 문제 Q48, Q71)
Which three failures do not require intervention for recovery? (Choose three.)
A. user process failure
B. media failure
C. statement failure
D. network interface card (NIC) failure
E. transaction failure
Correct Answer: ACE

 

- QUESTION 72
Which three object types support deferred segment creation? (Choose three.)
A. partitioned tables
B. external tables
C. heap organized tables
D. clustered tables
E. index organized tables
F. temporary tables
Correct Answer: ACE

 

- QUESTION 73
Which two tasks can be performed in the NOMOUNT state? (Choose two.)
A. re-creating control files
B. full database recovery
C. enabling online redo log archiving
D. renaming data files
E. creating a database
Correct Answer: AE

 

- QUESTION 74
Which two statements are true about space-saving features in an Oracle Database? (Choose two.) +
A. Private Temporary Tables (PTTS) store metadata in memory only
B. An index created with the UNUSABLE attribute has no segment
C. If they exist for a session, Private Temporary Tables (PTTs) are always dropped at the next COMMIT OR ROLLBACK statement
D. An index that is altered to be UNUSABLE will retain its segment
E. A table that is truncated will always have its segment removed
Correct Answer: AB

한국어 해석
Oracle Database의 공간 절약 기능에 대해 다음 중 맞는 설명은 무엇입니까? (2개를 선택하십시오.) +
A. PTTS(Private Temporary Tables)는 메타데이터를 메모리에만 저장합니다
B. UNUSABLE 속성으로 생성된 인덱스에 세그먼트가 없습니다
C. 세션이 존재하는 경우 PTTS(Private Temporary Tables)는 항상 다음 COMMIT 또는 ROLLBACK 문에서 삭제됩니다
D. 사용할 수 없도록 변경된 인덱스는 세그먼트를 유지합니다
E. truncated 테이블은 항상 세그먼트가 제거됩니다

PPTS 설명 : 18c 버전부터 나온 기능으로 기존 글로벌 템프 테이블과는 달리 세션 단위로 적용되는 템프 테이블
https://docs.oracle.com/en/database/oracle/oracle-database/18/obeab/index.html

 

Managing Private Temporary Tables

Find all information related to the PTT. SELECT sid, serial#, table_name, tablespace_name, duration FROM user_private_temp_tables; SID SERIAL# TABLE_NAME TABLESPACE_NAME DURATION ---- ------- ------------ --------------- ----------- 43 28813 ORA$PTT_MINE T

docs.oracle.com

 

- QUESTION 75
In the SALES database, DEFERRED_SEGMENT_CREATION is TRUE.
Examine this command:

SQL> CREATE TABLE T1(c1 INT PRIMARY KEY, c2 CLOB);


Which segment or segments, if any, are created as a result of executing the command? +
A. T1, an index segment for the primary key, a LOB segment, and a lobindex segment
B. no segments are created
C. T1 only
D. T1 and an index segment created for the primary key only
E. T1, an index segment for the primary key, and a LOB segment only
Correct Answer: B

 

DEFERRED_SEGMENT_CREATION  파라미터

Oracle 11gR2(11.2.0.1) 버전부터 추가된 DB Parameter 입니다.
테이블을 생성(Create) 할 때 바로 만들지 않고, 딕셔너리(메타정보)에만 테이블 생성 정보를 기록하고 실제로는 테이블을 만들지 않는 겁니다.
실제 테이블이 만들어지는 시점은 테이블에 데이터가 들어올 때(Insert) 입니다.

deferred_segment_creation 파라메타는 디폴트가 true 입니다.

--만약 파라미터를 변경하고자하면 
alter system set deferred_segment_creation=FALSE scope=both;

--또는 테이블을 생성시  segment creation immediate 옵션을 넣어줘야한다.
CREATE TABLE T1(c1 INT PRIMARY KEY, c2 CLOB) segment creation immediate;

 

- QUESTION 76
Which two statements are true regarding the UNION and UNION ALL operators? (Choose two.) +
A. Duplicates are eliminated automatically by the UNION ALL operator
B. The number of columns selected in each SELECT statement must be identical
C. The names of columns selected in each SELECT statement must be identical
D. The output is sorted by the UNION ALL operator
E. NULLS are not ignored during duplicate checking
Correct Answer: BE

한국어 해석
UNION 및 UNION ALL 연산자와 관련하여 다음 중 맞는 설명은 무엇입니까? (2개를 선택하십시오.) +
A. 중복은 UNION ALL 연산자가 자동으로 제거합니다
B. 각 SELECT 문에서 선택한 열의 개수는 동일해야 합니다
C. 각 SELECT 문에서 선택한 열의 이름은 동일해야 합니다
D. 출력은 UNION ALL 연산자에 의해 정렬됩니다
E. 중복 검사 시 NULLS가 무시되지 않습니다

 

- QUESTION 77
Which two are true about instance recovery for a database that is open in read write mode? (Choose two.)
A. It is guaranteed to complete within fast_start_mttr_target number of seconds.
B. No users can log on until instance recovery has completed.
C. Only the CURRENT REDO log group is required to perform instance recovery.
D. It is always performed when opening a database.
E. It always occurs during instance startup performed immediately after a SHUTDOWN ABORT.
F. The database opens after the roll forward phase of instance recovery has completed.
Correct Answer: DE

한국어 해석
읽기 쓰기 모드로 열려 있는 데이터베이스의 인스턴스 복구에 대해 다음 중 맞는 것은 무엇입니까? (2개를 선택하십시오.)
A. fast_start_mttr_target 이내에 완료됨을 보장합니다.
B. 인스턴스 복구가 완료될 때까지 어떤 사용자도 로그인할 수 없습니다.
C. 인스턴스 복구를 수행하려면 CURRENT REDO 로그 그룹만 필요합니다.
D. 데이터베이스를 열 때 항상 수행됩니다.
E. 이는 immediately SHUTDOWN ABORT후 인스턴스 시작시 중에 항상 발생합니다.
F. 인스턴스 복구의 롤포워드 단계가 완료된 후 데이터베이스가 열립니다.

 

fast_start_mttr_target  파라미터

원하는 Instance recovery 시간을 지정함으로써 기존에 설정해야하는 다음 파라미터를 지정하지 않아도 Oracle에서 자동으로 해당 값을 지정하여 Instance recovery 시간을 최소화 한다.

ALTER SYSTEM SET PAST_START_MTTR_TARGET=60;

즉, 위와 같이 60초로 설정하게 되면 오라클 내부적으로 LOG_CHECKPOINT_INTERVAL와 FAST_START_IO_TARGET 파라미터의 적정치가 해당 시간내에 이루어지기 위해 결정되고 Recovery시 읽어야할 Redo log block의 개수가 결정된다.

Recovery할 block 개수에 대한 정보는 V$INSTANCE_RECOVERY 뷰에서 TARGET_MTTR/ESTIMATED_MTTR/CKPT_BLOCK_WRITES 에서 알 수 있다.

 

- QUESTION 78
Which two statements are true about the SET VERIFY ON command? (Choose two.) +
A. It can be used only in SQL*Plus
B. It displays values for variables used only in the WHERE clause of a query
C. It can be used in SQL Developer and SQL*Plus
D. It displays values for variables created by the DEFINE command
E. It displays values for variables prefixed with &&
Correct Answer: CE

한국어 해석
SET VERIFY ON 명령에 대해 맞는 설명은 무엇입니까? (2개를 선택하십시오.) +
A. SQL*Plus에서만 사용 가능합니다
B. 쿼리의 WHERE 절에서만 사용되는 변수 값을 표시합니다
C. SQL Developer 및 SQL*Plus에서 사용 가능
D. DEFINE 명령에 의해 생성된 변수 값을 표시합니다
E. &&로 접두사가 붙은 변수의 값을 표시합니다

 

SET VERIFY ON  -- 치환변수 값의 전후를 표시(default on)

/* SQL Plus로 실행한 문장이다 */ 
SQL> select * from employees where department_id=&id;
Enter value for id: 10
old   2: where department_id=&id
new   2: where department_id=10

 

- QUESTION 79
Which three statements are true about GLOBAL TEMPORARY TABLES? (Choose three.) +
A. A TRUNCATE command issued in a session causes all rows in a GLOBAL TEMPORARY TABLE for the issuing session to be deleted.
B. GLOBAL TEMPORARY TABLE rows inserted by a session are available to any other session whose user has been granted select on the table.
C. GLOBAL TEMPORARY TABLE space allocation occurs at session start.
D. Any GLOBAL TEMPORARY TABLE rows existing at session termination will be deleted.
E. A GLOBAL TEMPORARY TABLE'S definition is available to multiple sessions.
F. A DELETE command on a GLOBAL TEMPORARY TABLE cannot be rolled back.
Correct Answer: ADE

한국어 해석
GLOBAL TEMPARY TABLE에 대해 맞는 설명은 무엇입니까? (3개를 선택하십시오.) +
A. 세션에서 발행된 TRUNCATE 명령은 발행 세션에 대한 글로벌 임시 테이블의 모든 행을 삭제합니다.
B. 세션에 의해 삽입된 GLOBAL TEMPARY TABLE 행은 사용자가 테이블에 select 권한을 부여받은 다른 세션에서 사용할 수 있습니다.
C. 글로벌 임시 테이블 공간 할당은 세션 시작 시 발생합니다.
D. 세션 종료 시 존재하는 GLOBAL TEMPARY TABLE 행은 모두 삭제됩니다.
E. 글로벌 임시 테이블의 정의는 여러 세션에서 사용할 수 있습니다.
F. 글로벌 임시 테이블의 DELETE 명령은 롤백할 수 없습니다.

 

- QUESTION 80
Your database instance is started with a PFILE. Examine these parameters:

NAME TYPE VALUE
memory_max_target big interger 0
memory_target big integer 0
sga_max_size big interger 2G
sga_target big integer 2G


You want to increase the size of the buffer cache.
Free memory is available to increase the size of the buffer cache.
You execute the command:

ALTER SYSTEM SET DB_CACHE_SIZE=1024M;


What is the outcome? +
A. The value is changed only in the PFILE and takes effect at the next instance startup
B. The value is changed for the current instance and in the PFILE
C. It fails because the SCOPE clause is missing
D. Change is applied to the current instance, but does not persist after instance restart
Correct Answer: D

 

한국어 해석
데이터베이스 인스턴스가 PFILE로 시작됩니다. 다음 파라미터를 검사합니다:

NAME TYPE VALUE
memory_max_target big interger 0
memory_target big integer 0
sga_max_size big interger 2G
sga_target big integer 2G


버퍼 캐시의 크기를 늘리려고 합니다.
버퍼 캐시의 크기를 늘리기 위해 자유 메모리를 사용할 수 있습니다.
명령을 실행합니다:

ALTER SYSTEM SET DB_CACHE_SIZE=1024M;


결과는? +
A. 값은 PFILE 에서만 변경되며 다음 인스턴스 시작 시 적용됩니다
B. 현재 인스턴스 및 PFILE에서 값이 변경됩니다
C. SCOPE 절이 누락되어 실패함
D. 변경 사항이 현재 인스턴스에 적용되지만 인스턴스를 다시 시작한 후에는 유지되지 않습니다

 

- QUESTION 81  (A와 F를 보면 어질어질하다.... 시간 = 일 관념으로 접근하면 다친다.. 영어공부하는 느낌)
Which four account management capabilities can be configured using Oracle profiles? (Choose four.) +
A. the number of hours for which an account is locked after the configured number of login attempts has been reached
B. the number of days for which an account may be inactive before it is locked
C. the maximum amount of CPU time allowed for a user's sessions before their account is locked
D. the ability to prevent a password from ever being reused
E. the number of password changes required within a period of time before a password can be reused
F. the number of days for which an account is locked after the configured number of login attempts has been reached
G. the maximum number of sessions permitted for a user before the account is locked
Correct Answer: BDEF

한국어 해석
Oracle 프로파일을 사용하여 구성할 수 있는 4가지 계정 관리 기능은 무엇입니까? (4가지 선택) +
A. 설정된 로그인 시도 횟수에 도달한 후 계정이 잠기는 시간
B. 계정이 잠기기 전에 비활성화될 수 있는 일수
C. 계정이 잠기기 전에 사용자의 세션에 허용되는 최대 CPU 시간
D. 비밀번호가 재사용되지 않도록 방지하는 기능
E. 비밀번호를 재사용할 수 있는 기간 내에 필요한 비밀번호 변경 횟수
F. 설정된 로그인 시도 횟수에 도달한 후 계정이 잠기는 일수
G. 계정이 잠기기 전에 사용자에게 허용되는 최대 세션 수

 

- QUESTION 82
Examine the description of the BOOKS table:

Name Null Type
TRANSACTION_ID NOT NULL VARCHAR2(6)
TRANSCATION_DATE   DATE
AMOUNT   NUMBER(10,2)
CUSTOMER_ID   VARCHAR2(6)

The table has 100 rows.
Examine this sequence of statements issued in a new session:

INSERT INTO books VALUES ('ADV112', 'Adventures of Tom Sawyer', NULL, NULL);
SAVEPOINT a;
DELETE FROM books;
ROLLBACK TO SAVEPOINT a;
ROLLBACK;

Which two statements are true? (Choose two.) +
A. The second ROLLBACK command does nothing
B. The second ROLLBACK command replays the delete
C. The first ROLLBACK command restores the 101 rows that were deleted, leaving the inserted row still to be committed
D. The second ROLLBACK command undoes the insert
E. The first ROLLBACK command restores the 101 rows that were deleted and commits the inserted row
Correct Answer: CD

 

한국어 해석
BOOKS 테이블의 묘사를 검토합니다:

Name Null Type
TRANSACTION_ID NOT NULL VARCHAR2(6)
TRANSCATION_DATE   DATE
AMOUNT   NUMBER(10,2)
CUSTOMER_ID   VARCHAR2(6)

테이블에는 100개의 행이 있습니다.
새 세션에서 다음과 같은 일련의 문구를 검토합니다:

INSERT INTO books VALUES ('ADV112', 'Adventures of Tom Sawyer', NULL, NULL);
SAVEPOINT a;
DELETE FROM books;
ROLLBACK TO SAVEPOINT a;
ROLLBACK;

다음 중 맞는 문장은 무엇입니까? (2개를 선택하십시오.) +
A. 두 번째 ROLLBACK 명령이 아무것도 수행되지 않음
B. 두 번째 ROLLBACK 명령은 삭제를 재생합니다
C. 첫 번째 ROLLBACK 명령은 삭제된 101개의 행을 복원하여 삽입된 행을 커밋 상태로 남깁니다
D. 두 번째 ROLLBACK 명령을 실행하면 삽입이 취소됩니다
E. 첫 번째 ROLLBACK 명령은 삭제된 101개의 행을 복원하고 삽입된 행을 커밋합니다

 

- QUESTION 83
Which two can you use to recover a dropped table? (Choose two.)
A. FLASHBACK QUERY
B. FLASHBACK DATABASE
C. FLASHBACK TRANSACTION
D. FLASHBACK TABLE TO SCN
E. FLASHBACK DROP

Correct Answer: DE

 

- QUESTION 84
Which two are true about complete recovery? (Choose two.)
A. The database must have FLASHBACK enabled in order to perform it.
B. It is possible only when the database is in MOUNT state
C. Uncommitted transactions will be rolled back after it completes.
D. Incremental backups can be used to roll forward the database while performing it.
E. Only RMAN backupsets can be used to restore a database as part of it.
Correct Answer: AB


한국어 해석
완전 복구에 대해 어떤 것이 사실입니까? (2개를 선택하십시오.)
A. 이를 수행하려면 데이터베이스에 플래시백이 활성화되어 있어야 합니다.
B. 데이터베이스가 Mount 상태일 경우에만 가능합니다
C. Uncommitted transactionsdms은 완료 후 롤백됩니다.
D. 증분 백업을 사용하여 데이터베이스를 롤포워드하는 동시에 수행할 수 있습니다.
E. RMAN 백업 세트만 데이터베이스의 일부로 복원할 수 있습니다.

 

- QUESTION 85
Which two are true about Oracle recovery and data protection solutions? (Choose two.)
A. RMAN can be used to FLASHBACK a database.
B. RMAN can be used to roll back committed transactions.
C. Data Recovery Advisor can be used to restore a single file from an RMAN backupset.
D. Data Recovery Advisor can be used to validate backup strategies.
E. Oracle Data Guard can prevent data loss caused by a site failure.
Correct Answer: AE

한국어 해석
Oracle 복구 및 데이터 보호 솔루션과 관련하여 맞는 두 가지는 무엇입니까? (2가지를 선택하십시오.)
A. RMAN을 사용하여 데이터베이스를 플래시백할 수 있습니다.
B. RMAN을 사용하여 커밋된 트랜잭션을 롤백할 수 있습니다.
C. Data Recovery Advisor를 사용하여 RMAN 백업 세트에서 단일 파일을 복원할 수 있습니다.
D. Data Recovery Advisor를 사용하여 백업 전략을 검증할 수 있습니다.
E. Oracle Data Guard는 사이트 장애로 인한 데이터 손실을 방지할 수 있습니다.

 

- QUESTION 86
Which three statements are true about the Oracle Data Dictionary? (Choose three.) +
A. Data dictionary views are created by joins of dictionary base tables and DBA-defined tables
B. The data dictionary is created and maintained by the database administrator
C. Views with the same name but different prefixes, such as CDB, DBA, ALL and USER, reference the same base tables from the data dictionary
D. Base tables can be queried directly
E. It is owned by the SYSTEM user
F. Usernames of all users including database administrators are stored in the data dictionary
Correct Answer: CDF

한국어 해석
Oracle Data Dictionary에 대해 올바른 설명은 무엇입니까? (3개를 선택하십시오.) +
A. Data dictionary views는 dictionary base tables과 DBA 정의 테이블의 조인에 의해 생성됩니다
B. 데이터사전은 데이터베이스 관리자가 작성 및 유지관리합니다
C. CDB, DBA, ALL, USER 등 이름은 같지만 접두사가 다른 뷰는 데이터 사전에서 동일한 기본 테이블을 참조합니다
D.  Base tables 직접 조회 가능
E. SYSTEM 사용자가 소유하고 있습니다
F. 데이터베이스 관리자를 포함한 모든 사용자의 사용자 이름은 데이터 사전에 저장됩니다

 

- QUESTION 87
The SCOTT/TIGER user exists in two databases, BOSTON_DB and DALLAS_DB, in two different locations.
Each database has a tnsnames.ora file defining DALLAS_DB as a service name.
Examine this command:

CREATE DATABASE LINK dblink1 CONNECT TO scott IDENTIFIED BY tiger USING 'dallas_db';


How do you execute the command so that only SCOTT in BOSTON_DB can access the SCOTT schema in DALLAS_DB? +
A. as SCOTT in DALLAS_DB
B. as SCOTT in BOSTON_DB
C. as SCOTT in BOSTON_DB and SYS in DALLAS_DB
D. as SYS in both the databases
E. as SCOTT in both the databases
Correct Answer: B

 

한국어 해석
SCOTT/TIGER 사용자는 BOSTON_DB와 DALASS_DB의 두개의 데이터베이스에 서로 다른 위치에 있습니다.
각 데이터베이스에는 tnsnames.ora file에는 DALAS_DB를 서비스 이름으로 정의하는 파일이 있습니다.
다음 명령을 검사합니다:

CREATE DATABASE LINK dblink1 CONNECT TO scott IDENTIFIED BY tiger USING 'dallas_db';


BOSTON_DB의 SCOTT만 DALAS_DB의 SCOTT 스키마에 액세스할 수 있도록 명령어를 실행하는 방법은 무엇입니까? +
A. as SCOTT in DALLAS_DB
B. as SCOTT in BOSTON_DB
C. as SCOTT in BOSTON_DB and SYS in DALLAS_DB
D. as SYS in both the databases
E. as SCOTT in both the databases

 

- QUESTION 88
Which two statements are true regarding a SAVEPOINT? (Choose two.) +
A. Rolling back to a SAVEPOINT can undo a CREATE INDEX statement
B. Rolling back to a SAVEPOINT can undo a TRUNCATE statement
C. Only one SAVEPOINT may be issued in a transaction
D. A SAVEPOINT does not issue a COMMIT
E. Rolling back to a SAVEPOINT can undo a DELETE statement
Correct Answer: DE

한국어 해석
SAVEPOINT와 관련하여 알맞는 설명은 무엇입니까? (2개를 선택하십시오.) +
A. SAVEPOINT로 롤백하면 CREATE INDEX 문을 되돌릴 수 있습니다
B. SAVEPOINT로 롤백하면 TRUNCATE 문을 되돌릴 수 있습니다
C. 트랜잭션에서 SAVEPOINT는 하나만 발행할 수 있습니다
D. 세이브포인트는 커밋을 발행하지 않습니다
E. SAVEPOINT로 롤백하면 DELETE 문을 되돌릴 수 있습니다

 

- QUESTION 89
You execute this query:

SELECT TO_CHAR(NEXT_DAY(LAST_DAY(SYSDATE), `MON'), `dd "Monday for" fmMonth rrrr');


What is the result? +
A. It executes successfully but does not return any result
B. It returns the date for the first Monday of the next month
C. It generates an error
D. It returns the date for the last Monday of the current month
Correct Answer: B

 

한국어 해석
다음 쿼리를 실행합니다:

SELECT TO_CHAR(NEXT_DAY(LAST_DAY(SYSDATE), `MON'), `dd "Monday for" fmMonth rrrr');


결과는? +
A. 정상적으로 실행되지만 결과를 반환하지 않습니다
B. 다음 달 첫 번째 월요일 날짜를 반환합니다
C. 오류가 발생합니다
D. 해당 월의 마지막 월요일 날짜를 반환합니다

 

- QUESTION 90
Which is true about roles?
A. A role can be granted to other roles.
B. Roles can be created only by SYS or SYSTEM.
C. Roles containing object privileges can be created only by the object owner.
D. All roles belong to the SYSTEM schema.
E. A role can be password-protected only if it has been granted system privileges.
Correct Answer: E

 

한국어 해석
역할에 대해 어떤 것이 사실입니까?
A. 역할은 다른 역할에 부여될 수 있습니다.
B. 역할은 SYS 또는 SYSTEM으로만 생성 가능합니다.
C. 개체 권한이 포함된 역할은 개체 소유자만 만들 수 있습니다.
D. 모든 역할은 SYSTEM 스키마에 속합니다.
E. 역할은 시스템 권한이 부여된 경우에만 암호로 보호할 수 있습니다.

 

- QUESTION 91
Which three statements are true about external tables in Oracle 18c and later releases? (Choose three.) +
A. External table files can be used for other external tables in a different database
B. The ORACLE_LOADER access driver can be used to unload data from a database into an external table
C. The ORACLE_DATAPUMP access driver can be used to unload data from a database into an external table
D. They cannot be partitioned
E. The ORACLE_DATAPUMP access driver can be used to load data into a database from an external table
F. They support UPDATEs but not INSERTs and DELETEs
Correct Answer: ACE

한국어 해석
Oracle 18c 이상 릴리스의 외부 테이블에 대해 다음 중 맞는 설명은 무엇입니까? (3개를 선택하십시오.) +
A. 외부 테이블 파일은 다른 데이터베이스의 다른 외부 테이블에 사용할 수 있습니다
B. ORACLE_LOADER 액세스 드라이버를 사용하여 데이터베이스에서 외부 테이블로 데이터를 언로드할 수 있습니다
C. ORACLE_DATAPUMP 액세스 드라이버를 사용하여 데이터베이스에서 외부 테이블로 데이터를 언로드할 수 있습니다
D. 분할할 수 없습니다
E. ORACLE_DATAPUMP 액세스 드라이버를 사용하여 외부 테이블에서 데이터베이스로 데이터를 로드할 수 있습니다
F. UPDATEs는 지원하지만 INSERTs 및 DELETEs는 지원하지 않습니다

 

- QUESTION 92

You execute this command:

During the export operation, you detach from the job by using CTRL+C and then execute this command:
Export> STOP_JOB=immediate
Are you sure you wish to stop the job ([yes]/no): yes
Which two statements are true about the job? (Choose two.) +
A. You can no longer monitor it
B. You can reattach to it and monitor it
C. It is paused and can be resumed
D. It continues to run in the background
E. It terminates
Correct Answer: BC

 

- QUESTION 93
Which four statements are true regarding primary and foreign key constraints and the effect they can have on table data? (Choose four.) +
A. A table can have only one primary key but multiple foreign keys
B. A table can have only one primary key and one foreign key
C. The foreign key columns and parent table primary key columns must have the same names
D. It is possible for child rows that have a foreign key to remain in the child table at the time the parent row is deleted
E. It is possible for child rows that have a foreign key to be deleted automatically from the child table at the time the parent row is deleted
F. Only the primary key can be defined at the column and table level
G. Primary key and foreign key constraints can be defined at both the column and table level
Correct Answer: ADEG

한국어 해석
primary and foreign key 제약 조건이 테이블 데이터에 미칠 수 있는 영향에 대해 다음 중 맞는 4개의 진술은 무엇입니까? (4개를 선택하십시오.) +
A. 테이블에는 기본 키가 하나만 있을 수 있지만 여러 개의 외부 키가 있을 수 있습니다
B. 테이블은 기본 키와 외부 키를 하나만 가질 수 있습니다
C. 외부 키 열과 부모 테이블 기본 키 열은 동일한 이름이어야 합니다
D. 상위 행을 삭제할 때 외래 키를 가진 하위 행이 하위 테이블에 남아 있을 수 있습니다
E. 상위 행을 삭제할 때 외래 키가 있는 하위 행이 하위 테이블에서 자동으로 삭제되는 것이 가능합니다
F. 열 및 테이블 레벨에서 기본 키만 정의할 수 있습니다
G. 기본 키 및 외부 키 제약 조건은 컬럼 및 테이블 레벨에서 모두 정의할 수 있습니다

 

- QUESTION 94
Which two are true about shrinking a segment online? (Choose two.) +
A. It is not possible to shrink either indexes or Index Organized Tables (IOTs)
B. It always eliminates all migrated rows if any exist in the table
C. To shrink a table it must have a PRIMARY KEY constraint
D. To shrink a table it must have a UNIQUE KEY constraint
E. To shrink a table it must have row movement enabled
F. It must be in a tablespace that uses Automatic Segment Space Management (ASSM)
Correct Answer: EF

한국어 해석
온라인 세그먼트를 축소하는 것에 대해 어떤 것이 사실입니까? (2개를 선택하십시오.) +
A. 인덱스 또는 IOT(Index Organized Table) 중 하나를 축소할 수 없습니다
B. 테이블에 마이그레이션된 행이 있으면 항상 모든 행을 제거합니다
C. 테이블을 축소하려면 기본 키 제약 조건이 있어야 합니다
D. 테이블을 축소하려면 고유 키 제약 조건이 있어야 합니다
E. 테이블을 축소하려면 행 이동이 활성화되어 있어야 합니다
F. ASSM(Automatic Segment Space Management)을 사용하는 테이블 공간이어야 합니다

 

- QUESTION 95
Which two are true about a SQL statement using SET operators such as UNION? (Choose two.) +
A. The data type group of each column returned by the second query must match the data type of the corresponding column returned by the first query.
B. The number, but not names, of columns must be identical for all SELECT statements in the query.
C. The data type of each column returned by the second query must exactly match the data type of the corresponding column returned by the first query.
D. The names and number of columns must be identical for all SELECT statements in the query.
E. The data type of each column returned by the second query must be implicitly convertible to the data type of the corresponding column returned by the first query.
Correct Answer: AB

한국어 해석
UNION과 같은 SET 연산자를 사용하는 SQL 문에 대해 맞는 것은 무엇입니까? (2개를 선택하십시오.) +
A. 두 번째 쿼리에 의해 반환되는 각 열의 데이터 유형 그룹은 첫 번째 쿼리에 의해 반환되는 해당 열의 데이터 유형과 일치해야 한다.
B. 이름이 아닌 열의 개수는 쿼리의 모든 SELECT 문에 대해 동일해야 합니다.
C. 제2 쿼리에 의해 반환되는 각 열의 데이터 유형은 제1 쿼리에 의해 반환되는 대응하는 열의 데이터 유형과 정확히 일치해야 한다.
D. 쿼리의 모든 SELECT 문에 대해 열 이름과 개수가 동일해야 합니다.
E. 제2 쿼리에 의해 반환되는 각 열의 데이터 유형은 제1 쿼리에 의해 반환되는 대응하는 열의 데이터 유형으로 암묵적으로 변환 가능해야 한다.

 

-  QUESTION 96
Which two statements are true about the Automatic Diagnostic Repository (ADR)? (Choose two.) +
A. The ADR base defaults to $ORACLE_HOME/rdbms/admin if neither DIAGNOSTIC_DEST nor ORACLE_BASE is set
B. The ADR base defaults to $ORACLE_HOME/dbs if the DIAGNOSTIC_DEST parameter and the ORACLE_BASE environment variable are not set
C. It supports diagnostics for Automatic Storage Management (ASM)
D. It supports diagnostics for Oracle Clusterware
E. It is held inside an Oracle database schema
Correct Answer: CD

한국어 해석
ADR(Automatic Diagnostic Repository)에 대해 맞는 설명은 다음 중 무엇입니까? (2개를 선택합니다.) +
A. DIAGNOSTIC_DEST 또는 ORACLE_BASE가 설정되지 않은 경우 ADR 기본값은 $ORACLE_HOME/rdbms/admin입니다
B. DIAGNOSTIC_DEST 매개 변수와 ORACLE_BASE 환경 변수가 설정되지 않은 경우 ADR 기본값은 $ORACLE_HOME/dbs입니다
C. ASM(Automatic Storage Management) 진단을 지원합니다
D. Oracle Clusterware 진단을 지원합니다

 

- QUESTION 97
Which two statements are true about Enterprise Manager (EM) Express? +
A. You can use a single instance of EM Express to manage multiple database running on the same server.
B. EM Express uses a separate repository database to store target database metadata.
C. By default, EM express is available for a database after database creation using DBCA.
D. You can shut down a database instance using EM Express.
E. You cannot start up a database instance using EM Express.
Correct Answer: CE

한국어 해석
EM(Enterprise Manager) Express에 대해 다음 중 맞는 설명은 무엇입니까? +
A. EM Express의 단일 인스턴스를 사용하여 동일한 서버에서 실행되는 여러 데이터베이스를 관리할 수 있습니다.
B. EM Express는 대상 데이터베이스 메타데이터를 저장하기 위해 별도의 저장소 데이터베이스를 사용합니다.
C. 기본적으로, EM express는 DBCA를 사용하여 데이터베이스를 만든 후에 데이터베이스에 사용할 수 있습니다.
D. EM Express를 사용하여 데이터베이스 인스턴스를 종료할 수 있습니다.
E. EM Express를 사용하여 데이터베이스 인스턴스를 시작할 수 없습니다.

 

- QUESTION 98
Which statement is true about aggregate functions? +
A. Aggregate functions can be nested to any number of levels
B. The AVG function implicitly converts NULLS to zero
C. Aggregate functions can be used in any clause of a SELECT statement
D. The MAX and MIN functions can be used on columns with character data types
Correct Answer: D

한국어 해석
집계 함수에 대해 맞는 설명은 무엇입니까? +
A. 집계 함수는 임의의 수의 레벨에 중첩될 수 있습니다
B. AVG 기능은 암시적으로 NULLS를 0으로 변환합니다
C. SELECT 문의 모든 절에서 집계 함수를 사용할 수 있습니다
D. MAX 및 MIN 기능은 문자 데이터 유형이 있는 열에 사용할 수 있습니다

 

- QUESTION 99
View the Exhibits and examine the structure of the COSTS and PROMOTIONS tables.
You want to display PROD_IDS whose promotion cost is less than the highest cost PROD_ID in a
promotion time interval.
Examine this SQL statement:

Exhibit 1.

Exhibit 2.

What will be the result? +
A. It gives an error because the ALL keyword is not valid
B. It gives an error because the GROUP BY clause is not valid
C. It executes successfully but does not give the required result
D. It executes successfully and gives the required result
Correct Answer: D

 

- QUESTION 100
Which two functions are performed by a listener?
A. creating a user session in the System Global Area (SGA)
B. verifying the service name in an incoming user request
C. verifying a user's authentication credentials
D. maintaining the connection to a client's user process until the user request is completed
E. returning the results of processing from the server process to the user process
F. connecting a user process to a server process
Correct Answer: EF

한국어 해석
리스너가 수행하는 두 가지 기능은 무엇입니까?
A. SGA(System Global Area)에서 사용자 세션 생성
B. 수신 사용자 요청 시 서비스 이름 확인
C. 사용자의 인증 자격 증명 확인
D. 사용자 요청이 완료될 때까지 클라이언트의 사용자 프로세스에 대한 연결 유지
E. 서버 프로세스에서 사용자 프로세스로 처리 결과 반환
F. 사용자 프로세스를 서버 프로세스에 연결