Question 380 An infrequently used serverless function runs a few times daily. Which billing distinction should designers consider? Every function always costs the same as one dedicated VM 24 hours a day Function calls are always free regardless of quotas Assume function invocation count is irrelevant in a consumption-based plan Execution-based billing on eligible serverless plans, subject to plan details Explanation Correct Answer D:Suitable consumption options charge based on executions and resource usage rather than a permanently assigned VM. Incorrect Answers A:Billing varies by selected Functions hosting plan. B:Free grants or consumption charges depend on plan and usage. C:For applicable plans, executions and execution resource consumption contribute to function charges.
Question 381 A multi-step task must keep state while waiting for an external approval. Which related Azure Functions capability is designed for orchestration? A VM data disk snapshot Durable Functions A resource lock An Azure region pair Explanation Correct Answer B:It supports stateful function orchestrations with persisted execution progress. Incorrect Answers A:A snapshot stores disk state but doesn't coordinate workflow steps. C:Locks restrict management operations, not business workflow state. D:Region strategy is not an approval orchestration engine.
Question 382 A batch task can run for hours and needs predictable allocated resources. What should an architect check before choosing a Functions plan? Whether the function name contains 'batch' Whether a VPN gateway exists in a different subscription The resource group's assigned tags only Hosting-plan execution time limits and workload resource needs Explanation Correct Answer D:Functions hosting plans differ in time limits and compute characteristics. Incorrect Answers A:A name doesn't alter execution limits. B:Network topology doesn't waive function host limits. C:Metadata cannot extend execution duration.
Question 383 A latency-sensitive endpoint experiences slow first requests after inactivity. What serverless design consideration is relevant? Store client passwords in a source file Reduce monitoring retention to zero Rename the function app Cold-start behavior and an appropriate warm-capacity hosting option Explanation Correct Answer D:Some on-demand hosts must initialize when no instances are warm. Incorrect Answers A:Secrets do not prevent host startup latency. B:Monitoring retention does not inherently keep a function instance running. C:Names do not reserve warm workers.
Question 384 An Azure Storage queue receives work messages and the company wants a handler invoked per message. Which feature is useful? Schedule the function only once each day regardless of queued messages An availability set Azure Purview catalog scan A queue-triggered Azure Function Explanation Correct Answer D:A queue trigger can automatically invoke code when relevant messages arrive. Incorrect Answers A:A timer schedule does not directly trigger on each incoming queue message the way a queue trigger can. B:VM placement doesn't deliver a queue event handler. C:Discovery governance doesn't consume queue messages.
Question 385 A function processing payment events may run again after a transient failure. Which application design prevents duplicate payment records? Generate an unrelated new payment ID on every retry Use an idempotent write keyed by the stable payment event ID Disable audit logs instead of handling duplicates Assume every event handler executes exactly once in all circumstances Explanation Correct Answer B:The same event can be retried safely without reapplying the transaction twice. Incorrect Answers A:New IDs defeat duplicate detection. C:Logging does not enforce idempotent business writes. D:Distributed retries can lead to repeated invocations.
Question 386 A Function must read a protected Azure Storage container without a stored account key. What access pattern is suitable? Use the function app's display name as a password Hardcode a storage root key in the function source Managed identity with narrowly scoped Azure RBAC where supported Grant Anonymous public container access Explanation Correct Answer C:The function can obtain Entra-issued tokens instead of embedding long-lived account keys. Incorrect Answers A:Resource names are not authentication credentials. B:An embedded secret raises exposure and rotation risks. D:Public access violates the protected-container requirement.
Question 387 An always-on website serves many interactive pages, while a tiny task runs only when a message arrives. Which distinction matches the workloads? Azure Files can execute both workloads without compute An Azure VM can never run a website A Function must replace every website regardless of runtime requirements App Service for the hosted site and an event-triggered Function for the small task Explanation Correct Answer D:The two platform services match ongoing web hosting and episodic event code. Incorrect Answers A:Shared file storage does not execute app logic. B:VMs can host web apps, although with more administration. C:A function is not always the best hosting architecture for a full web app.
Question 388 A company packages a background service and its user-space dependencies into an image to run consistently across hosts. Which compute abstraction is being used? A full guest virtual machine image necessarily Containers Copy source files between hosts without publishing a portable container image An Azure region pair Explanation Correct Answer B:A container packages application processes and dependencies while sharing the host kernel. Incorrect Answers A:VMs typically include an entire guest OS rather than just containerized processes. C:A code-copy process does not provide the packaged dependency and runtime portability of an image. D:Geographic relationships are not deployment packages.
Question 389 A team expects a Linux container image to include a separate complete hypervisor-managed guest operating system. What is the correction? Containers generally share the host operating system kernel Every container must run a complete guest OS with its own hypervisor A container deployment always creates a new Azure subscription Containers exist only as object-storage blobs with no executing processes Explanation Correct Answer A:Isolation does not mean each image contains its own full VM OS. Incorrect Answers B:That describes VMs more closely than containers. C:Resource identity doesn't imply a subscription creation. D:Images can be stored, but containers are running workloads.
Question 390 A developer has a containerized nightly task and wants a simple way to run a container without administering an orchestrator. Which Azure service fits? Azure Virtual Desktop Azure Key Vault alone Azure Container Instances Provision a long-running VM solely to execute one short containerized batch Explanation Correct Answer C:ACI runs containers without managing VM hosts or a full Kubernetes cluster. Incorrect Answers A:AVD publishes interactive desktops, not generic containers. B:A secrets service is not a container runtime. D:An always-on VM adds infrastructure lifecycle overhead relative to supported short-lived container instances.