Consider the Information Engineering diagram shown in the exhibit. Building_ID, R_ID,
Room_Count and Room_Num are integer numbers, whereas Bldg_Name, Location and
Res_Name are all represented by variable-length strings with a maximum of 20 characters. Which
SQL statement best implements the RESIDENT relation shown in this diagram?

Suggested Answer: D
Get Premium 1D0-541 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
12 comments · newest first
RE
Renea
11 months ago
I’m surprised they didn’t include a NOT NULL for Res_Name in any option!
NO
Nohemi
11 months ago
Option B has a BINARY type for Room_Num, that's weird.
LY
Lynsey
12 months ago
Wait, why is Room_Num INTEGER in D? Shouldn't it be FLOAT?
TA
Taryn
12 months ago
Totally agree, D covers everything we need!
LA
Laticia
1 year ago
I think option D is the best choice. It has all the right constraints.
GW
Gwenn
1 year ago
I’m a bit confused about the foreign key. I feel like it should be included to maintain referential integrity, which makes me favor option D.
SH
Shawn
1 year ago
I practiced a similar question where VARCHAR needed a length specified. I think Res_Name should definitely be VARCHAR(20) in the correct answer.
DA
Daisy
1 year ago
I’m not entirely sure, but I think Room_Num should be an INTEGER, not FLOAT or BINARY. That makes me lean towards options C and D.
KR
Kris
1 year ago
I remember that the primary key should be set to NOT NULL, so I think options A and C are not correct.
RO
Rosalind
1 year ago
I think the AXIS Q3819-PVE and AXIS M3077-PVE are the two multi-sensor cameras in the list.
MA
Marguerita
1 year ago
I'm pretty confident I know the solution for this. I'll go with Option C and configure the alias-IP range.
NA
Nan
1 year ago
Hmm, I'm not too familiar with MAC address forwarding tables. I'll need to think through this step-by-step to make sure I understand what's being asked.