Question 46
A Digital Developer needs to add logging to the following code:
Which statement logs the HTTP status code to a debug-level custom log file?
Question 47
Which technical reports datapoint measures the performance of a controller's script execution if network factors and Web Adaptor processing is ignored?
Question 48
The following code ensures that an address ID CANNOT be used if it is already in use by another address in the customer's address book. There is a problem with the code. The error message for an invalid address ID is never shown to the user on the form field.
How should the Digital Developer resolve this issue so that the error message is displayed on the address ID form field?
Question 49
A developer is given a task to implement a new Page Designer layout component that doesn't accept certain asset components.
How should the developer achieve the above task?
Question 50
Below is a form definition snippet from the newsletter.xml file:
<?xml versión="1.0"?>
<form xmlns=http://www.demandware.com/xml/form/2008-04-15>
<field formid="email" lavel="Email" type="String" mandatory="True" max-length="50" />
</form>
Which line of code creates a JSON object to contain the form data?