A company needs to limit application memory usage to 512MB. Which command must they use while pushing the app?
Acf push myapp -m 512M
Bcf push myapp --memory 512MB
Ccf push myapp --disk 512M
Dcf create-app myapp -m 512M
Explanation
The correct command to set memory limit is -m; the others are incorrect usages.
Q42
What happens when you scale an app with insufficient disk quota?
ASuccessful scaling occurs
BDeployment fails with error
CApp automatically deletes older versions
DDisk quota increases automatically
Explanation
Scaling fails if disk quota is insufficient; others are incorrect scenarios.
Q43
Which service allows for application auto-scaling in Tanzu Application Service?
AApp Autoscaler
BLoad Balancer
CService Registry
DCloud Controller
Explanation
App Autoscaler enables automatic scaling based on defined metrics; others do not provide auto-scaling features.
Q44
A company needs to ensure that its applications recover quickly from failures. Which feature should they configure?
AZero Downtime Deployments
BService Binding
CIsolation Segments
DUser Authentication
Explanation
Zero Downtime Deployments allows for seamless application updates, minimizing downtime; the other options do not relate to recovery.
Q45
What happens when a user deploys an application without specifying the memory limit?
ADeployment fails due to misconfiguration
BApp uses default memory settings
CApp is limited to 256MB RAM
DApp scales out automatically
Explanation
The app uses default memory settings if not specified; other options either misinterpret default behavior or mischaracterize the app's deployment.
Q46
Which service in Tanzu Application Service is responsible for routing HTTP requests?
ARouter
BLoggregator
CHealth Manager
DScheduler
Explanation
The Router handles HTTP routing, while others serve different purposes.
Q47
A company needs to scale its application based on user demand. What should they configure?
AApp Instances
BService Brokers
CBuildpacks
DRoute Services
Explanation
Scaling affects app instances directly; others do not manage capacity.
Q48
You are configuring a lifecycle management task in Tanzu. What happens if the task fails?
AIt auto-restarts indefinitely
BIt creates a rollback
CIt stops further executions
DIt notifies all users
Explanation
A failed task halts additional executions, preventing resource wastage.
Q49
Which service in Tanzu Application Service automatically manages application instances?
AApplication Autoscaler
BService Registry
CRoute Mapper
DQuarks
Explanation
Application Autoscaler adjusts the number of instances based on demand; the others serve different functions unrelated to instance management.
Q50
A company needs to connect various microservices securely. Which feature should they use?
AService Mesh
BLog Aggregation
CTraffic Management
DDatabase Service
Explanation
Service Mesh provides secure connections between microservices; the others do not focus on microservice security.