Certified Pega System Architect v7.2 — Question 3
A report contains columns New Hire ID, New Hire Name, Start Date, and Location. The organization has offices in various cities throughout the U.S. A facilities manager requests a report that includes only new hires who are located in the Atlanta and Boston offices and have a start date within 30 days of the report date.
How would you configure the filter to support this requirement?
Answer options
- A. Create three conditions: Location equals Boston OR Location equals Atlanta AND Start Date equals 30 days.
- B. Create three conditions: Location equals Boston AND location equals Atlanta AND Start Date equals next 30 days.
- C. Create one condition: Location equals Boston or Atlanta, Start Date equals next 30 days.
- D. Create three conditions: Location equals Boston OR Location equals Atlanta AND Start Date equals next 30 days.
Correct answer: B
Explanation
The correct answer is B, as it correctly requires all three components: both locations must be Boston and Atlanta, and the start date must fall within the next 30 days. Options A and D incorrectly use OR for the location criteria, which would not meet the requirement for both offices. Option C fails to specify the requirement for both locations, making it invalid.