exam questions

Exam 1z0-071 All Questions

View all questions & answers for the 1z0-071 exam

Exam 1z0-071 topic 1 question 109 discussion

Actual exam question from Oracle's 1z0-071
Question #: 109
Topic #: 1
[All 1z0-071 Questions]

Examine this constraint information:



Which three statements are true? (Choose three.)

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

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Viviana3184
Highly Voted 2 years ago
i think BCE are correct
upvoted 17 times
...
bfb7c7d
Most Recent 2 months ago
As per the rule Primary and Composite Key can not contain Null value Then why B option is right I think A is right
upvoted 1 times
...
rani_12
4 months, 3 weeks ago
but how did we know that the manager is referencing the empno column ?!
upvoted 2 times
...
ArslanAltaf
8 months, 2 weeks ago
BCE is Correct A. The SALARY column must have a value. .............FALSE B. The DEPTNO column in the EMP table can contain NULLS..........TRUE C. The COMMISION column can contain negative values. ....TRUE D. The DEPTNO column in the EMP table can contain the value 1...... TRUE WITH CONDITION. (If dept table primary key has 1 values) E. The MANAGER column is a foreign key referencing the EMPNO column........ TRUE F. The DNAME column has a unique constraint. FALSE G. An index is created automatically in the MANAGER column....FALSE
upvoted 2 times
RIDA_007
7 months, 2 weeks ago
A is correct!! The SALARY column is part of a Check constraint CC_COMM that requires the SALARY to be greater than 100, which means it must have a value and cannot be NULL
upvoted 1 times
ArslanAltaf
6 months, 4 weeks ago
Its correct there is a check constraint which mean it has to be > 100, yet it will not prevent a null value to be inserted in the column. In order to prevent not null, this specific constraint has to be added. Test it. A is wrong
upvoted 1 times
...
...
...
yaya32
11 months, 3 weeks ago
Selected Answer: CDE
I think B is wrong : The DEPTNO column in the EMP table can contain NULLS no because it refers to a PK so not possible.
upvoted 2 times
Nico_Nikko
10 months ago
NULL is actually the only exception. AN FK Column can have NULL Values even though the PK Column it is referencing does not.
upvoted 2 times
...
...
yanoolthecool
1 year ago
Selected Answer: BCE
BCE, D is wrong because DEP_NO has a constraint in the department table that prevents it from having a value less than 10, very tricky, those who answered D might get surprises after the exam.
upvoted 1 times
...
winston
1 year ago
BDE Is correct but why is C wrong?
upvoted 1 times
...
Mcromeo
1 year ago
Selected Answer: BCE
BCE is correct
upvoted 1 times
...
zangado
1 year, 1 month ago
Selected Answer: BCE
BCE are correct. D is wrong because DEPTNO in EMP table is referencign DEPTNO in DEPT and there is check constraint which demands DEPTNO in DEPT to be greater than 9
upvoted 1 times
...
lucemqy
1 year, 1 month ago
Selected Answer: BDE
BDE is the correct answer
upvoted 1 times
Mcromeo
1 year ago
D is not correct bcz deptno > 9
upvoted 1 times
...
...
ramonciks
1 year, 3 months ago
why E ?
upvoted 1 times
...
Sangiii
1 year, 4 months ago
BCE - is the answer
upvoted 1 times
...
TheOracleWasTaken
1 year, 5 months ago
Selected Answer: CE
deptno is a pk so cannot be null
upvoted 1 times
TofOra
11 months ago
It's a PK in dept not in emp
upvoted 1 times
...
...
CMjer
1 year, 7 months ago
Selected Answer: BCE
BCE seems correct
upvoted 1 times
...
AV80
2 years ago
Selected Answer: CDE
CDE seems to be right option
upvoted 1 times
anzac
2 years ago
D is not correct because DEPTNO is foreign key referencing DEPTNO in DEPT table and there DEPTNO must > 9
upvoted 2 times
lucemqy
1 year, 1 month ago
DEPTNO is a foreign key referencing a primary key so it should be able to be 1
upvoted 1 times
...
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago