Question 170
An AWS storage administrator needs to minimize accidental anonymous exposure of newly created S3 buckets. Which preventive baseline is most appropriate?
- Allow ACLs granting everyone read access by default
- Disable object-access monitoring and retain no logs
- Enable S3 Block Public Access at the intended scope
- Rely solely on obscurity of bucket names
Explanation
Correct Answer
C:Block Public Access settings constrain bucket or account-level public access pathways and help prevent accidental data publication.
Incorrect Answers
A:Public ACLs make objects broadly retrievable and contradict the objective of preventing anonymous exposure.
B:Losing visibility neither blocks public access nor helps investigate accidental exposure when it occurs.
D:Bucket names may be discoverable and cannot function as authorization boundaries for sensitive objects.
Question 171
An AWS security analyst needs to determine which IAM principal invoked a sensitive control-plane API. Which service provides relevant event history?
- EBS volume sizing metrics
- An Elastic Load Balancer listener rule
- Amazon Route 53 DNS routing alone
- AWS CloudTrail
Explanation
Correct Answer
D:CloudTrail records supported AWS account API activity and associated identities, supplying audit evidence for many administrative operations.
Incorrect Answers
A:Capacity metrics describe block storage use and cannot identify the caller of a cloud control-plane request.
B:Listener rules direct application traffic and do not provide general IAM principal history across account management APIs.
C:Route 53 resolves and directs name-based traffic; its primary purpose is not auditing every management API invocation.
Question 172
Azure virtual machines in a subnet should accept HTTPS from a load balancer but reject other unsolicited inbound application ports. Which Azure network control fits?
- An Azure resource tag without any enforcement policy
- A Network Security Group with scoped inbound rules
- An unrestricted route to the subnet
- A public DNS CNAME record
Explanation
Correct Answer
B:An NSG filters traffic by source, destination, port, protocol, and priority at subnet or NIC scope, supporting least-privilege admission.
Incorrect Answers
A:Tags help organize and target management operations but do not themselves block network packets to a VM.
C:Routes determine reachability but do not enforce the specified selective port-permission policy.
D:DNS aliasing affects name resolution; it does not filter packets to exposed application listeners.
Question 173
An Azure virtual machine must access Key Vault without storing a client secret in a deployment script. Which Azure feature best addresses credential handling?
- Anonymous Key Vault access to anyone on the virtual network
- The subscription owner account used by every application
- A managed identity with scoped Key Vault authorization
- A Key Vault access policy assigned to an ordinary user with a stored password
- A password checked into source control
Explanation
Correct Answer
C:Azure can issue workload identity tokens so the VM accesses the vault using assigned permissions rather than a static embedded secret.
Incorrect Answers
A:Network location does not substitute for identity authorization to read protected vault secrets.
B:Broad shared administrative authority violates least privilege and complicates revocation and attribution.
D:A user identity may be authorized, but embedding its password in a VM script defeats secretless workload authentication.
E:Source-stored credentials are long-lived exposure points and undermine the request for secretless workload authentication.
Question 174
An Azure PaaS database should be reachable from a specific VNet through a private IP without exposing its public endpoint. Which design is suitable?
- A resource group name containing 'private'
- Azure Private Endpoint with public access disabled as applicable
- Open all database ports and trust the certificate name alone
- An Internet-facing public IP with a descriptive DNS alias
Explanation
Correct Answer
B:Private Link maps access to a private address in the VNet while endpoint and DNS settings can keep the data path off public reachability.
Incorrect Answers
A:Resource naming is metadata and has no effect on database packet paths or public network exposure.
C:TLS authentication does not remove the unwanted public attack surface when listeners remain broadly available.
D:Publishing a public address remains externally reachable unless separately restricted and does not supply a private endpoint.
Question 175
Azure administrators suspect a subscription-level Azure RBAC Owner role assignment changed yesterday. Which telemetry is specifically relevant to this Azure resource-management operation?
- Azure Monitor guest operating-system performance counters alone
- A virtual machine's CPU utilization chart alone
- Only the browser's local download history
- Azure Activity Log events with scope and identity context
Explanation
Correct Answer
D:Activity Log records supported subscription and resource management events and helps reconstruct who changed administrative configuration.
Incorrect Answers
A:Guest metrics can reveal VM conditions but do not directly identify the actor who changed a subscription role assignment.
B:CPU telemetry can show load but not necessarily which management principal changed a role assignment.
C:Client history is incomplete and cannot reliably audit all cloud management operations by different administrators.
Question 176
A Google Cloud Storage bucket contains internal backups. Security policy requires that nobody can make its objects publicly readable by accidentally granting allUsers access in a future IAM change. Which control directly enforces this requirement?
- Enable uniform bucket-level access only, without a public-access restriction
- Enforce Cloud Storage public access prevention for the bucket or through organization policy
- Use the Archive storage class for every backup object
- Encrypt backups with a customer-managed key while leaving permissive public IAM bindings
Explanation
Correct Answer
B:Cloud Storage public access prevention rejects or overrides authorization granted to allUsers and allAuthenticatedUsers through supported IAM or ACL mechanisms, preventing accidental public exposure.
Incorrect Answers
A:Uniform bucket-level access disables object ACLs, but IAM can still grant allUsers broad access unless another public-access prevention policy forbids it.
C:Changing the object storage class affects cost and access characteristics, but does not prevent an IAM grant from publishing data.
D:Encryption at rest is important for key control, but it does not substitute for an explicit prohibition on public IAM access to objects.
Question 177
A GCP VPC needs to allow SSH only from an approved bastion address range to a specific group of instances. Which configuration is appropriate?
- Allow TCP 22 from 0.0.0.0/0 to all VMs
- Change the VM's display name to 'bastion-only'
- A narrowly targeted VPC firewall rule with source and target constraints
- Add a wider public DNS wildcard record
Explanation
Correct Answer
C:Google Cloud VPC firewall rules can control ingress by source ranges and targeted instances or identities, avoiding broad SSH exposure.
Incorrect Answers
A:Global SSH exposure creates unnecessary attack opportunities and ignores both the approved source and target restrictions.
B:Labels and names do not enforce source IP restrictions on the packet path by themselves.
D:Public hostname resolution is not a replacement for an ingress network firewall policy.
Question 178
A security team wants to spot cloud storage buckets exposed publicly across several accounts without manually reviewing each account. Which capability is most relevant?
- A consumer password manager without cloud API visibility
- A per-host screen-lock policy as the only control
- An application profiler measuring CPU call stacks
- Cloud security posture management with continuous configuration evaluation
Explanation
Correct Answer
D:CSPM-style assessment can inventory resources and flag insecure configurations against established policies across cloud environments.
Incorrect Answers
A:Password storage does not evaluate bucket policies or detect multi-account configuration drift automatically.
B:Host screen locks do not examine externally reachable cloud resource configurations and their permissions.
C:Performance profiling helps optimize code but does not centrally inventory access policies for cloud storage resources.
Question 179
A highly regulated tenant requires customer control over key rotation and revocation for encrypted cloud data. Which design decision is most relevant?
- Select supported customer-managed keys with defined key-access governance
- Disable encryption to simplify data migration
- Assume default provider encryption proves keys are exclusively tenant controlled
- Store every key directly in plaintext application settings
Explanation
Correct Answer
A:Customer-managed keys allow more explicit lifecycle control when a cloud service supports them, though service dependencies and availability must be planned.
Incorrect Answers
B:Removing encryption violates the confidentiality goal and does not solve the governance requirement.
C:Provider-managed encryption may be suitable but does not necessarily confer the demanded rotation and authorization control to the tenant.
D:Exposed static keys weaken secrecy and are difficult to govern, especially across many applications and administrators.
Question 180
A cloud build pipeline must sign release manifests, but security policy forbids exporting the long-lived private signing key to CI runners. The signing operation must remain auditably hardware protected. Which design fits?
- Put an encrypted private-key archive in the CI image and decrypt it at job startup
- Use a managed HSM-backed signing key with scoped API permission for the pipeline
- Publish only the public verification key in the build repository
- Enable TLS between CI agents and the source-code repository while keeping local signing files
Explanation
Correct Answer
B:An HSM-backed signing service can perform cryptographic signing without releasing the private key to build jobs. Scope sign permissions and record the requests for investigation and review.
Incorrect Answers
A:Even if an archive is encrypted at rest, the runner must eventually handle the decrypted private key, violating the requirement to keep private material outside the pipeline.
C:Distributing a public key enables independent signature verification, but it does not provide the protected operation that generates a signature with a private key.
D:TLS protects code transfer but does not prevent a compromised runner from reading signing key material that has been stored or decrypted locally.