免費下載Professional-Cloud-Developer考題 - Professional-Cloud-Developer考題資訊當然,當你在尋找Professional-Cloud-Developer考試資料的時候,肯定也會找到其他很多不同的資料。但是,經過調查或者親身試用你就會發現,Testpdf的資料是最適合你的考試準備工具。Testpdf的資料是專門為了沒有足夠的時間準備Professional-Cloud-Developer考試的考生們而開發的。它可以讓你在準備考試時節省更多的時間。而且,這個資料可以保證你一次通過考試。另外,Testpdf的資料是隨時在更新的。如果考試大綱和內容有變化,Testpdf可以給你最新的消息。
Google Professional-Cloud-Developer考試是一項重要的認證,適合想要展示其在Google Cloud Platform上開發和部署應用程式的能力的個人參加。通過此考試並取得認證,個人可以驗證其在雲端開發方面的技能和知識,有助於推動職業發展並實現其專業目標。 最新的 Cloud Developer Professional-Cloud-Developer 免費考試真題 (Q156-Q161):問題 #156
You have an application written in Python running in production on Cloud Run. Your application needs to read/write data stored in a Cloud Storage bucket in the same project. You want to grant access to your application following the principle of least privilege. What should you do?
A. Use the default service account linked to the Cloud Run revision in production.
B. Create a user-managed service account with a custom Identity and Access Management (IAM) role.
C. Create a user-managed service account with the Project Editor Identity and Access Management (IAM) role.
D. Create a user-managed service account with the Storage Admin Identity and Access Management (IAM) role.
問題 #157
You want to re-architect a monolithic application so that it follows a microservices model. You want to accomplish this efficiently while minimizing the impact of this change to the business.
Which approach should you take?
A. Build a new application with the appropriate microservices separate from the monolith and replace it when
B. Refactor the monolithic application with appropriate microservices in a single effort and deploy it.
C. Deploy the application to Compute Engine and turn on autoscaling.
D. Replace the application's features with appropriate microservices in phases.
答案:B
解題說明:
it is complete.
問題 #158
You are in the final stage of migrating an on-premises data center to Google Cloud. You are quickly approaching your deadline, and discover that a web API is running on a server slated for decommissioning. You need to recommend a solution to modernize this API while migrating to Google Cloud. The modernized web API must meet the following requirements:
- Autoscales during high traffic periods at the end of each month
- Written in Python 3.x
- Developers must be able to rapidly deploy new versions in response to frequent code changes You want to minimize cost, effort, and operational overhead of this migration. What should you do?
A. Ask the development team to re-write the application to run as a Docker container on Google Kubernetes Engine.
B. Deploy the modernized application to an n1-standard-1 Compute Engine instance.
C. Modernize and deploy the code on App Engine standard environment.
D. Modernize and deploy the code on App Engine flexible environment.
問題 #159
You need to deploy resources from your laptop to Google Cloud using Terraform. Resources in your Google Cloud environment must be created using a service account. Your Cloud Identity has the roles/iam.serviceAccountTokenCreator Identity and Access Management (IAM) role and the necessary permissions to deploy the resources using Terraform. You want to set up your development environment to deploy the desired resources following Google-recommended best practices. What should you do?
A. 1) Run the following command from a command line: gcloud config set
auth/impersonate_service_account service-account-name@project.iam.gserviceacccount.com.
2) Set the GOOGLE_OAUTH_ACCESS_TOKEN environment variable to the value that is returned by the gcloud auth print-access-token command.
B. 1) Download the service account's key file in JSON format, and store it locally on your laptop.
2) Set the GOOGLE_APPLICATION_CREDENTIALS environment variable to the path of your downloaded key file.
C. 1) Run the following command from a command line: gcloud auth application-default login.
2) In the browser window that opens, authenticate using your personal credentials.
D. 1) Store the service account's key file in JSON format in Hashicorp Vault.
2) Integrate Terraform with Vault to retrieve the key file dynamically, and authenticate to Vault using a short-lived access token.
答案:D
解題說明:
Explanation https://cloud.google.com/iam/doc ... nt-keys#file-system Whenever possible, avoid storing service account keys on a file system. If you can't avoid storing keys on disk, make sure to restrict access to the key file, configure file access auditing, and encrypt the underlying disk. https://cloud.google.com/iam/doc ... s#software-keystore In situations where using a hardware-based key store isn't viable, use a software-based key store to manage service account keys. Similar to hardware-based options, a software-based key store lets users or applications use service account keys without revealing the private key. Software-based key store solutions can help you control key access in a fine-grained manner and can also ensure that each key access is logged.
問題 #160
You are developing an internal application that will allow employees to organize community events within your company. You deployed your application on a single Compute Engine instance. Your company uses Google Workspace (formerly G Suite), and you need to ensure that the company employees can authenticate to the application from anywhere. What should you do?
A. Add a public IP address to your instance, and allow traffic from the internet. Generate a random hash, and create a subdomain that includes this hash and points to your instance. Distribute this DNS address to your company's employees.
B. Add a public IP address to your instance, and restrict access to the instance using firewall rules. Allow your company's proxy as the only source IP address.
C. Set up a VPN tunnel between your company network and your instance's VPC location on Google Cloud. Configure the required firewall rules and routing information to both the on-premises and Google Cloud networks.
D. Add an HTTP(S) load balancer in front of the instance, and set up Identity-Aware Proxy (IAP).
Configure the IAP settings to allow your company domain to access the website.