Dayward AI

Interview Bank

328 questions total; 1 shown with current filters.

Tag
125 more tags
#abstention2#agent-loop2#behavioral2#claude-md2#coding-agent2#consistency2#context-engineering2#context-window2#distributed-systems2#embeddings2#framework-design2#interview-prep2#interview-process2#mcp2#memory2#observability2#orchestration2#prompt-engineering2#provider-abstraction2#rag2#resume2#scalability2#scheduling2#skills2#sse2#streaming2#structured-output2#tool-calling2#agent-design1#agent-sdk1#agentic-rag1#agents-md1#api-design1#async-task1#auth1#backoff1#bi-encoder1#build-vs-buy1#career1#chunking1#communication1#concurrency1#configuration1#consistent-hashing1#content-safety1#context-assembly1#context-management1#coreference1#cost-accounting1#cost-analysis1#cross-encoder1#data-quality1#encoding1#failure-analysis1#fairness1#few-shot1#ffmpeg1#fine-tuning1#frontend1#global-market1#golden-set1#hooks1#human-in-the-loop1#hybrid-search1#image-generation1#ingestion1#json-schema1#jwt1#langgraph1#long-context1#long-term-memory1#maintenance1#mcp-basics1#media-pipeline1#mental-model1#message-bus1#messages-api1#migration1#model-routing1#moderation1#modularity1#multi-turn1#normalisation1#openai1#operations1#ordering1#overlap1#primitives1#prioritization1#priority-queue1#proactive-messaging1#product-engineering1#project-storytelling1#prompt1#prompt-basics1#prompt-bloat1#prompt-design1#prompt-injection1#prompt-surface1#prompt-techniques1#prompting1#protocol1#query-rewriting1#rag-basics1#rate-limiting1#redis-streams1#reliability1#responses-api1#retrieval1#routing1#sampling1#schema-validation1#scripts1#server-design1#sharding1#similarity1#skill-design1#stakeholder-communication1#star1#state-machine1#system-prompt1#test-set1#token-budget1#tts1#workflow-engine1

From Frontend Engineer to Agent Engineer in 30 Days

D1 LLM API Basics: messages/roles, Tokens, Streaming, Temperature; What an Agent Actually Is

  • What fundamentally separates a chatbot from an agent?聊天机器人和 Agent 的本质区别是什么?
    Common in ChinaCommon overseasBasic#agent-basics

    How to reason about it · think before answering

    1. This one invites marketing language; the test is whether your answer names engineering costs.
    2. Give the structure first: a chatbot is one call, an agent loops think → act → observe until the goal is met.
    3. Name the three additions — loop, tools, memory — and stress that tools cause side effects on the world.
    4. Immediately pair each with its cost: permissions and sandboxing, step and budget caps, observability and retries.
    5. Close with a concrete example and the infrastructure it implies: queues, state machines, cost metering.

    分析过程 · 先想清楚再作答

    1. 这题最容易答成营销话术。判断标准很简单:你的回答里有没有出现「工程代价」,没有就是背概念。
    2. 先给结构:聊天是一问一答的单次调用;Agent 是在循环里反复「思考 → 调工具 → 观察」直到目标达成。
    3. 点出三个新增件——循环、工具、记忆——并强调关键差异是「工具能对外部世界产生副作用」,这是可逆与不可逆的分界线。
    4. 紧接着说代价:有副作用就要管权限与沙箱,有循环就要管步数与成本预算,有多步就要可观测性和失败重试。这一段才是面试官想听的。
    5. 用一个具体例子收尾(能查库、发消息、定时提醒的助手),并点出它背后需要队列、状态机、成本计量。

    Key points

    • A chatbot answers once; an agent loops think → act (tool call) → observe until the goal is met
    • Three additions: a loop (multi-step), tools (side effects on the world), memory (across turns/sessions)
    • They bring engineering concerns: tool permissions and sandboxing, retries, step/cost budgets, observability
    • Example: an assistant that queries a DB, sends messages and schedules reminders needs queues, state machines and cost tracking

    答题要点

    • 聊天机器人是一问一答;Agent 是模型在一个循环里反复思考、调用工具、观察结果直到完成目标
    • 三个新增件:循环(多步)、工具(能对外界产生副作用)、记忆(跨轮次/跨会话)
    • 随之而来的工程问题:工具权限与沙箱、失败重试、成本与步数预算、可观测性
    • 举例:一个能查库、发消息、定时提醒的助手,背后要有消息队列、状态机和成本计量