Certified Pega System Architect v8.0 (2019) — Question 9
An application must validate postal codes for Canadian customers to match the pattern A1A 1A1, where A represents a letter and 1 represents a number.
Which two configuration options allow you to ensure that a user provides a valid postal code? (Choose two.)
Answer options
- A. Configure a drop-down control to select the postal code based on the specified city and province.
- B. Configure an edit validate rule to test that the entered postal code conforms to the required pattern.
- C. Configure the postal code field as a text property with a required input field.
- D. Configure a validate rule to test that the entered postal code conforms to the required pattern.
Correct answer: A, B
Explanation
Options A and B are correct because they directly ensure that the postal code input is valid by either allowing selection from predefined options or by validating the format upon entry. Options C and D do not effectively guarantee valid input; C only requires input without format validation, while D is less specific than the edit validation rule mentioned in B.