谷歌助理云工程师(ACE)考试真题(101-120)

Question 101

You need to host an application on a Compute Engine instance in a project shared with other teams. You want to prevent the other teams from accidentally causing downtime on that application. Which feature should you use?

A. Use a Shielded VM.

B. Use a Preemptible VM.

C. Use a sole-tenant node.

D. Enable deletion protection on the instance.

你需要在一个与其他团队共享的项目中的 Compute Engine 实例上托管一个应用程序。你想防止其他团队意外地造成该应用程序的停机。你应该使用哪个功能?

A. 使用屏蔽虚拟机。

B. 使用Preemptible VM。

C. 使用一个唯一的租户节点。

D. 在实例上启用删除保护。

正确答案: 

D

Question 102

Your organization needs to grant users access to query datasets in BigQuery but prevent them from accidentally deleting the datasets. You want a solution that follows Google-recommended practices. What should you do?

A. Add users to roles/bigquery user role only, instead of roles/bigquery dataOwner.

B. Add users to roles/bigquery dataEditor role only, instead of roles/bigquery dataOwner.

C. Create a custom role by removing delete permissions, and add users to that role only.

D. Create a custom role by removing delete permissions. Add users to the group, and then add the group to the custom role.

你的组织需要授予用户在 BigQuery 中查询数据集的权限,但要防止他们意外地删除数据集。你想要一个遵循谷歌推荐的做法的解决方案。你应该怎么做?

A. 只将用户添加到 roles/bigquery.user 角色,而不是 roles/bigquery.dataOwner。

B. 只将用户添加到 roles/bigquery.dataEditor 角色,而不是 roles/bigquery.dataOwner。

C. 移除一个移除删除权限的自定义角色,并且只将用户添加到该角色。

D. 移除一个移除删除权限的自定义角色。将用户添加到组中,然后将组添加到自定义角色中。

正确答案: 

D

Question 103

You have a developer laptop with the Cloud SDK installed on Ubuntu. The Cloud SDK was installed from the Google Cloud Ubuntu package repository. You want to test your application locally on your laptop with Cloud Datastore. What should you do?

A. Export Cloud Datastore data using gcloud datastore export.

B. Create a Cloud Datastore index using gcloud datastore indexes create.

C. Install the google-cloud-sdk-datastore-emulator component using the apt get install command.

D. Install the cloud-datastore-emulator component using the gcloud components install command

你有一台在 Ubuntu 上安装了 Cloud SDK 的开发者笔记本电脑。Cloud SDK 是从 Google Cloud Ubuntu 软件包库中安装的。你想在你的笔记本上用 Cloud Datastore 测试你的应用程序。你应该怎么做?

A. 使用 gcloud datastore 导出 Cloud Datastore 数据。

B. 使用 gcloud datastore indexes create 创建一个 Cloud Datastore 索引。

C. 使用 apt get install 命令安装 google-cloud-sdk-datastore-emulator 组件。

D. 使用 gcloud components install 命令安装 cloud-datastore-emulator 组件。

正确答案: 

C

参考:

The question is not about the datastore command itself but from where we should run the update command on the Ubuntu to install the component.

(问题不是关于数据存储命令本身,而是我们应该从哪里运行Ubuntu上的更新命令来安装组件)

Question 104

Your company set up a complex organizational structure on Google Cloud. The structure includes hundreds of folders and projects. Only a few team members should be able to view the hierarchical structure. You need to assign minimum permissions to these team members, and you want to follow Google-recommended practices. What should you do?

A. Add the users to roles/browser role.

B. Add the users to roles/iam.roleViewer role.

C. Add the users to a group, and add this group to roles/browser.

D. Add the users to a group, and add this group to roles/iam.roleViewer role.

你的公司在 Google Cloud 上设置了一个复杂的组织结构。该结构包括数百个文件夹和项目。只有少数团队成员能够查看该分层结构。你需要给这些团队成员分配最低限度的权限,而且你要遵循谷歌推荐的做法。你应该怎么做?

A. 将用户添加到 roles/browser 角色。

B. 将用户添加到 roles/iam.roleViewer 角色。

C. 把用户添加到一个组,并把这个组添加到 roles/browser。

D. 把用户添加到一个组,并把这个组添加到 roles/iam.roleViewer 角色中。

正确答案: 

C

参考:

roles/browser: Read access to browse the hierarchy for a project, including the folder, organization, and IAM policy. This role doesn't include permission to view resources in the project.(角色/浏览器:读取访问权限,可以浏览项目的层次结构,包括文件夹、组织和IAM策略。此角色不包括查看项目中资源的权限)

Question 105

Your company has a single sign-on (SSO) identity provider that supports Security Assertion Markup Language (SAML) integration with service providers. Your company has users in Cloud Identity. You would like users to authenticate using your company’s SSO provider. What should you do?

A. In Cloud Identity, set up SSO with Google as an identity provider to access custom SAML apps.

B. In Cloud Identity, set up SSO with a third-party identity provider with Google as a service provider.

C. Obtain OAuth 2.0 credentials, configure the user consent screen, and set up OAuth 2.0 for Mobile & Desktop Apps.

D. Obtain OAuth 2.0 credentials, configure the user consent screen, and set up OAuth 2.0 for Web Server Applications.

你的公司有一个单点登录(SSO)identity provider,支持安全断言标记语言(SAML)与 service provider 的整合。你的公司在 Cloud Identity 中拥有用户。你想让用户使用你公司的 SSO provider 进行认证。你应该怎么做?

A. 在 Cloud Identity 中,用 Google 设置 SSO 作为身份提供者,访问自定义的 SAML 应用程序。

B. 在 Cloud Identity 中,用第三方身份提供商设置 SSO,用 Google 作为服务提供者。

C. 获得 OAuth 2.0 证书,配置用户同意屏幕,并设置 OAuth 2.0 for Mobile / & Desktop Apps。

D. 获得 OAuth 2.0 证书,配置用户同意屏幕,并为网络 server 应用程序设置 OAuth 2.0。

正确答案: 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值