Certified Pega System Architect v7.2 — Question 9
Users are required to enter their date of birth in the format dd/mm/yyyy. Which two options ensure that a user provides a date in the correct format? (Choose two.)
Answer options
- A. Use a Calendar control to allow the user to select the date.
- B. Use an Edit Validate rule to test the value entered by the user.
- C. Use a Validate rule to test the value entered by the user.
- D. Use a When rule to test if the date matches the required format.
Correct answer: A, C
Explanation
Option A is correct because a Calendar control provides a visual interface that inherently ensures the user selects a valid date in the correct format. Option C is also correct as a Validate rule can be set up to specifically check if the entered date meets the required dd/mm/yyyy format. Options B and D do not specifically ensure the format is correct without additional context or validation rules.