Routes, bindings, secrets, API Shield, observability, rollback
120 scenario questions · 180 min · 70% Techclick practice target
⚠️ Exam Rules
| Questions in this Techclick bank | 120 |
|---|---|
| Timer | 180 min |
| Techclick practice target | 70% |
| Official exam code | CF-WORKERS-APISEC |
A team deploys a Worker for `/api/*`, but unauthenticated requests to `/api/admin/export` still reach a legacy origin before the Worker validates identity. Which deployment check should block release?
Correct: A. The release gate is proving the security control is in the actual traffic path. If the request can bypass the Worker and hit a legacy origin first, identity, authorization, logging, and rate limiting in the Worker are not protecting the endpoint. Static metadata or performance tuning does not fix route ownership.
During review, a Worker keeps an upstream API token in a plain text environment variable because the value is convenient to inspect in the dashboard. What should the reviewer require?
Correct: A. Cloudflare treats secrets as values passed to the Worker like environment variables, but the secret value is not visible after definition. Plain text variables are useful for configuration, not passwords or API tokens. Renaming a visible variable or exposing it to client code does not reduce leakage risk.
An API has high-volume authenticated clients and a documented OpenAPI schema. Which Cloudflare controls best align with OWASP API risks around abuse, unexpected payloads, and client identity?
Correct: A and B and C. Rate limiting addresses automated abuse, schema validation catches unexpected request shapes, and mTLS or JWT validation strengthens client identity. Cache TTLs and roadmap pages may help performance or communication, but they are not direct controls for broken authentication, unrestricted resource consumption, or schema drift.
A learner can change `/api/users/123/report` to `/api/users/124/report` and receive another tenant's report. The Worker already validates a session cookie. What is the missing control?
Correct: A. A valid session only proves who the caller is. The Worker must also verify that this user can access the specific object or tenant resource requested. This is the OWASP API broken object level authorization pattern; response headers, storage size, or retry logic do not enforce ownership.
A Worker returns `Access-Control-Allow-Origin: *` and `Access-Control-Allow-Credentials: true` for a student progress API. What is the safer production approach?
Correct: A. Credentialed browser APIs need explicit origin decisions and clear logging. A wildcard origin is not a safe default for session-backed data, and removing authentication or changing the path simply moves the exposure. CORS should match the intended browser trust boundary, not hide an access-control issue.
Last updated:
Yes. You can start, finish and score it for free, and download the Techclick practice certificate.
This bank has 120 original scenario-based questions with a 180-minute timer and a 70% Techclick practice target.
CF-WORKERS-APISEC is the label Techclick uses for this practice set. Check the official Cloudflare certification page for the current exam code.
No. They are original practice questions written by Techclick. This is not the vendor's official exam and not leaked dumps.
Score 70% or higher to get a Techclick practice certificate and LinkedIn badge. It is not an official Cloudflare certification.
Use the Cloudflare practice exams page (linked above) to pick the next practice test in the same track.

You earned it — let the world know!
