New Year Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: Board70

Exactprep Professional-Cloud-Developer Questions

Page: 7 / 9
Question 28

Your application is composed of a set of loosely coupled services orchestrated by code executed on Compute Engine. You want your application to easily bring up new Compute Engine instances that find and use a specific version of a service. How should this be configured?

Options:

A.

Define your service endpoint information as metadata that is retrieved at runtime and used to connect to the desired service.

B.

Define your service endpoint information as label data that is retrieved at runtime and used to connect to the desired service.

C.

Define your service endpoint information to be retrieved from an environment variable at runtime and used to connect to the desired service.

D.

Define your service to use a fixed hostname and port to connect to the desired service. Replace the service at the endpoint with your new version.

Question 29

Your team is creating a serverless web application on Cloud Run. The application needs to access images stored in a private Cloud Storage bucket. You want to give the application Identity and Access Management (IAM) permission to access the images in the bucket, while also securing the services using Google-recommended best practices What should you do?

Options:

A.

Enforce signed URLs for the desired bucket. Grant the Storage Object Viewer IAM role on the bucket to the Compute Engine default service account.

B.

Enforce public access prevention for the desired bucket. Grant the Storage Object Viewer IAM role on the bucket to the Compute Engine

default service account.

C.

Enforce signed URLs for the desired bucket Create and update the Cloud Run service to use a user -managed service account. Grant the Storage Object Viewer IAM role on the bucket to the service account

D.

Enforce public access prevention for the desired bucket.

Create and update the Cloud Run service to use a user-managed service account. Grant the Storage Object Viewer IAM role on the bucket to the service account.

Question 30

Your team is responsible for maintaining an application that aggregates news articles from many different sources. Your monitoring dashboard contains publicly accessible real-time reports and runs on a Compute Engine instance as a web application. External stakeholders and analysts need to access these reports via a secure channel without authentication. How should you configure this secure channel?

Options:

A.

Add a public IP address to the instance. Use the service account key of the instance to encrypt the traffic.

B.

Use Cloud Scheduler to trigger Cloud Build every hour to create an export from the reports. Store the reports in a public Cloud Storage bucket.

C.

Add an HTTP(S) load balancer in front of the monitoring dashboard. Configure Identity-Aware Proxy to secure the communication channel.

D.

Add an HTTP(S) load balancer in front of the monitoring dashboard. Set up a Google-managed SSL certificate on the load balancer for traffic encryption.

Question 31

You are developing a marquee stateless web application that will run on Google Cloud. The rate of the incoming user traffic is expected to be unpredictable, with no traffic on some days and large spikes on other days. You need the application to automatically scale up and down, and you need to minimize the cost associated with running the application. What should you do?

Options:

A.

Build the application in Python with Firestore as the database. Deploy the application to Cloud Run.

B.

Build the application in C# with Firestore as the database. Deploy the application to App Engine flexible environment.

C.

Build the application in Python with CloudSQL as the database. Deploy the application to App Engine standard environment.

D.

Build the application in Python with Firestore as the database. Deploy the application to a Compute Engine managed instance group with autoscaling.

Page: 7 / 9
Exam Name: Google Certified Professional - Cloud Developer
Last Update: Dec 22, 2024
Questions: 265
Professional-Cloud-Developer pdf

Professional-Cloud-Developer PDF

$25.5  $84.99
Professional-Cloud-Developer Engine

Professional-Cloud-Developer Testing Engine

$28.5  $94.99
Professional-Cloud-Developer PDF + Engine

Professional-Cloud-Developer PDF + Testing Engine

$40.5  $134.99