Question 1mediummultiple choice
Read the full Test Analysis and Design explanation →CTFL-v4 Test Analysis and Design • Complete Question Bank
Complete CTFL-v4 Test Analysis and Design question bank — all 0 questions with answers and detailed explanations.
JSON Policy Configuration:
{
"rule_id": "AUTH_01",
"conditions": [
{"field": "age", "operator": ">=", "value": 18},
{"field": "verified", "operator": "==", "value": true}
],
"action": "GRANT_ACCESS"
}Policy: If user_role is 'Admin', allow access to /config. If user_role is 'User' AND time is 09:00-17:00, allow access to /data. Otherwise, deny access.
JSON: {"policy": "if (age < 18) { status = 'minor'; } else if (age >= 18 && age < 65) { status = 'adult'; } else { status = 'senior'; }}"{
"rule_id": "DISC_99",
"conditions": {
"is_member": true,
"cart_total": 120.00,
"coupon_valid": false
},
"action": "apply_standard_discount"
}JSON Policy Rule: { "min_age": 18, "max_age": 65, "status": "active" }