CAD Performance & Optimization Flashcards
6 cards from real CAD practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 6 CAD Performance & Optimization flashcards as text
Which SAP CAD design pattern helps decouple UI components from business logic to improve testability and maintainability?
Answer: Model-View-Controller (MVC) with Separation of Concerns
MVC with strict Separation of Concerns keeps UI rendering, data handling, and business logic in independent layers, enabling unit testing each layer independently.
In SAP CAD performance tuning, what does 'delta merge' refer to in the HANA column store?
Answer: Moving newly inserted records from the write-optimized delta store to the read-optimized main store
Delta merge is the background process that migrates inserted or updated rows from HANA's row-based delta store into the compressed, sorted column-store main store.
Which SAPUI5 best practice reduces the number of synchronous XMLHttpRequests during application startup?
Answer: Using the sap.ui.loader with async:true and preloading via Component-preload.js
Configuring async:true in the SAPUI5 loader and shipping a preload bundle allows all modules to load in parallel, eliminating startup blocking.
What is the recommended approach to handle long-running processes in a SAP CAD application without blocking the user interface?
Answer: Offload to a background job (e.g., ABAP batch job or BTP Job Scheduling Service) and poll for status
Background jobs decouple long-running work from the HTTP request cycle; the UI polls or subscribes to a status endpoint for completion.
Which SQL technique in ABAP or HANA avoids redundant computation when the same sub-query result is needed multiple times in a query?
Answer: Common Table Expressions (WITH clause) to define reusable sub-query results
CTEs (WITH clause) let you name and reference a sub-query result multiple times in one statement, computed only once by the optimizer.
In SAP CAD, which strategy should be used to minimize the size of JavaScript bundles delivered to the browser?
Answer: Use tree-shaking and declare only the specific UI5 libraries and controls needed in the manifest.json
Declaring only required libraries in manifest.json enables the UI5 build toolchain to tree-shake unused code, producing smaller delivery bundles.