Files
Abhinav Sinha 124e5276d4 refactor(scenarios): split monolithic configuration into individual files
- Split `scenarios/scenarios.json` into individual JSON files under `scenarios/data/` named `<scenario-id>.json`
- Split `scenarios/bundles.json` into individual JSON files under `scenarios/bundles/` named `<bundle-id>.json`
- Updated `backend/server.js` to dynamically load scenario and bundle files from their respective directories
- Updated documentation in `scenarios/SCHEMA.md` and `README.md` to reflect the new repository layout and contributor workflow

Signed-off-by: Abhinav Sinha <[email protected]>
2026-06-15 07:52:47 +05:30

34 lines
981 B
JSON

{
"id": "cks-mcq-api-server",
"title": "API Server Authentication",
"category": "Cluster Setup",
"difficulty": "Easy",
"type": "mcq",
"weight": 2,
"description": "To secure the `kube-apiserver`, you should prevent unauthorized users from interacting with the cluster anonymously. Which flag is used to disable anonymous authentication on the API server?",
"options": [
{
"id": "a",
"text": "--disable-anonymous=true"
},
{
"id": "b",
"text": "--anonymous-auth=false"
},
{
"id": "c",
"text": "--auth-mode=Node,RBAC"
},
{
"id": "d",
"text": "--secure-port=6443"
}
],
"correct_option": "b",
"explanation": "The `--anonymous-auth=false` flag instructs the kube-apiserver to reject any request that is not associated with a known user or service account. By default, it is enabled.",
"hints": [],
"setup_commands": [],
"default_namespace": "default",
"teardown_commands": []
}