[2025年04月]更新の1z0-071ブレーン問題集で1z0-071問題で最高得点を目指すため今すぐ試そう [Q56-Q74]

Share

[2025年04月]更新の1z0-071ブレーン問題集で1z0-071問題で最高得点を目指すため今すぐ試そう

1z0-071試験問題集でベスト問題集を無料で試そう1z0-071試験問題


Oracle 1z1-071試験の準備には、Oracle Universityのコース、学習ガイド、練習問題など、さまざまなリソースを活用することができます。Oracleは、試験でテストされるすべてのトピックをカバーする包括的な学習ガイドを提供しています。さらに、候補者が試験に関連するトピックを議論し、自分たちの経験を共有できるさまざまなオンラインコミュニティがあります。


Oracle 1Z0-071認証試験では、データの取得、データ操作、スキーマ作成など、SQLに関連する幅広いトピックをカバーしています。この試験では、サブクエリ、セットオペレーター、トランザクションコントロールなどの高度なトピックについてもカバーしています。この試験は、SQLを使用して複雑な問題を解決し、データベースソリューションを設計および実装する候補者の能力をテストするように設計されています。


Oracle 1Z1-071認定試験は、Oracleデータベースを使用してSQLプログラミングで個人の知識とスキルをテストするように設計されています。この試験は、Oracle SQLの開発と管理の専門知識を証明したい個人を対象としています。この試験に合格すると、SQLを使用してOracleデータベース環境でデータを管理および操作する候補者のスキルが検証されます。

 

質問 # 56
Examine the description of the PRODUCT_ DETAILS table:

Which two statements are true?

  • A. PRODUCT_ PRICE can be used in an arithmetic expression even if it has no value stored in it.
  • B. PRODUCT_ PRICE contains the value zero by default if no value is assigned to it.
  • C. EXPIRY_ DATE contains the SYSDATE by default if no date is assigned to it.
  • D. PRODUCT_ ID can be assigned the PRIMARY KEY constraint.
  • E. PRODUCT_ NAME cannot contain duplicate values.
  • F. EXPIRY_ DATE cannot be used in arithmetic expressions.

正解:D、F

解説:
In reference to the attributes of the PRODUCT_DETAILS table:
A). This statement is false. If PRODUCT_PRICE has no value (i.e., it is NULL), it cannot be used directly in arithmetic expressions because any operation with NULL results in NULL.
B). This statement is true. PRODUCT_ID has the NOT NULL constraint and is of type NUMBER, making it eligible to be a PRIMARY KEY. Primary keys require all values to be unique and not null.
C). This statement is true. EXPIRY_DATE is of type DATE, and it cannot be used in arithmetic expressions directly without a date function that operates on dates.
D). This statement is false. By default, columns of type DATE do not have a default value unless explicitly assigned using the DEFAULT keyword in the column definition.
E). This statement is false. By default, numeric columns do not have a default value unless specified with the DEFAULT keyword.
F). This statement is false. The statement about PRODUCT_NAME not containing duplicate values would be true if it were a UNIQUE or PRIMARY KEY, but there is no such constraint indicated in the provided table description.


質問 # 57
Which two statements are true about substitution variables? (Choose two.)

  • A. A substitution variable prefixed with && prompts only once for a value in a session unless it is set to undefined in the session
  • B. A substitution variable can be used with any clause in a SELECTstatement
  • C. A substitution variable can be used only in a SELECTstatement
  • D. A substitution variable used to prompt for a column name must be enclosed in a single quotation marks
  • E. A substitution variable used to prompt for a column name must be enclosed in double quotation marks
  • F. A substitution variable prefixed with & always prompts only once for a value in a session

正解:A、D


質問 # 58
Examine the data in the CUSTOMERS table:

You want to list all cities that have more than one customer along with the customer details.
Evaluate the following query:

Which two JOIN options can be used in the blank in the above query to give the correct output? (Choose two.)

  • A. NATURAL JOIN
  • B. FULL OUTER JOIN
  • C. LEFT OUTER JOIN
  • D. JOIN
  • E. RIGHT OUTER JOIN

正解:D、E


質問 # 59
Which three statements are true?

  • A. The DEPTNO column in the EMP table can contain the value 1.
  • B. The DNAME column has a unique constraint.
  • C. The SALARY column must have a value .
  • D. The MANAGER column is a foreign key referencing the EMPNO column.
  • E. The DEPTNO column in the EMP table can contain NULLS .
  • F. The COMMISSION column can contain negative values .
  • G. An index is created automatically in the MANAGER column.

正解:C、E、F


質問 # 60

For each employee in department 90 you want to display:
1. their last name
2. the number of complete weeks they have been employed
The output must be sorted by the number of weeks, starting with the longest serving employee first.Which statement will accomplish this?

  • A. SELECT last_name, ROUND( (SYSDATE - hire_ date) 17) AS tenure
    FROM employees
    WHERE department_ id = 90
    ORDER BY tenure DESC;
  • B. SELECT last_name, TRUNC( (SYSDATE - hire_ date) 1 7) AS tenure
    FROM employees
    WHERE department_ id = 90
    ORDER BY tenure ;
  • C. SELECT last_name, ROUND( (SYSDATE - hire_ date) 1 7) AS tenure
    FROM employees
    WHERE department_ id = 90
    ORDER BY tenure ;
  • D. SELECT last_name, TRUNC ( (SYSDATE - - hire_ date) 1 7) AS tenure
    FROM employees
    WHERE department_id = 90
    ORDER BY tenure DESC;

正解:D

解説:
D). True. The TRUNC function, when applied to the difference between SYSDATE and hire_date divided by
7, will return the number of complete weeks of employment. The ORDER BY tenure DESC will sort the result in descending order, starting with the longest-serving employee.
A is incorrect because it does not include the DESC keyword necessary to start with the longest-serving employee. B is incorrect because ROUND could result in rounding up to the next week, which does not give the number of complete weeks. C is incorrect because the division is done by 17 instead of 7, which is likely a typo, and ROUND is used instead of TRUNC.


質問 # 61
Which three statements are true about defining relations between tables in a relational database?

  • A. Foreign key columns allow null values.
  • B. Primary key columns allow null values.
  • C. Every foreign key value must refer to a matching primary or unique key value.
  • D. Unique key columns allow null values.
  • E. Every primary or unique key value must refer to a matching foreign key value.

正解:B、C


質問 # 62
View the Exhibit and examine the data in ORDERS_MASTER and MONTHLYjDRDERS tables.

Evaluate the following MERGE statement:
MERGE INTO orders_master o USING monthly_orders m ON (o.order_id = m.order_id) WHEN MATCHED THEN UPDATE SET o.order_total = m.order_total DELETE WHERE (m.order_total IS NULL) WHEN NOT MATCHED THEN
INSERT VALUES (m.order_id, m.order_total);
What would be the outcome of the above statement?

  • A. The ORDERS_MASTER table would contain the ORDERJDs 1,2 and 4.
  • B. The ORDERS_MASTER table would contain the ORDERJDs 1 and 2.
  • C. The ORDERS_MASTER table would contain the ORDERJDs 1,2 and 3.
  • D. The ORDERS MASTER table would contain the ORDER IDs 1,2,3 and 4.

正解:A


質問 # 63
The EMPLOYEES table contains columns EMP_IDof data type NUMBERand HIRE_DATEof data type DATE.
You want to display the date of the first Monday after the completion of six months since hiring.
The NLS_TERRITORYparameter is set to AMERICAin the session and, therefore, Sunday is the first day of the week.
Which query can be used?

  • A. SELECT emp_id, NEXT_DAY (MONTHS_BETWEEN (hire_date, SYSDATE), 6) FROM
    employees;
  • B. SELECT emp_id, NEXT_DAY(ADD_MONTHS(hire_date, 6), 1) FROM employees;
  • C. SELECT emp_id, NEXT_DAY(ADD_MONTHS(hire_date, 6), 'MONDAY') FROM employees;
  • D. SELECT emp_id, ADD_MONTHS(hire_date, 6), NEXT_DAY('MONDAY') FROM employees;

正解:C

解説:
Explanation/Reference: http://www.dba-oracle.com/t_add_months.htm


質問 # 64
Examine the structure of the CUSTOMERS table: (Choose two.)

CUSTNO is the PRIMARY KEY.
You must determine if any customers' details have been entered more than once using a different CUSTNO, by listing all duplicate names.
Which two methods can you use to get the required result?

  • A. Right outer-join with self-join
  • B. Self-join
  • C. Left outer-join with self-join
  • D. Subquery
  • E. Full outer-join with self-join

正解:B、D


質問 # 65
Examine the structure of the EMPLOYEES table. (Choose two.)

You must display the maximum and minimum salaries of employees hired 1 year ago.
Which two statements would provide the correct output?

  • A. SELECT MIN(Salary) minsal, MAX(salary) maxsalFROM employeesWHERE hire_date < SYSDATE-365GROUP BY MIN(salary), MAX(salary);
  • B. SELECT MIN(Salary), MAX(salary)FROM (SELECT salary FROM employeesWHERE hire_date < SYSDATE-365);
  • C. SELECT minsal, maxsalFROM (SELECT MIN(salary) minsal, MAX(salary) maxsal FROM employeesWHERE hire_date < SYSDATE-365GROUP BY MIN(salary), MAX(salary);
  • D. SELECT minsal, maxsalFROM (SELECT MIN(salary) minsal, MAX(salary) maxsal FROM employeesWHERE hire_date < SYSDATE-365)GROUP BY maxsal, minsal;

正解:B、D


質問 # 66
Examine these statements which execute successfully:
ALTER SESSION SET NLS_DATE_FORMAT = 'DD-MON-YYYY HH24 MI: SS'
ALTER SESSION SET TIME_ ZONE = '-5:00';
SELECT DBTIMEZONE, SYSDATE FROM DUAL
Examine the result:

If LOCALTIMESTAMP was selected at the same time what would it return?

  • A. 11-JUL-2019 6,00,00,00000000 AM - 05:00
  • B. 11-JUL-2019 6,00,00,000000 AM
  • C. 11-JUL-2019 11,00,00,000000AM -05:00
  • D. 11-JUL-2019 11,00,00,00000000 AM

正解:D


質問 # 67
Examine these two queries and their output:
SELECT deptno, dname FROM dept;

SELECT ename, job, deptno FROM emp ORDER BY deptno;

Now examine this query:
SELECT ename, dname
FROM emp CROSS JOIN dept WHERE job = &apos;MANAGER&apos;
AND dept.deptno IN (10, 20) ;

  • A. 0
  • B. 1
  • C. 2
  • D. 3

正解:A


質問 # 68
Choose two
Examine the description of the PRODUCT DETALS table:

  • A. EXPIRY_DATE contains the SYSDATE by default if no date is assigned to it
  • B. PRODUCT_NAME cannot contain duplicate values.
  • C. PRODUCT_PRICE can be used in an arithmetic expression even if it has no value stored in it
  • D. EXPIRY_DATE cannot be used in arithmetic expressions.
  • E. PRODUCT_PRICE contains the value zero by default if no value is assigned to it.
  • F. PRODUCT_ID can be assigned the PEIMARY KEY constraint.

正解:C、F


質問 # 69
Which three statements are true about Structured Query Language (SQL)? (Choose three.)

  • A. It best supports relational databases.
  • B. It is used to define encapsulation and polymorphism for a relational table.
  • C. It guarantees atomicity, consistency, isolation, and durability (ACID) features.
  • D. It requires that data be contained in hierarchical data storage.
  • E. It is the only language that can be used for both relational and object-oriented databases.
  • F. It provides independence for logical data structures being manipulated from the underlying physical data storage.

正解:C、D、F

解説:
Explanation/Reference: https://docs.microsoft.com/en-us/sql/relational-databases/hierarchical-data-sql-server?view=sql- server-2017


質問 # 70
View the exhibit and examine the structure in ORDERS and ORDER_ITEMS tables.
You need to create a view that displays the ORDER_ID, ORDER_DATE, and the total number of items in each order.
Which CREATE VIEW statement would create the views successfully?

  • A. CREATE OR REPLACE VIEW ord_vuAS SELECT o.order_id, o.order_date, COUNT (i.line_item_id)FROM orders o JOIN order_items iON (o.order_id = i.order_id)GROUP BY o.order_id, o.order_date;
  • B. CREATE OR REPLACE VIEW ord_vuAS SELECT o.order_id, o.order_date, COUNT (i.line_item_id)"NO OF ITEMS"FROM orders o JOIN order_items iON (o.order_id = i.order_id)GROUP BY o.order_id, o.order_date;
  • C. CREATE OR REPLACE VIEW ord_vu (order_id, order_date)AS SELECT o.order_id, o.order_date, COUNT (i.line_item_id)"NO OF ITEMS"FROM orders o JOIN order_items iON (o.order_id = i.order_id)GROUP BY o.order_id, o.order_date;
  • D. CREATE OR REPLACE VIEW ord_vuAS SELECT o.order_id, o.order_date, COUNT (i.line_item_id) ||"NO OF ITEMS"FROM orders o JOIN order_items iON (o.order_id = i.order_id)GROUP BY o.order_id, o.order_dateWHITH CHECK OPTION;

正解:B


質問 # 71
Which three statements are true about multiple row subqueries? (Choose three.)

  • A. They can contain GROUP BY clauses.
  • B. Two or more values are always returned from the subquery.
  • C. They can contain HAVINGclauses.
  • D. They cannot contain a subquery.
  • E. They can return multiple columns.

正解:A、C、E


質問 # 72
You execute this query:
SELECT TO CHAR (NEXT_DAY(LAST_DAY(SYSDATE),'MON' ),' dd"Monday for" fmMonth rrr') FROM DUAL; What is the result?

  • A. It returns the date for the first Monday of the next month.
  • B. It generates an error.
  • C. It returns the date for the last Monday of the current month.
  • D. It executes successfully but does not return any result.

正解:B


質問 # 73
Which three statements are true about the Oracle join and ANSI Join syntax?

  • A. The SQL:1999 compliant ANSI join syntax supports natural joins.
  • B. The Oracle join syntax supports creation of a Cartesian product of two tables.
  • C. The SQL:1999 compliant ANSI join syntax supports creation of a Cartesian product of two tables.
  • D. The Oracle join syntax performs less well than the SQL:1999 compliant ANSI Join Answer.
  • E. The Oracle join syntax supports natural joins.
  • F. The Oracle join syntax performs better than the SQL:1999 compliant ANSI join syntax.
  • G. The Oracle join syntax only supports right outer joins,

正解:A、B、C

解説:
Regarding Oracle join and ANSI join syntax:
B . The Oracle join syntax supports the creation of a Cartesian product of two tables. This is true. In Oracle, if you list tables in the FROM clause without a join condition, it creates a Cartesian product.
C . The SQL:1999 compliant ANSI join syntax supports natural joins. This is true. ANSI syntax supports natural joins, which join tables based on columns with the same names in the joined tables.
F . The SQL:1999 compliant ANSI join syntax supports the creation of a Cartesian product of two tables. This is true. The ANSI standard allows for Cartesian products when tables are listed in the FROM clause without a join condition.
Options A, D, E, and G are incorrect:
A is incorrect because the Oracle join syntax supports all types of joins, including right outer joins.
D is incorrect because Oracle's proprietary join syntax does not use the term "natural join." E is incorrect because there is no inherent performance difference between Oracle join syntax and ANSI join syntax; performance depends on how the query is written and how the database optimizer handles it.
G is incorrect for the same reason as E.


質問 # 74
......

検証済みの1z0-071テスト問題集と解答には的確な325問題と解答があります:https://www.passtest.jp/Oracle/1z0-071-shiken.html

最新版を今すぐ試そう1z0-071認定有効な試験問題集:https://drive.google.com/open?id=1QkOqZuIOFRCMVudZ38v7JqBFI-G9zyQM