Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam AD0-E716 topic 1 question 28 discussion

Actual exam question from Adobe's AD0-E716
Question #: 28
Topic #: 1
[All AD0-E716 Questions]

An Adobe Commerce developer is trying to create a custom table using declarative schema, but is unable to do so.

What are two errors in the snippet above? (Choose two.)

  • A. Column (roll_no) does not have index. It is needed since attribute identity is set to true.
  • B. Column (entity_id) does not have index. It is needed since attribute identity is set to false.
  • C. Column (student_name) does not have attribute length.
  • D. NULL is not a valid value for column (roll_no).
Show Suggested Answer Hide Answer
Suggested Answer: CD 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
arierave
3 months, 2 weeks ago
Selected Answer: AC
According to claude.ai epos: A. When a column is marked as an identity column (identity="true"), it means it is an auto-incrementing column. In such cases, an index is automatically created for the column by the database engine. However, in the given snippet, the roll_no column is set as an identity column, but it does not have an explicit index defined. Although it is not a strict requirement to define the index manually, it is considered a best practice to do so for clarity and consistency. C. The student_name column is defined with the type "text", but it does not have the length attribute specified. In declarative schema, when using the "text" type, it is required to provide the length attribute to specify the maximum length of the text field. Without the length attribute, the schema definition is incomplete and will result in an error.
upvoted 1 times
...
some_gyy
5 months, 3 weeks ago
Selected Answer: AD
Just implemented it on local env: Auto Increment column do not have index. Column - "roll_no", table - "student_detais"
upvoted 2 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 ...
ex Want to SAVE BIG on Certification Exam Prep?
close
ex Unlock All Exams with ExamTopics Pro 75% Off
  • arrow Choose From 1000+ Exams
  • arrow Access to 10 Exams per Month
  • arrow PDF Format Available
  • arrow Inline Discussions
  • arrow No Captcha/Robot Checks
Limited Time Offer
Ends in