BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Adobe AD0-E716 Exam - Topic 8 Question 15 Discussion

Posted by Louvenia on Feb 09, 2024 at 04:18 PM

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.)

Suggested Answer: B

The developer can add a custom filter to the virtual type MagentoCatalogModelApiSearchCriteriaCollectionProcessorProductFilterProce5sor for supplier_id field. In the custom filter, the developer can apply the needed join and filter to the passed $collection. This is the recommended way to extend the search criteria for products using dependency injection and plugins. Verified Reference: [Magento 2.4 DevDocs] [Magento Stack Exchange]


Get Premium AD0-E716 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
29 comments · newest first
HU
Huey 12 months ago
I disagree with D, null values can be valid depending on the context.
VA
Valda 1 year ago
D is a bit surprising, I thought null was allowed in some cases.
FE
Fernanda 1 year ago
C seems off, how can you not set length for student_name?
KA
Kayleigh 1 year ago
I think B is wrong too, entity_id should have an index.
LA
Lauran 1 year ago
A is definitely an error, needs an index for identity.
MA
Marsha 1 year ago
I thought entity_id should have an index if identity is false, but I can't recall if that applies to option B. It feels a bit tricky.
TA
Tawanna 1 year ago
I practiced a similar question where null values were mentioned, so I wonder if option D could be a valid error here.
LA
Lakeesha 1 year ago
I'm not entirely sure, but I feel like the length attribute for columns is important, which makes option C a possibility.
VI
Vi 1 year ago
I remember something about needing an index for identity attributes, so I think option A might be correct.
TI
Tiffiny 1 year ago
Hmm, the student_name column also seems to be missing the attribute length. That's probably another thing I'll need to address.
JU
Juan 1 year ago
I think the second issue might be with the entity_id column. Since the identity attribute is set to false, it should have an index, but it doesn't look like it does.
MO
Monte 1 year ago
Okay, let's see. The first issue seems to be that the roll_no column doesn't have an index, even though the identity attribute is set to true. That's probably an important one to fix.
BO
Bok 1 year ago
Hmm, I'm a bit confused by the schema here. I'll need to double-check the documentation on declarative schema to make sure I understand the requirements.
HO
Hollis 1 year ago
This looks like a tricky one. I'll need to carefully review the schema and check for any missing or incorrect attributes.
LA
Laurel 1 year ago
Configuration Auditing sounds right to me. That's the component that deals with checking the consistency and completeness of the configuration information.
DA
Daniela 1 year ago
Ah, I remember learning about thin clients in my IT class. The ability to restrict access and prevent unauthorized software installation is a big advantage. I'll make sure to highlight that in my answer.
MA
Maile 1 year ago
I feel like options A and B are focused on traffic shaping, but I can't recall the specifics of how to ensure 10 MB is always reserved for high-priority traffic.
CA
Camellia 1 year ago
I remember we talked about equivalence partitioning in class and how it helps in identifying valid and invalid inputs, but I'm not entirely sure how many partitions this scenario would create.
RO
Rosita 2 years ago
I bet the developer was like, 'Null? That's a valid value, right? *scratches head*'
DA
Dante 1 year ago
↳ replying to Rosita
B) Column (entity_id) does not have index. It is needed since attribute identity is set to false.
FE
Felicitas 1 year ago
↳ replying to Rosita
A) Column (roll_no) does not have index. It is needed since attribute identity is set to true.
TR
Trina 2 years ago
↳ replying to Rosita
B) Column (entity_id) does not have index. It is needed since attribute identity is set to false.
KA
Katy 2 years ago
↳ replying to Rosita
A) Column (roll_no) does not have index. It is needed since attribute identity is set to true.
CE
Cecil 2 years ago
Bob
HU
Hubert 1 year ago
↳ replying to Cecil
B) Column (entity_id) does not have index. It is needed since attribute identity is set to false.
HU
Hubert 2 years ago
↳ replying to Cecil
A) Column (roll_no) does not have index. It is needed since attribute identity is set to true.
JA
Jani 2 years ago
But the column (roll_no) does need an index because attribute identity is set to true, and null is not a valid value for column (roll_no).
JU
Juliana 2 years ago
I disagree, I believe the errors are B and C.
JA
Jani 2 years ago
I think the errors are A and D.
0/2000 characters

Save Cancel