Question 320 A generative AI service logs full prompts and responses containing regulated customer details into a shared developer workspace. What should the design change? Redact or minimize sensitive telemetry and restrict diagnostic destinations and access Disable all safety checks while retaining the raw customer records Grant every developer access to the raw production prompt history Copy prompts into source control to make debugging reproducible Explanation Correct Answer A:Minimized telemetry reduces unnecessary exposure while preserving useful operations evidence. Incorrect Answers B:Removing safety checks would worsen content risk without protecting logs. C:Broad access violates data minimization and confidentiality. D:Source-control copies create persistent secondary data exposure.
Question 321 A public API pod can reach an internal token-minting service within the same cluster despite no valid business need. Which architectural control limits this? Namespace and pod network isolation plus service-level authentication and authorization More load-balanced replicas of the public API Longer API token lifetimes for performance Disabling internal service request logs because the network is private Explanation Correct Answer A:Network and application authorization restrict lateral movement between workloads. Incorrect Answers B:Scaling does not constrain unauthorized access paths. C:Longer tokens can worsen theft risk and do not block reachability. D:Private networks still require monitoring and trust boundaries.
Question 322 A managed PaaS service is recreated after accidental deletion. Its data restored but identity assignments, firewall rules and private endpoints are missing. What should be in the recovery design? Version-controlled resource definitions and tested reconstruction of access and networking dependencies Data backup alone, with security configuration left to staff memory Disabling the restored service's authorization checks permanently Placing administrator credentials in the recovered data directory Explanation Correct Answer A:A service's security and connectivity configuration is part of recoverable infrastructure state. Incorrect Answers B:Data-only backup cannot recreate required role and network settings. C:Bypassing authorization is not acceptable restoration. D:Credential embedding creates new leakage risk and does not rebuild governance.
Question 323 A container pipeline signs approved images but the signing key is mounted into every untrusted build job. What should change? Isolate signing operations and use protected key custody with restricted release-stage invocation Make the signing key a public environment variable for troubleshooting Sign every output without verifying build provenance or approval Disable image signature verification in production to reduce rollout delays Explanation Correct Answer A:A protected signing boundary prevents arbitrary build code from stealing release authority. Incorrect Answers B:Public signing secrets allow malicious artifacts to appear trusted. C:Unconditional signing erodes the meaning of approved provenance. D:Removing verification defeats the supply-chain safeguard.
Question 324 A base image has an available security fix, but the pipeline keeps deploying the old digest because builds are never refreshed. Which process should be implemented? Image lifecycle updates with dependency scanning, rebuilds and controlled promotion of patched digests Permanent exemption for the old base because it once passed a scan A rule that changes image tags without rebuilding the underlying layers Removal of image provenance records to reduce update friction Explanation Correct Answer A:Rebuild and validation update actual vulnerable layers while retaining artifact lineage. Incorrect Answers B:A historical scan pass does not negate new disclosed vulnerabilities. C:Tag renaming alone leaves the same vulnerable bytes. D:Loss of provenance harms safe update and rollback decisions.
Question 325 A CI/CD workflow obtains cloud tokens using a federated identity credential that trusts every branch and repository in a large organization. What risk treatment is best? Narrow trusted issuer, audience and subject conditions to the authorized workload and deployment path Trust every organization repository because Git hosting already authenticates developers Remove pipeline audit logs and rely solely on repository names Allow the same federation to assign production roles dynamically without approval Explanation Correct Answer A:Federation trust conditions determine which workloads can exchange tokens for cloud authority. Incorrect Answers B:Broad trust lets a compromise in an unrelated repository obtain privileged access. C:Naming does not replace token subject validation and auditing. D:Unrestricted self-assigned privilege amplifies a federation misconfiguration.
Question 326 An Azure API Management gateway fronts a sensitive billing API. A compromised customer token sends thousands of requests per second. Which control directly reduces the load and abuse? Per-client rate limits and quotas combined with authentication and upstream protection A longer token lifetime so clients authenticate less often An Azure Policy tag on the backend database Disabling API request logging to reduce alert volume Explanation Correct Answer A:Gateway throttling can bound requests by client identity and support detection of abuse. Incorrect Answers B:Long-lived tokens may worsen replay and do not limit requests. C:Resource tags do not constrain API traffic rates. D:Removing logs hides the misuse without controlling volume.
Question 327 An Internet-facing App Service accepts legitimate HTTP traffic but sees repeated injection patterns. Which control should be evaluated as part of layered defense? Azure Web Application Firewall with tested rules alongside secure application input handling A network security group blocking all TCP 443 traffic permanently Only a database backup policy with no request filtering A policy disabling application logs during suspicious requests Explanation Correct Answer A:WAF can filter common HTTP attacks while code-level validation remains necessary. Incorrect Answers B:Blocking HTTPS prevents legitimate app use rather than mitigating selectively. C:Backups help recovery but do not stop malicious HTTP payloads. D:Log removal impairs detection and rule tuning.
Question 328 Build agents push approved images; runtime clusters only need to pull them. Today both identities have registry administrator permissions. How should roles change? Use separate push and pull identities with only required registry permissions Give runtime nodes permanent registry delete and purge permissions Use one shared root token for build and production clusters Remove image access logging because registry reads are normal Explanation Correct Answer A:Operation-specific roles limit what a compromised runtime node can alter. Incorrect Answers B:Runtime readers do not need rights to delete or replace build artifacts. C:Shared powerful tokens defeat separation between build and production. D:Monitoring can detect anomalous image downloads or registry changes.
Question 329 A serverless function performs account provisioning after receiving an HTTP webhook. Anyone on the Internet can invoke it with fabricated JSON. What should the architecture require? Authenticate and authorize the webhook caller and validate event authenticity before provisioning Rely on the obscurity of the function URL as the only secret Accept all events that contain a well-formatted employee name Grant the function full tenant administrator rights so it can handle any request Explanation Correct Answer A:Caller identity and signed event checks prevent unauthenticated provisioning actions. Incorrect Answers B:A discoverable URL is not sufficient authorization. C:JSON format does not prove a trusted event origin. D:Broad permissions increase damage if the trigger is abused.
Question 330 A business-critical SaaS system has no independent export or documented recovery strategy; the vendor promises 99.9% availability. What should architects evaluate? Data export, continuity dependencies and access recovery aligned to business RTO/RPO obligations Assume uptime SLA replaces the organization's own continuity planning Review the SaaS vendor's monthly uptime reports and contract SLA, leaving customer data export and independent authentication recovery untested Grant all users permanent administrator roles to accelerate emergency recovery Explanation Correct Answer A:Service availability commitments do not by themselves guarantee recoverable business data and processes. Incorrect Answers B:SLA wording may provide remedies but not actual restoration capabilities. C:Availability statistics do not establish the customer's ability to recover its records or regain control after the provider fails. D:Broad privilege introduces security risk without guaranteeing continuity.