PCNE Configuring Network Services Practice Question
A company uses Cloud CDN to serve content. They need to generate signed URLs to allow temporary access to premium content. They have set up a signing key. Which command correctly generates a signed URL for the object /video.mp4 in a bucket served by a load balancer?
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
✓
gcloud compute sign-url --key-name mykey --expires 2024-12-31T23:59:59Z https://example.com/video.mp4
The gcloud compute sign-url command is used to sign URLs for Cloud CDN. It requires the --key-name and --expires flags.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
gcloud compute sign-url --key-name mykey --expires 2024-12-31T23:59:59Z https://example.com/video.mp4
Why this is correct
Correct: sign-url with --key-name and --expires.
- ✗
gcloud compute url-maps sign-url --key-name mykey https://example.com/video.mp4
Why it's wrong here
There is no sign-url subcommand under url-maps.
- ✗
gsutil signurl --key-name mykey https://example.com/video.mp4
Why it's wrong here
gsutil signurl is for Storage signed URLs.
- ✗
gcloud storage sign-url --key-name mykey --expires 2024-12-31T23:59:59Z https://example.com/video.mp4
Why it's wrong here
gcloud storage sign-url is for Cloud Storage signed URLs, not Cloud CDN.
Go deeper
Related to this question
About these practice questions
One of 961 original PCNE 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 →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PCNE practice question is part of Courseiva's free Google Cloud 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 PCNE exam.