Google Cloud Professional Cloud Security Engineer Practice Exam

Disable ads (and more) with a membership for a one time $4.99 payment

Question: 1 / 330

To ensure Cloud Storage buckets are not publicly accessible, which configuration should be enforced?

Configure uniform bucket-level access and enforce domain-restricted sharing

Enforcing uniform bucket-level access combined with domain-restricted sharing is a highly effective method to ensure that Cloud Storage buckets are not publicly accessible. Uniform bucket-level access provides a way to manage permissions at the bucket level, eliminating the need for individual object permissions. This simplifies access control and significantly reduces the chances of misconfiguration that could lead to public exposure.

When uniform bucket-level access is enabled, only the predefined roles and access controls for the entire bucket are applicable, which means that granular permissions at the object level won't override bucket-level rules. Additionally, enforcing domain-restricted sharing limits access so that only users within a specific organization can access the data, further bolstering security by preventing unauthorized access from outside the organization.

In contrast, simply changing the storage class to Archive does not inherently prevent public access; it merely affects how the data is stored and accessed. Implementing VPC Service Controls enhances security by establishing a security perimeter around GCP services, but by itself, it does not specifically address public accessibility for Cloud Storage. Object Lifecycle Management is used to manage the lifecycle of storage objects, such as transitioning to less expensive storage classes or deleting them after a set period, but it does not deal with access controls. Thus, the chosen configuration is the

Set storage classes to Archive to prevent public access

Implement VPC Service Controls around Cloud Storage

Utilize Object Lifecycle Management for bucket access

Next

Report this question