Adobe Commerce Developer Expert AD0-E716 Question # 9 Topic 1 Discussion

Adobe Commerce Developer Expert AD0-E716 Question # 9 Topic 1 Discussion

AD0-E716 Exam Topic 1 Question 9 Discussion:
Question #: 9
Topic #: 1

An Adobe Commerce developer is tasked to add a file field to a custom form in the administration panel, the field must accept only .PDF files with size less or equal than 2 MB. So far the developer has added the following code within the form component xml file, inside the fieldset node:

AD0-E716 Question 9

How would the developer implement the validations?

A)

Add the Validations Within the HyVendor\MyModule\Controller\Adminhtml\CustomEntity\UploadPdf Controller

AD0-E716 Question 9

B)

Add a virtual type forMyvendor\MyModuie\Modei\customPdfupioader specifying the aiiowedExtensions and the maxFiiesize for the constructor, within the module's di.xmi:

AD0-E716 Question 9

C)

Add the following code inside the node:

AD0-E716 Question 9


A.

Option A


B.

Option B


C.

Option C


Get Premium AD0-E716 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.