nerdexam
Linux_Foundation

LFCA · Question #47

What is an appropriate cost consideration when implementing serverless functions in the cloud?

The correct answer is B. Virtual machine configuration and memory allocation. When using serverless functions, a significant cost consideration is the memory allocated to the function, as this directly impacts pricing based on consumption.

Submitted by priya_blr· May 4, 2026Cloud Computing Fundamentals

Question

What is an appropriate cost consideration when implementing serverless functions in the cloud?

Options

  • AvCPU resources and disk cache
  • BVirtual machine configuration and memory allocation
  • CRuntime environment and container configuration

How the community answered

(58 responses)
  • A
    3% (2)
  • B
    90% (52)
  • C
    7% (4)

Why each option

When using serverless functions, a significant cost consideration is the memory allocated to the function, as this directly impacts pricing based on consumption.

AvCPU resources and disk cache

vCPU resources are generally not directly configured or billed for serverless functions, as they are managed proportionally to allocated memory, and disk cache is not a standard direct cost factor for function execution.

BVirtual machine configuration and memory allocationCorrect

While serverless abstracts away the underlying virtual machine, the amount of memory allocated to a serverless function is a primary billing dimension, directly influencing the compute resources provisioned and thus the cost of execution.

CRuntime environment and container configuration

The runtime environment (e.g., Python, Node.js) is chosen but not a direct cost component, and container configuration is abstracted away or managed by the platform, not a user-level cost consideration for serverless functions.

Concept tested: Serverless function cost factors

Source: https://aws.amazon.com/lambda/pricing/

Topics

#Serverless computing#Cloud cost management#FaaS#Resource allocation

Community Discussion

No community discussion yet for this question.

Full LFCA Practice