Big 11.11 Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Adobe Commerce Developer Professional AD0-E724 Question # 2 Topic 1 Discussion

Adobe Commerce Developer Professional AD0-E724 Question # 2 Topic 1 Discussion

AD0-E724 Exam Topic 1 Question 2 Discussion:
Question #: 2
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-E724 Question 2

How would the developer implement the validations?

A)

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

AD0-E724 Question 2

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-E724 Question 2

C)

Add the following code inside the node:

AD0-E724 Question 2


A.

Option A


B.

Option B


C.

Option C


Get Premium AD0-E724 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.