PROFESSIONAL-CLOUD-DEVELOPER · Question #285
PROFESSIONAL-CLOUD-DEVELOPER Question #285: Real Exam Question with Answer & Explanation
Sign in or unlock PROFESSIONAL-CLOUD-DEVELOPER to reveal the answer and full explanation for question #285. The question stem and answer options stay visible for context.
Question
You manage a system that runs on stateless Compute Engine VMs and Cloud Run instances. Cloud Run is connected to a VPC, and the ingress setting is set to Internal. You want to schedule tasks on Cloud Run. You create a service account and grant it the roles/run.invoker Identity and Access Management (IAM) role. When you create a schedule and test it, a 403 Permission Denied error is returned in Cloud Logging. What should you do?
Options
- AGrant the service account the roles/run.developer IAM role.
- BConfigure a cron job on the Compute Engine VMs to trigger Cloud Run on schedule.
- CChange the Cloud Run ingress setting to 'Internal and Cloud Load Balancing.'
- DUse Cloud Scheduler with Pub/Sub to invoke Cloud Run.
Unlock PROFESSIONAL-CLOUD-DEVELOPER to see the answer
You've previewed enough free PROFESSIONAL-CLOUD-DEVELOPER questions. Unlock PROFESSIONAL-CLOUD-DEVELOPER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.