Q521. How do you optimise BigQuery query cost and performance?
Cost in on-demand BigQuery is driven by bytes scanned, so reduce what each query reads. - Partition tables, usually by date, and add partition filters so only relevant pa...
Technical Question Bank · Peer-Reviewed
Search and filter frequently asked interview questions across technical, programming, and behavioral domains. Tailor your interview preparation by difficulty for freshers or experienced developers (2,728 available).
Cost in on-demand BigQuery is driven by bytes scanned, so reduce what each query reads. - Partition tables, usually by date, and add partition filters so only relevant pa...
Use the deployment history and activity log first, then drill into the resource. 1. Inspect the failed deployment operations to get the exact error code. ```bash az deplo...
Work from the outside in and use metrics before guessing. 1. Confirm scope: is it the instance, the network, the application, or a dependency? Check CloudWatch CPU, netwo...
Perfect consistency is not achievable without giving up caching; aim for bounded staleness and correct behavior. Practical rules: - On write, commit to the database first...
Cross-Site Request Forgery tricks a logged-in user's browser into sending an authenticated request to your site. Because browsers attach cookies automatically, a maliciou...
Retrying immediately in a tight loop amplifies outages. Instead: - Classify errors: retry transient ones (timeouts, 503, deadlocks) and stop retrying permanent ones (sche...
Boundaries should follow the business domain, not technical layers. Techniques: - Domain-Driven Design bounded contexts: each context has its own model and ubiquitous lan...
Because clients can compose arbitrarily deep and wide queries, a single request can exhaust the database. Defences: - Limit query depth, for example reject anything deepe...
Use one consistent, machine-readable shape. A widely adopted choice is RFC 7807 `application/problem+json`: ```json { "type": "https://example.com/problems/insufficient-f...
Next.js has several cache layers. The Data Cache stores individual fetch results and can be tagged. The Full Route Cache stores rendered HTML and RSC payloads for static ...
HireXTech uses essential storage to remember your study preferences and third-party advertising cookies via Google AdSense in compliance with GDPR. You can choose to enable essential cookies only or accept all cookies. Read our Privacy Policy.