Courseiva
AI Implementation and OperationsmediumMultiple ChoiceObjective-mapped

AI0-001 AI Implementation and Operations Practice Question

Exhibit

Refer to the exhibit.

```json
{
  "model_policy": {
    "model": "fraud-detection-v3",
    "allowed_roles": ["data_scientist", "ml_engineer"],
    "denied_roles": ["intern"],
    "endpoint": "/api/v1/predict"
  }
}
```

Refer to the exhibit. A team created an access policy for a fraud detection model endpoint. An intern reports being unable to access the model for testing. Reviewing the policy, what is the most likely cause?

⚠ Common exam trap

CompTIA often tests the explicit deny override principle, where candidates mistakenly think that listing a role in allowed roles guarantees access, ignoring that an explicit deny in the same policy will block it.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

The intern's role is explicitly denied in the policy

The exhibit shows an explicit `Deny` effect for the intern's role in the policy. In AWS IAM (or similar cloud provider) access policies, an explicit deny overrides any allow, so even if the intern's role is listed in allowed roles, the explicit deny will block access. This is a fundamental principle of IAM policy evaluation logic.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • The intern's role is not included in the allowed roles

    Why it's wrong here

    That alone wouldn't cause denial if not explicitly denied.

  • The policy JSON has a syntax error

    Why it's wrong here

    The JSON is valid.

  • The endpoint path is incorrect

    Why it's wrong here

    Exhibit shows correct path.

  • The intern's role is explicitly denied in the policy

    Why this is correct

    Denied roles override any allowed list.

About these practice questions

One of 754 original AI0-001 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AI0-001 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AI0-001 exam.