Mobile engineer: Privacy Security and Release Reliability
Original interview scenarios on mobile privacy controls, authentication and platform boundaries, artifact verification, release evidence, and recovery of installed clients.
These prompts are original practice. They are not questions from a named employer or a live hiring loop.
1.An app needs daily counts of successful document imports. Its analytics hook also sends document names and contents, although those fields serve no approved purpose. Which change best fits the stated measurement need?
Show answer and explanation
- Keep all fields but shorten the server retention period.
- Record the permitted outcome count without the document data.
- Retain the document contents after replacing account names with stable pseudonyms.
- Send the contents only when an import fails.
Answer: Record the permitted outcome count without the document data.
A success count does not require the imported material. Retention and hashing do not justify collecting unnecessary fields, and a failure does not create an approved purpose for the contents.
2.The app's policy requires optional analytics collection to stop immediately after opt-out. The client stops uploads but continues recording events in an offline queue. Where is the control missing?
Show answer and explanation
- At event capture
- At the dashboard's user filter
- At the server's retention timer
- At the upload retry interval
Answer: At event capture
The stated rule concerns collection, so suppressing transmission alone is insufficient. The capture path must enforce the current choice, including while disconnected.
3.An analytics batch was captured with consent. Before transmission, the user opts out. The product's explicit rule forbids sending unsent optional events after opt-out. What should the retry worker do?
Show answer and explanation
- Wait for the next launch and assume permission resumes.
- Apply the current rule to the queued batch before sending.
- Send it because the capture-time choice was valid.
- Send it under a new identifier to preserve the sample size.
Answer: Apply the current rule to the queued batch before sending.
Under the supplied rule, capture-time consent does not authorize later transmission after withdrawal. The worker must enforce the current state rather than change identifiers or invent renewed permission.
4.Optional diagnostics require an affirmative user choice. On a fresh install, the consent record is absent while preferences load. Which initial state respects that requirement?
Show answer and explanation
- Collection disabled pending a valid choice
- Collection enabled if a device identifier is available
- Collection enabled for the first launch only
- Collection enabled until the first settings visit
Answer: Collection disabled pending a valid choice
An absent preference is not the affirmative choice required by this app. The initial capture state must respect that requirement before asynchronous preferences finish loading.
5.A user turns off optional usage analytics. One queue holds analytics events; another holds their unsent project edits. Which design preserves the meaning of that action?
Show answer and explanation
- Treat project edits as analytics whenever they occur offline.
- Enforce the analytics choice on its queue while retaining project work under its own rules.
- Clear analytics and unsent edits together because both queues contain outbound user data.
- Move analytics into the project queue so it can still be delivered.
Answer: Enforce the analytics choice on its queue while retaining project work under its own rules.
The two queues serve different purposes. An analytics choice should not silently discard user work or provide a new route around the optional-data control.
6.A user allows crash diagnostics but declines promotional profiling. A team wants to reuse crash-session identifiers to build advertising audiences. What must be resolved before that reuse?
Show answer and explanation
- Whether removing the crash stack makes promotional reuse compatible with the original choice
- Whether the crash provider can join the sessions without receiving the user's display name
- Whether the new purpose is authorized
- Whether the original consent record was saved before the first crash occurred
Answer: Whether the new purpose is authorized
Permission for one stated purpose does not by itself establish permission for another. An export mechanism or matching identifier format cannot answer the purpose question.
7.An optional SDK sends a device identifier during automatic startup. The app calls disable() after presenting its consent screen. What change addresses the first-launch disclosure?
Show answer and explanation
- Delete the local identifier after the startup upload and create a new one for the next launch.
- Hide the SDK's settings row until consent is recorded.
- Prevent unauthorized startup capture before the SDK initializes.
- Allow initialization but block only the SDK's next scheduled background upload.
Answer: Prevent unauthorized startup capture before the SDK initializes.
A later disable call cannot undo an earlier disclosure. Initialization and capture must obey the required choice before the SDK can transmit.
8.A telemetry design replaces account IDs with deterministic hashes but retains a stable hash on every event. What privacy conclusion is justified?
Show answer and explanation
- The hash prevents anyone with account IDs from comparing values.
- Each event becomes unlinkable when it reaches a different server.
- The events are necessarily anonymous because names are absent.
- Events remain linkable through the stable value.
Answer: Events remain linkable through the stable value.
A stable transformed identifier still links records. Depending on the identifier space and available information, hashing may also permit matching; it is not an automatic anonymity guarantee.
9.The app promises that resetting its analytics identity will sever prior analytics linkage. The client creates a new ID, but the service retains an old-to-new mapping used in reports. What is incomplete?
Show answer and explanation
- The randomness of the new identifier alone
- The display label for the reset button alone
- The reset's end-to-end linkage behavior
- The order in which the settings screen animates
Answer: The reset's end-to-end linkage behavior
The promise concerns linkage, including downstream use. A new local identifier does not fulfill it while a service still uses a retained association to join the histories.
10.A permitted report needs counts by broad service region. A proposal uploads full movement traces and derives regions on the server. The traces have no other approved use. Which alternative minimizes the disclosed data?
Show answer and explanation
- Keep the same traces but move them to a separate table.
- Upload full traces only over an encrypted connection.
- Derive the needed region and send only the permitted measurement.
- Upload the full route with a stable pseudonym in place of the account display name.
Answer: Derive the needed region and send only the permitted measurement.
Transport protection and removing a name do not eliminate unnecessary location detail. Deriving the required region can avoid disclosing a trace the report does not need.
11.Request-body logging is redacted, yet a support attachment contains access tokens from URL query strings and breadcrumb messages. What should the capture review cover?
Show answer and explanation
- Only records with a server error status
- Extend the JSON body denylist while leaving free-form breadcrumb and URL capture unchanged.
- Only the support dashboard's visible columns
- Every relevant logging channel, including URLs and interpolated messages
Answer: Every relevant logging channel, including URLs and interpolated messages
Sensitive values can enter diagnostics outside request bodies. A field filter in one channel does not protect query strings, headers, filenames, or free-form messages captured elsewhere.
12.An SDK uploads raw event values to a third party, which removes private fields before returning reports. The app's requirement forbids disclosing those fields to that party. Where must the requirement be enforced?
Show answer and explanation
- Before the prohibited disclosure occurs
- When the third party exports aggregated totals
- When old reports are archived
- When the report is rendered
Answer: Before the prohibited disclosure occurs
Filtering after receipt cannot satisfy a rule against disclosure to the receiver. The relevant data must be excluded or suitably transformed before crossing that boundary.
13.A logger excludes fields named password. A thrown error embeds a password in its message string, and that string is uploaded. Which repair addresses the leak's structure?
Show answer and explanation
- Emit safe structured error metadata without embedding the secret.
- Classify the message as an error instead of a debug event.
- Filter only objects that have a password property.
- Filter structured password properties, while retaining exception messages for debugging.
Answer: Emit safe structured error metadata without embedding the secret.
Once a secret is embedded in a string, a field-name filter may never see it as a separate value. Safe error construction and an appropriate allowlist prevent that capture path.
14.Text diagnostics exclude private messages. A new session-replay component also captures screen images showing those messages. What review is required?
Show answer and explanation
- Review image capture and its controls as a separate data path.
- Treat the existing text filter as sufficient for all capture types.
- Review only sessions where the app crashes.
- Approve capture if the image is compressed before upload.
Answer: Review image capture and its controls as a separate data path.
Pixels can disclose content that never enters a text logger. The replay path needs its own purpose, collection, protection, and retention review.
15.An exported dataset omits names but includes precise timestamps, repeated locations, and a stable device pseudonym. Which assessment is appropriate?
Show answer and explanation
- Assess each column alone and ignore their combinations.
- Treat omission of names as proof that linkage is impossible.
- Treat a pseudonym as protection against all auxiliary information.
- Assess how the fields together can identify or link people.
Answer: Assess how the fields together can identify or link people.
Combinations of location, time, and persistent identifiers may support linkage. Removing a direct name does not settle the risk posed by the remaining fields together.
16.The app's own API sends no advertising identifiers. Packet inspection shows an embedded SDK contacting another service with such an identifier. What is the right unit of privacy review?
Show answer and explanation
- Requests that use the app's central HTTP wrapper, because other clients are separate dependencies.
- Only domains operated by the app's owner
- Only fields described in the main API's schema
- The app's complete data flows, including independent SDK traffic
Answer: The app's complete data flows, including independent SDK traffic
An SDK can use separate storage and transport. Reviewing only the app-owned API path leaves those disclosures outside the evidence.
17.An app forbids putting private bearer links on the public clipboard without confirmation. A share flow copies the link first and asks afterward. What must change?
Show answer and explanation
- Shorten the link before copying it.
- Place the authorization boundary before the clipboard write.
- Clear the clipboard after cancellation and treat that as proof the earlier value was never disclosed.
- Ask for confirmation only when the recipient opens the link.
Answer: Place the authorization boundary before the clipboard write.
The prohibited side effect happens at the copy. Later cleanup cannot establish that other clipboard observers never saw it; confirmation must precede the write under the stated rule.
18.A user selects one note to export. The share attachment is a raw database backup containing other notes and session credentials. Which export design fits the selected action?
Show answer and explanation
- Build an explicit export of the selected note and permitted fields.
- Attach the full backup with a recipient-facing instruction to ignore all unrelated records.
- Remove the database table names while retaining every row.
- Encrypt the backup and include its password in the same share.
Answer: Build an explicit export of the selected note and permitted fields.
A selected-note action should project the permitted content rather than expose the internal store. Packaging or renaming does not change which data the recipient receives.
19.A privacy purge promises to remove app-managed private copies. It deletes the primary database but leaves thumbnails, temporary exports, and crash attachments. What is missing?
Show answer and explanation
- Making the primary database deletion atomic while leaving independently managed files untouched.
- A new label stating that the database was deleted
- Coverage of the other app-managed copies and their lifecycle
- Proof that the primary database file is no longer listed
Answer: Coverage of the other app-managed copies and their lifecycle
The promised scope includes more than the primary store. Derived files, temporary material, and diagnostic copies must be included in the relevant deletion or key-management design.
20.A private screen is masked only after a platform app-switcher snapshot has already been taken. The app's policy requires obscuring that snapshot where supported. What should the team investigate?
Show answer and explanation
- Only whether the app receives a final termination callback
- The snapshot and lifecycle boundary at which protection must already be active
- Only the time taken to clear the screen after capture
- Whether a higher-resolution mask can overwrite a snapshot that the platform already captured.
Answer: The snapshot and lifecycle boundary at which protection must already be active
A mask applied after capture cannot change the captured pixels. Verify the platform's relevant capture behavior and install protection before that boundary; termination callbacks are not a reliable remedy.
21.A shared device changes from account A to account B while retaining the same push token. The service still associates that token with A's private notifications. What does the token fail to establish?
Show answer and explanation
- A routable address for the push provider
- A value that can be stored in a device-registration record
- The current account authorized to receive those details
- An address that may need lifecycle management
Answer: The current account authorized to receive those details
A push token addresses an installation or endpoint; it is not sufficient evidence of the current signed-in account. Account associations and payload policy must handle account changes explicitly.
22.A mobile app receives a verified link to a private project. The host association is valid, but the current user lacks access to that project. What should determine whether its contents open?
Show answer and explanation
- Whether the same app opened that host yesterday
- Current authorization for that resource
- The link's verified host association alone
- Whether the project ID has a valid string format
Answer: Current authorization for that resource
Verified routing helps establish which app handles a link. It does not grant the current user access to every resource named by that link.
23.An exported app component accepts a request to share a file. The request supplies a claimed caller name and an arbitrary local path. Which boundary needs enforcement?
Show answer and explanation
- Accept any path that exists beneath the app's private storage root.
- Trust the claimed name when it matches a known partner.
- Accept a caller-supplied partner name if the requested path is normalized before opening it.
- Verify permitted callers and resources using trustworthy platform mechanisms.
Answer: Verify permitted callers and resources using trustworthy platform mechanisms.
Untrusted request fields do not establish caller identity or file authority. The component must validate the permitted operation, actual caller where applicable, and specific resource before granting access.
24.A user chooses one report to share. The app instead grants the recipient access to a directory containing other reports. Which adjustment narrows the capability appropriately?
Show answer and explanation
- Keep the directory grant but hide its other filenames in the UI.
- Grant access only to the selected resource for the needed scope and lifetime.
- Retain the directory grant but restrict only the share sheet's visible selection to one filename.
- Require the recipient to promise it will open only one report.
Answer: Grant access only to the selected resource for the needed scope and lifetime.
The recipient's actual capability should match the selected share. A UI convention or promise does not restrict access to other resources covered by a broad grant.
25.A WebView starts on a trusted page with a privileged native bridge, then navigates to an untrusted origin. The bridge remains available. What authority check is missing?
Show answer and explanation
- A check that the first page loaded successfully
- A check of the current document's trust before privileged bridge calls
- A check that navigation occurred inside the original WebView
- A check that every later document uses the same WebView instance that loaded the trusted page.
Answer: A check of the current document's trust before privileged bridge calls
Trust attached only to the initial load does not authorize a later document. Navigation, origins, methods, and arguments must remain within the bridge's intended authority.
26.A bridge allowlist accepts any hostname containing trusted.example. It consequently accepts trusted.example.attacker.invalid. Which matching rule fixes this specific error?
Show answer and explanation
- Accept the hostname if it uses HTTPS.
- Search for the trusted name earlier in the URL string.
- Compare the parsed origin against the intended exact origins.
- Require the trusted name to occur before the first path slash.
Answer: Compare the parsed origin against the intended exact origins.
A trusted label appearing inside another hostname does not establish the intended origin. Parse and compare the actual scheme, host, and port under the allowlist's explicit rules.
27.A native bridge is restricted to a trusted origin, but its export method accepts any file path from page JavaScript. What protection is still needed?
Show answer and explanation
- Authorize the specific operation and resource passed to the bridge.
- Confirm that the native process has operating-system access to the requested path.
- Treat every argument from the trusted origin as already authorized.
- Convert the path to an absolute string before opening it.
Answer: Authorize the specific operation and resource passed to the bridge.
Origin restriction is one boundary. A privileged operation still needs argument validation and resource authorization so a page cannot request arbitrary private files.
28.Two login attempts are pending with different transaction states and proof keys. A callback handler uses whichever transaction was started most recently. What should it use instead?
Show answer and explanation
- A new transaction created after receiving the callback
- The transaction whose account name was displayed last
- The pending transaction securely matched to that callback
- The first transaction whose browser window is still visible
Answer: The pending transaction securely matched to that callback
A response must be bound to its corresponding authorization transaction. Selecting global latest state can mix concurrent attempts and apply the wrong validation context.
29.A client supports two authorization servers. It matches callback state but ignores which issuer the pending transaction used. What additional binding matters?
Show answer and explanation
- Use the authorization server that responded fastest.
- Bind the response to the expected authorization server as required by the flow.
- Accept any response carrying a matching state value even when it comes from the other configured issuer.
- Infer the issuer from the account's display name.
Answer: Bind the response to the expected authorization server as required by the flow.
Transaction state alone does not replace the defenses needed against authorization-server mix-up. The response and token handling must remain bound to the intended issuer and flow.
30.A screen records biometricSuccess=true, then allows any payment for the rest of the day. The requirement calls for fresh approval of a particular payment's amount and recipient. What is missing?
Show answer and explanation
- A longer-lived boolean saved in encrypted preferences
- Approval bound to the specified action and required freshness
- A second check that the device has a screen lock
- A session-wide biometric-success bit that stays valid as long as the app remains in the foreground.
Answer: Approval bound to the specified action and required freshness
The stated requirement concerns a particular action. A generic success bit with broad lifetime does not establish fresh approval of the amount and recipient being submitted.
31.An app hides its transfer button unless a local biometric check succeeds. Its server accepts transfer requests without checking the user's transfer permission. What boundary remains unprotected?
Show answer and explanation
- The operating system's ability to show a biometric prompt
- The button's visibility transition
- Server authorization of the requested transfer
- The local animation after biometric success
Answer: Server authorization of the requested transfer
A local UI gate cannot enforce the server's resource and action permissions. Requests must be authorized at the service even when the intended client performs a local check.
32.A device attestation response is valid. The requester asks to delete a workspace owned by someone else. What does the attestation fail to establish?
Show answer and explanation
- Input to a policy that also checks account authority
- A signal about the attested device or app context
- Permission to delete that workspace
- Evidence that may inform a broader risk decision
Answer: Permission to delete that workspace
Device or app integrity evidence does not confer ownership or operation permission. Resource authorization remains a separate requirement.
33.A token-refresh request for account A completes after the user has switched to B. Its callback writes into a global current-token slot. What should the credential update be bound to?
Show answer and explanation
- The refresh response's arrival order alone
- The last account to open the settings screen
- The account currently visible when the successful refresh response is received, regardless of its origin.
- The original account and still-valid session generation
Answer: The original account and still-valid session generation
Credential results belong to the session that initiated them. An account or generation change must prevent a late response from replacing another account's credentials.
34.The user signs out while the phone is disconnected. The app immediately clears its local session and locks private views. Which additional claim cannot be inferred from those local actions?
Show answer and explanation
- The app can record a revocation request for later delivery.
- Every server-side session has already been revoked.
- This installation has removed its local session reference.
- The app can require sign-in before reopening protected views.
Answer: Every server-side session has already been revoked.
A disconnected client cannot conclude that a server received and applied revocation. Local sign-out effects and remote revocation have different evidence and timing.
35.An administrator revokes access while a device remains offline. A proposal promises instant revocation of all previously downloaded content without any new information reaching that device. What is the design issue?
Show answer and explanation
- The device can infer the revocation from an unchanged account ID.
- A background timer establishes that the server revoked access.
- A longer local cache lifetime would make the promise enforceable.
- The promise exceeds what the disconnected device can learn.
Answer: The promise exceeds what the disconnected device can learn.
Without communication or a previously defined local expiry rule, the device cannot learn a new remote decision instantly. Define an honest offline-access policy with appropriate bounds and recovery behavior.
36.A grant expires at 15:00 according to a trusted service. After changing the phone's wall clock backward, the app accepts the grant for several more hours. What assumption failed?
Show answer and explanation
- The local wall clock was treated as sufficient authority for expiry.
- The grant's scope was narrower than the user's account scope.
- The app treated the grant's intended operation scope as narrower than the signed-in user's overall permissions.
- The service used an expiry instead of a display timestamp.
Answer: The local wall clock was treated as sufficient authority for expiry.
User-adjustable wall time alone cannot uphold that security expiry. The design needs the defined trusted-time or bounded-offline policy and must handle unavailable evidence without silently extending authority.
37.A restored backup contains encrypted drafts, but the decryption key was intentionally nonportable and was not restored. What must the recovery flow account for?
Show answer and explanation
- The app can reconstruct any strong key from the ciphertext's checksum.
- The backup's successful file restore proves the drafts are readable.
- The ciphertext may be unrecoverable without an authorized key-recovery path.
- The app can derive the original key from the restored ciphertext so long as its backup checksum matches.
Answer: The ciphertext may be unrecoverable without an authorized key-recovery path.
Restoring bytes does not restore a missing decryption capability. Recovery must follow the actual key design and explain limitations rather than assume or invent a replacement key.
38.A key rotation creates K2 and immediately destroys K1. Most local records still contain ciphertext encrypted with K1. What sequencing requirement was missed?
Show answer and explanation
- Keep K2's display name identical to K1's display name.
- Preserve authorized decryption until the migration and recovery requirements are satisfied.
- Change every record's key-version metadata to K2 before confirming that its ciphertext was actually re-encrypted.
- Retry decryption with K2 until the old records open.
Answer: Preserve authorized decryption until the migration and recovery requirements are satisfied.
A new key cannot generally decrypt ciphertext made with the old one. Rotation must account for every required record and recovery copy before retiring decryption capability.
39.The app has rotated its current storage key. An older retained backup still contains ciphertext and the corresponding old key. What does rotating the current key alone fail to establish?
Show answer and explanation
- That new records may use the new key
- That current ciphertext can carry a key version
- That the old backup can no longer be decrypted
- That a migration can verify new-key reads
Answer: That the old backup can no longer be decrypted
Revocation claims must include retained copies and keys. Changing the active key does not remove an old key from a backup that still contains both components needed for decryption.
40.A local database is encrypted at rest. While the app is unlocked, a diagnostic SDK reads private model objects and uploads them. Which boundary does storage encryption leave unresolved?
Show answer and explanation
- Reading the database file without its key
- Separating a database key from an exported file
- Use and disclosure of plaintext inside the running app
- Protecting the closed database file against a party that does not possess the decryption key
Answer: Use and disclosure of plaintext inside the running app
At-rest protection does not prevent authorized runtime code from observing plaintext. SDK access and outbound capture require their own controls.
41.A location feature is approved to use coarse regions. Permission state is stored as one boolean, and the collector requests precise coordinates whenever that boolean is true. What should the application represent?
Show answer and explanation
- Only whether the user opened the location feature
- Only the original permission result, since a positive result authorizes any precision the sensor can provide
- Only whether the device has a location sensor
- The permitted precision and purpose, beyond a granted flag
Answer: The permitted precision and purpose, beyond a granted flag
A granted permission does not by itself express every application-level limit. Collection should respect the approved precision and purpose available under the platform's actual capabilities.
42.An authenticated API request receives a redirect to an unrelated HTTPS host. A custom redirect handler forwards the original bearer header. What must be constrained?
Show answer and explanation
- Only whether the redirect status is temporary
- Credential forwarding across the destination trust boundary
- Only how many redirects the client follows
- Only the new host's valid TLS certificate, treating that as permission to receive the original bearer header
Answer: Credential forwarding across the destination trust boundary
TLS can protect transmission to the wrong receiver. A change of destination does not authorize forwarding the original host's credentials to that receiver.
43.A release build retains a user-editable API base URL. Changing it to a personal test server also sends the user's production bearer token there. What separation is missing?
Show answer and explanation
- Requests should include the app's marketing version.
- Persist the user-selected base URL before loading credentials, then attach the same production token to it.
- Production credentials must be restricted to their intended trusted destinations.
- The test server should use the same endpoint path names.
Answer: Production credentials must be restricted to their intended trusted destinations.
Endpoint selection must not silently extend a credential's audience. A configurable address is not authorization to disclose production credentials to the chosen receiver.
44.A network error handler retries failed certificate validation with a client that trusts every certificate. Why is this fallback defective?
Show answer and explanation
- It preserves certificate validation failures until after a user-initiated retry, without changing the verifier.
- It allows the user to retry the same screen.
- It keeps the original request's HTTP method.
- It bypasses the identity check that made the connection fail.
Answer: It bypasses the identity check that made the connection fail.
The fallback removes the protection whose failure should stop the connection. Availability handling must preserve the intended peer validation rather than accept an unverified identity.
45.An app verifies an update file against a checksum downloaded beside it from the same untrusted location. Both file and checksum can be replaced there. What evidence is still missing?
Show answer and explanation
- Evidence that the file's bytes can be hashed
- Evidence that the file has a recognizable extension
- Authenticity anchored in a trusted verification source
- Evidence that the checksum string was downloaded completely
Answer: Authenticity anchored in a trusted verification source
A matching checksum detects disagreement with that checksum. If an attacker controls both, it does not establish trusted origin; verification must be anchored outside that replaceable pair.
46.A signed configuration is authentic but older than the app's minimum permitted security policy version. The signature is valid. What additional policy must the verifier enforce?
Show answer and explanation
- The file's most recent local download timestamp alone
- The required version or rollback constraint
- The order of JSON keys in the configuration
- The presence of a human-readable release label
Answer: The required version or rollback constraint
Authenticity and freshness constraints are separate. An authentic old policy can still violate a defined minimum version or rollback rule.
47.A service accepts X-App-Version: 99 as proof that a client enforces a sensitive local safeguard. Any requester can set that header. What should the service conclude?
Show answer and explanation
- Repeating the header on every request makes it independently verifiable.
- A syntactically valid version proves the installed binary is genuine.
- The header is a client claim, not proof of safeguard execution.
- The high version proves that the safeguard ran.
Answer: The header is a client claim, not proof of safeguard execution.
An unauthenticated client-supplied version is useful metadata but cannot prove behavior. Security decisions need evidence appropriate to the property being enforced.
48.A team tested binary A. It then rebuilt from the same source commit with different dependencies and build flags and distributed binary B. What evidence links the tests to the distributed artifact?
Show answer and explanation
- The tested and shipped artifact identities and their relevant provenance
- The source commit alone, regardless of build inputs
- The marketing version shown on the splash screen alone
- The source commit and marketing version together, without accounting for dependency or flag differences
Answer: The tested and shipped artifact identities and their relevant provenance
A source revision does not uniquely identify an artifact when inputs differ. Release evidence should connect checks to the exact distributed build and its relevant inputs.
49.Two release builds share marketing version 6.2 but use different build IDs and symbol files. A crash service selects symbols using only 6.2. What must the symbol lookup distinguish?
Show answer and explanation
- Only the country in which the build was installed
- Only whether the crash occurred after launch
- The exact build corresponding to the crash
- Only the app's public product name
Answer: The exact build corresponding to the crash
Symbolication must match the actual executable build. Reusing a marketing label does not establish that addresses and symbols correspond.
50.A beta installs one architecture variant. Production also delivers a second architecture variant with a different native library. What coverage gap remains?
Show answer and explanation
- The beta's visual theme alone
- The beta's download-size estimate alone
- The store description's architecture wording alone
- The untested delivered variant
Answer: The untested delivered variant
An exercised artifact variant is not evidence for a different native library or architecture. The release matrix must account for the variants actually delivered.
51.A debug build excludes an analytics SDK, so its consent test observes no traffic. The shipping variant includes the SDK. What is the strongest next check?
Show answer and explanation
- Treat the debug result as proof because application source is shared.
- Check only that both variants use the same app icon.
- Verify capture controls and traffic in the shipping variant.
- Compare only the consent screen's screenshots.
Answer: Verify capture controls and traffic in the shipping variant.
The observed absence of an excluded component says little about that component in production. Test the relevant capture behavior in the build that includes it.
52.A remote flag can disable a risky component, but the component crashes during initialization before the flag loader runs. What does the kill switch lack?
Show answer and explanation
- A shorter display name for the flag
- A reachable control path before the failure
- An additional setting in the server dashboard alone
- A larger cohort percentage for flag delivery
Answer: A reachable control path before the failure
The control must be reachable before the behavior it is meant to stop. A remote value cannot help a process that fails before fetching or applying it.
53.A signed feature configuration fails validation. The explicit policy permits viewing local drafts but forbids starting remote transfers without a valid policy. Which fallback fits that rule?
Show answer and explanation
- Treat signature failure as authorization to use unrestricted defaults.
- Delete drafts to force the user onto the newest configuration.
- Keep permitted draft access and block the policy-dependent transfers.
- Enable all transfer features using fields that happened to parse.
Answer: Keep permitted draft access and block the policy-dependent transfers.
A fallback should follow the defined capability boundaries. An invalid policy does not justify granting the restricted action or destroying unrelated permitted user data.
54.A privacy incident requires stopping an optional collector. A backend flag blocks ingestion, but old offline clients still record the sensitive values locally. What has the backend control not accomplished?
Show answer and explanation
- Stopping collection inside those clients
- Changing the server's handling of incoming requests
- Providing one server-side containment measure
- Stopping the controlled ingestion endpoint from accepting events
Answer: Stopping collection inside those clients
A server can control its own receipt and processing. It cannot retroactively change code or local capture on a disconnected client; the incident response must distinguish those boundaries.
55.A new binary stops writing a private value to logs. Old diagnostic uploads remain in retained storage. What separate work is still needed under a policy requiring their removal?
Show answer and explanation
- Address the retained copies through the applicable deletion process.
- Increase adoption of the fixed binary and assume old data vanishes.
- Make the corrected binary mandatory and treat that as deletion of diagnostics already held by the service.
- Remove the logging call from the current source branch again.
Answer: Address the retained copies through the applicable deletion process.
A future capture fix does not delete earlier disclosures. Retained records and copies need their own scoped response under the policy and storage design.
56.A hotfix restores the previous application code, but a faulty release already changed local records' units from meters to centimeters without a marker. What does code rollback alone fail to resolve?
Show answer and explanation
- The meaning and repair of already-mutated data
- The existence of a prior executable artifact
- The ability to check out the previous source revision
- The previous UI's original field names
Answer: The meaning and repair of already-mutated data
Restoring code does not undo persisted changes. Data repair needs evidence about which values were transformed and a safe migration or recovery plan.
57.An upgrade check starts from a fresh empty database and passes. Real failures affect populated stores from two supported versions ago. Which missing case should block a migration claim?
Show answer and explanation
- A second fresh installation with a different theme
- An empty database with the new version's schema name
- A populated supported upgrade path
- A repeated launch after reinstalling and clearing all data
Answer: A populated supported upgrade path
Fresh installation bypasses the old state the migration must handle. Verify representative supported source versions and populated data, including failure and recovery behavior.
58.A newer app adds a required database structure. A proposed operational rollback installs the older binary, which cannot read that structure. What needs validation before promising rollback?
Show answer and explanation
- Only whether the new binary can read a fresh database
- Only whether the older binary is still available to download
- Only whether the new binary successfully creates and reads a fresh database using its own required structure
- The older binary's compatibility with state left by the newer one
Answer: The older binary's compatibility with state left by the newer one
Binary availability does not establish state compatibility. A rollback plan must account for persisted formats and identify a safe forward fix or recovery when downgrade is incompatible.
59.A restored device backup contains an older schema and pending edits. The upgrade test matrix covers ordinary in-place updates only. What path is missing?
Show answer and explanation
- A fresh install with no backup
- A launch using only a newly created account
- Restore followed by upgrade and recovery of pending work
- A fresh installation followed by a new edit, without restoring any old schema or queued work
Answer: Restore followed by upgrade and recovery of pending work
A restored snapshot can reintroduce older state through a different lifecycle path. The test must verify its schema transition and treatment of pending user work.
60.A crash workaround deletes the local store on launch. That store includes the only copy of unsent research notes. What must be resolved before adopting it?
Show answer and explanation
- Whether the next database file will have a new timestamp
- Recovery and disposition of the user's unique work
- Whether deleting the store makes startup faster
- Whether the workaround fits in one release note
Answer: Recovery and disposition of the user's unique work
A reset may suppress a crash by discarding the affected state while causing irreversible loss. Recovery requirements must cover unique pending work before using destructive repair.
61.A canary's crash dashboard counts only sessions that initialized its reporting SDK. The new release sometimes crashes before that initialization. What makes the observed rate incomplete?
Show answer and explanation
- Failed early launches can be absent from its denominator and reports.
- Every initialized session necessarily hides an early failure.
- The reporter must have observed every failed launch because it successfully observed some completed launches.
- The canary cohort is too large to measure.
Answer: Failed early launches can be absent from its denominator and reports.
Measurement requires observing the relevant population. A startup-dependent reporter can miss the very failures under investigation, so independent launch evidence or coverage is needed.
62.An app records a local crash while offline. Its dashboard attributes the report to the day of upload rather than the failure time. What ambiguity can this introduce during a rollout?
Show answer and explanation
- Old failures can appear to be failures of the current observation window.
- The upload timestamp establishes the time and installed build of the failure even when the record was queued offline.
- The crash must have occurred after the most recent server deployment.
- Every delayed report can be ignored because it arrived late.
Answer: Old failures can appear to be failures of the current observation window.
Occurrence time, build identity, and receipt time serve different purposes. Delayed uploads can mislead rollout decisions if the analysis treats receipt time as failure time.
63.A rollout is evaluated after one hour. Only devices that open immediately appear, while an important weekly background task has not run. What evidence is still missing?
Show answer and explanation
- The release's assigned rollout percentage
- Behavior of the unexercised task under the new release
- The elapsed time since the rollout started
- The launch-success count, treating it as evidence that every scheduled task in those sessions also succeeded
Answer: Behavior of the unexercised task under the new release
An observation window must expose the behavior being assessed. More confidence in an early-launch metric does not substitute for exercising a deferred critical task.
64.A release comparison puts high-end Wi-Fi beta devices against an older release's low-memory cellular population. What should the performance analysis address?
Show answer and explanation
- Only the average across both cohorts combined
- Only whether both cohorts used production servers
- The different device and network composition of the cohorts
- Only equal observation-window lengths, assuming that removes differences caused by device and network composition
Answer: The different device and network composition of the cohorts
A raw difference can reflect cohort composition. Compare relevant strata or use a design that makes the target release effect interpretable for the population of interest.
65.In a window, 100 distinct users are observed. One user experiences ten crashes; the other 99 experience none. Defining crash-free users as users with zero crashes, what is the rate?
Show answer and explanation
- 90%
- 10%
- 100%
- 99%
Answer: 99%
There are 99 crash-free users out of 100, so the rate is 99/100 = 99%. Counting ten crash events does not turn them into ten distinct affected users.
66.One rollout report divides crash-free sessions by sessions; another divides crash-free users by users. Their percentages differ. What must be aligned before treating the difference as a regression?
Show answer and explanation
- The metric definition and observation population
- Only matching percentage precision, because both measures use crash-free outcomes
- Only identical observation windows, while continuing to compare a per-session fraction with a per-user fraction
- Only equal sample counts, regardless of whether those counts represent users or sessions
Answer: The metric definition and observation population
Session and user measures have different units and weighting. A numerical comparison needs a consistent definition, time window, and population before it supports a release conclusion.
67.For this gate, a supplied model estimates a zero-event upper bound as 3/n, with n independent observed sessions. At n=300, what approximate bound does that model give?
Show answer and explanation
- 3%
- 0%
- 0.1%
- 1%
Answer: 1%
Using the supplied approximation, 3/300 = 0.01 = 1%. Zero observed events is not a zero upper bound, and the model's independence and observation assumptions still matter.
68.The explicit release gate requires zero confirmed disclosures of private notes to an analytics service. Crash and latency metrics are green, but a verified trace shows such a disclosure. What should govern expansion?
Show answer and explanation
- The percentage of users who noticed the disclosure
- The crash-free rate alone
- The average of crash and latency improvements
- The violated disclosure gate
Answer: The violated disclosure gate
A release can violate a security or privacy invariant while availability metrics look healthy. The confirmed breach of this stated gate is independently sufficient to stop expansion and investigate.
69.A report says 99.9% of devices accepted a security configuration within a day. Its denominator includes only devices that fetched configuration that day. What population does the figure describe?
Show answer and explanation
- All installations, because the endpoint was available even to devices that never contacted it
- Those fetching devices, without establishing coverage of absent devices
- All devices that will ever return online
- Only devices running the oldest installed binary
Answer: Those fetching devices, without establishing coverage of absent devices
The denominator excludes devices that did not contact the service. The figure cannot establish that an unreachable or dormant installation applied the configuration.
70.A rollout report marks missing telemetry as successful sessions. A network outage increases the number of missing records. What should the release analysis preserve?
Show answer and explanation
- The previous release's outcome for each absent record
- Missing or unknown outcomes as distinct from observed success
- Failure for every missing record without further evidence
- Success for every missing session, because an unreceived crash report is equivalent to an observed clean exit
Answer: Missing or unknown outcomes as distinct from observed success
Absence of evidence does not identify the outcome. Preserve uncertainty and investigate coverage instead of silently imputing success or asserting every missing case failed.
71.A server feature flag hides a restricted mobile action, but the underlying API still permits that action to any signed-in user. What must protect the operation?
Show answer and explanation
- The API's own authorization policy
- The flag's display value in the client
- The absence of a public button for the action
- The order of items in the mobile menu
Answer: The API's own authorization policy
A feature flag may change exposure or availability. The API still needs to authorize the action independently of which client controls are visible.
72.A policy update pairs a new allowed-recipient list with a new validation mode. The app installs those fields separately, exposing a mixed state that neither policy permits. What update property is needed?
Show answer and explanation
- Keep retrying transfers until both fields happen to update.
- Treat the most recently written field as authority for both.
- Fetch the recipient list more often than the mode.
- Apply a complete validated policy version coherently.
Answer: Apply a complete validated policy version coherently.
Security decisions should use a valid complete policy state. Independently visible fields can create an unintended combination even if each complete version is acceptable.
73.A signed remote configuration includes a field instructing the app to upload any chosen private file. The config signer is authorized only to select predefined themes. What should the client enforce?
Show answer and explanation
- Execution of the instruction if its JSON parses
- Execution only after showing the theme's preview
- Acceptance of every field because the signature is valid
- The signer's permitted configuration capabilities
Answer: The signer's permitted configuration capabilities
A valid signature identifies an authorized signing source but does not enlarge its intended authority. The client must constrain the operations that configuration can express and enable.
74.The app encrypts a note export but puts its decryption key in the same shared attachment. The recipient was never authorized to receive that note. What issue remains?
Show answer and explanation
- Insufficient separation between the file and its extension
- Failure to preserve the attachment's filename
- An inability to calculate the attachment's checksum
- Unauthorized disclosure to the recipient
Answer: Unauthorized disclosure to the recipient
A receiver holding ciphertext and its key can read the note. Encryption packaging does not replace authorization of the underlying disclosure.
75.An app has a runtime permission for camera access. A new feature uploads captured images to an external model service, a use not covered by its approved data policy. What does the device permission fail to establish?
Show answer and explanation
- The app's ability to request camera frames within the operating system's granted capability
- A capability that may be necessary to capture an image
- Authorization for that separate data use and disclosure
- The existence of a platform permission decision
Answer: Authorization for that separate data use and disclosure
A platform capability grant does not settle every purpose or destination for captured data. The new service flow requires its own review under the applicable policy.
76.A photo job was queued when the user allowed optional photo analysis. Before the worker opens the photo, the user revokes that choice. The app's policy forbids processing after revocation. Where must the policy be enforced?
Show answer and explanation
- At the worker's processing boundary as well as initial scheduling
- Only when a progress notification is displayed
- Only after the worker receives a server result
- Only when scheduling, retaining that decision as authority for every later retry despite the changed choice
Answer: At the worker's processing boundary as well as initial scheduling
Scheduling-time eligibility may be stale when work runs. The stated rule requires checking current permission before the prohibited processing, including on resumed and retried jobs.
77.An OAuth callback contains an unfamiliar state value. The handler starts a new login transaction and treats that new state as a match. What is wrong with that validation?
Show answer and explanation
- It has not matched the response to an existing initiated transaction.
- It rejected the old state instead of accepting a callback solely because it used the registered redirect scheme.
- It checks the callback after parsing the URL.
- It requires the user to see a browser page.
Answer: It has not matched the response to an existing initiated transaction.
Creating validation context from an unrecognized response does not bind it to a prior request. Reject or safely restart the flow without treating that response as authenticated success.
78.A successful login callback was consumed and its pending transaction closed. A replay of that callback later replaces the current account session. What lifecycle rule is missing?
Show answer and explanation
- Keep every completed callback valid until the app is upgraded.
- Reject a callback that no longer matches a valid pending transaction.
- Allow replay after closure if the URL uses the registered scheme and the callback was successful once before.
- Choose the account from the most recently received callback.
Answer: Reject a callback that no longer matches a valid pending transaction.
The callback must fit the live authorization transaction and its replay protections. A valid route does not authorize reusing a closed transaction to overwrite current session state.
79.A token is intended for service A. Service B accepts it because its signature is valid, without checking the intended audience. Which check is missing?
Show answer and explanation
- Whether the token has a recognizable separator
- Whether service A is reachable from the same network
- Whether that token is meant to authorize access to B
- Whether both services use the same user display names
Answer: Whether that token is meant to authorize access to B
Signature validation is not the entire token-validation policy. Service B must enforce the intended audience and other applicable claims rather than accept a token solely because its signature verifies.
80.A certificate transition is tested only with the newest app and the newest server certificate. A supported older binary trusts the prior set, and renewal includes an intermediate-chain change. What should the transition matrix include?
Show answer and explanation
- Only the newest app against the latest certificate, treating its success as evidence for all installed trust sets
- Only whether the certificate file has the previous filename
- Only the newest binary against its development server
- Supported installed trust sets against the intended transition chains
Answer: Supported installed trust sets against the intended transition chains
A successful new-to-new connection does not establish compatibility for installed clients. Test the actual trust configurations and chains used during each supported transition state.
81.A test expects a denied export to return an error. It passes, but the implementation uploads the file before returning that error. What assertion is missing?
Show answer and explanation
- That the forbidden disclosure never occurred
- That the error text has the expected punctuation
- That the error response arrives within the timeout
- That the error screen includes a back button
Answer: That the forbidden disclosure never occurred
A denial result alone does not prove enforcement. Observe the side-effect boundary, such as recipient traffic or storage, to establish that the protected data was not exported.
82.A team wants to test whether diagnostic uploads leak bearer tokens. Which test material and observation are appropriate?
Show answer and explanation
- Review only field names in source and infer that free-form strings cannot carry the synthetic token.
- Only the final dashboard's redacted view
- A real user's live token copied into a shared test report
- A synthetic canary secret inspected across relevant captured outputs
Answer: A synthetic canary secret inspected across relevant captured outputs
A synthetic recognizable value can expose unintended capture without distributing a real credential. Inspect the relevant capture, storage, and transmission paths rather than only a filtered presentation.
83.A security report says local data is protected because no readable values were found in one database file. The app also writes temporary previews and diagnostic attachments. What limits the report's conclusion?
Show answer and explanation
- The other copies are necessarily encrypted in the same way.
- A database filename establishes the protection of every app file.
- Encryption never protects stored data.
- It checked only one storage surface.
Answer: It checked only one storage surface.
Evidence about one file does not cover other copies. The storage review must identify the surfaces within its claimed scope and verify their actual protection and lifecycle.
84.A redaction test covers a top-level token field. Production also logs nested arrays, exception strings, and URL values. Which extension best tests the stated exclusion rule?
Show answer and explanation
- Exercise representative nested and alternate capture forms with synthetic sensitive values.
- Change the token's value in the same top-level fixture and treat that as coverage of URLs and exception strings.
- Ignore alternate forms because the field-name test passed.
- Check only that the top-level filter still returns an object.
Answer: Exercise representative nested and alternate capture forms with synthetic sensitive values.
The same sensitive information can enter through different structures and channels. Fixtures should cover relevant representations and inspect emitted content, including strings not handled by object-key filtering.
85.An app-store privacy declaration says no contact data is collected. The shipping SDK configuration uploads address-book entries. What must be reconciled?
Show answer and explanation
- Only the declaration's last-edited date
- Only whether the SDK is listed in the dependency manifest
- Only the dependency manifest, assuming an SDK's published description proves its effective runtime configuration
- The actual behavior and the applicable declaration and data policy
Answer: The actual behavior and the applicable declaration and data policy
A declaration is not evidence that runtime behavior conforms. Investigate and correct the flow and required disclosures; do not infer compliance from paperwork or a dependency listing alone.
86.An SDK update adds collection of an existing identifier without requesting a new operating-system permission. Why is watching permission prompts an insufficient release review?
Show answer and explanation
- No new prompt proves that network payloads are unchanged.
- Every identifier is outside the scope of privacy review.
- Existing permissions authorize every new SDK purpose.
- Data flows can change without a new platform permission request.
Answer: Data flows can change without a new platform permission request.
The platform's permission system does not enumerate every data use or outgoing field. Review the changed SDK's actual capture and transfers in the relevant shipping configuration.
87.A private value is visually masked, but the screen's accessibility representation exposes its full text contrary to the app's defined privacy mode. What should be corrected?
Show answer and explanation
- Move the same private value into a hidden label.
- Disable accessibility throughout the product, including screens with no private data or conflicting requirement.
- Align that representation with the privacy mode while preserving usable access to permitted content.
- Reduce the text's visual opacity further.
Answer: Align that representation with the privacy mode while preserving usable access to permitted content.
Privacy review includes nonvisual representations. Correct the unintended exposure at that surface without assuming visual masking protects it or discarding accessibility throughout the product.
88.Account B signs in on a shared device. A cached notification tray inside the app still displays private previews fetched for A. What scope should govern that cached presentation?
Show answer and explanation
- Only the current device's push token
- The authorized account context of the cached content
- Only the fact that both users signed in on the same phone
- Only whether the previews are less than a day old
Answer: The authorized account context of the cached content
Cached presentation can disclose another account's data even without a new network request. Account transitions must invalidate, isolate, or gate private content according to its actual authorization scope.
89.A background task runs while protected storage is locked. It cannot obtain the key for a private draft. A proposed fallback stores the draft in plaintext so the task can finish. What is the sound response?
Show answer and explanation
- Use plaintext temporarily and assume it cannot be copied.
- Log the key request and continue writing without encryption.
- Place the plaintext in a file with an encrypted-looking extension.
- Defer or fail safely under the defined key-availability policy.
Answer: Defer or fail safely under the defined key-availability policy.
An unavailable protection capability does not authorize a weaker storage path. Plan task scheduling, retries, and user recovery around the intended key and lock-state policy.
90.A retry after an authentication failure resends a private request without credentials, hoping the endpoint accepts anonymous traffic. The operation requires authentication. What invariant must the retry preserve?
Show answer and explanation
- Only its original timeout value
- The operation's required authentication and authorization
- Only its original order in the queue
- Only the original payload and endpoint, allowing credentials to be omitted if the endpoint accepts that form
Answer: The operation's required authentication and authorization
Recovery must not weaken the security conditions of the original operation. Reauthenticate or stop according to policy rather than silently attempt a less-protected request.
91.A corrected binary is available in the store. A release report marks every affected installation as repaired, without observing adoption or an independent mitigation. What evidence is missing?
Show answer and explanation
- The fact that a corrected package can now be downloaded
- Whether the affected installed population is actually protected
- The availability of release notes describing the fix
- The completion of the corrected binary's local build
Answer: Whether the affected installed population is actually protected
Availability of a fix does not establish adoption or mitigation on existing installations. Verify the affected cohort and the protection actually applied; dormant or unupdated clients may remain exposed.
92.A support build enables a verbose network logger. The same configuration is accidentally included in the signed production package. What release gate addresses this class of error?
Show answer and explanation
- Check only that the package has a valid release signature.
- Check only that debug logging is disabled in the source default.
- Inspect only the developer preview's logger settings and assume signing converts all support flags to safe production values.
- Inspect the distributed build's effective diagnostic configuration.
Answer: Inspect the distributed build's effective diagnostic configuration.
Signing establishes package provenance under its signing policy, not that every configuration choice is safe. Verify effective production behavior and build inputs in the actual artifact.
93.A dependency inventory lists JavaScript packages but omits native binaries bundled by an SDK. A vulnerability review relies on that inventory. What scope is missing?
Show answer and explanation
- The delivered native components and their versions
- Only the release notes' dependency section heading
- Only the number of source files in the app
- Only top-level JavaScript packages, treating bundled native binaries as already covered by their parent's package name
Answer: The delivered native components and their versions
The delivered software surface can include transitive and native components outside the JavaScript list. Review needs an inventory that covers the components actually shipped.
94.A dependency manifest requests a patched minimum version, but an old packaged SDK remains embedded in the distributed binary. What evidence should decide whether the release contains the fix?
Show answer and explanation
- The date the manifest line was edited
- The version and contents actually resolved and packaged
- The existence of a patch announcement
- The minimum requested version, even if the artifact still contains a separately bundled older copy of the SDK
Answer: The version and contents actually resolved and packaged
A declaration of intent does not prove artifact contents. Check resolved inputs and the shipped component against the applicable fix, including bundled copies the manifest may not control.
95.A new client sends a security-policy revision number, but the server grants a capability based only on the marketing version. Two builds with that version implement different policy revisions. What must the compatibility decision distinguish?
Show answer and explanation
- Only the marketing version, treating builds that share that label as proof of identical safeguard behavior
- Only the client's chosen theme
- Only the date printed in the release notes
- The relevant implemented capability or policy contract
Answer: The relevant implemented capability or policy contract
A marketing label can group builds with different behavior. Compatibility and authorization must use the actual contract and suitable evidence, rather than assuming that label proves a safeguard.
96.A released client queues malformed requests that a repaired server must reject. Reverting the server does not remove those requests from installed devices. What must recovery account for?
Show answer and explanation
- Already-installed clients and their persisted queued payloads
- Only the server image, assuming a server rollback rewinds request queues stored on devices that remain offline
- Only requests created after the server rollback
- Only devices installing the next release from scratch
Answer: Already-installed clients and their persisted queued payloads
Client state can outlive a server deployment. Define safe rejection, repair, migration, or user recovery for persisted requests instead of assuming rollback removed them.
97.A diagnostic tool hides credentials in its main text view, but its downloaded raw archive includes the unfiltered events. What must the review treat as a disclosure surface?
Show answer and explanation
- The raw export as well as the displayed view
- Only data manually copied from the main view
- Only the support screen, because its redaction proves that all downloadable underlying events are also sanitized
- Only the archive's filename
Answer: The raw export as well as the displayed view
Redaction of a presentation does not sanitize its underlying export. Review every supported output that can carry the protected values.
98.A mobile package is correctly signed, yet its response parser trusts a server-supplied file path to choose any local export source. What does the package signature fail to prove?
Show answer and explanation
- That runtime input handling respects the intended resource boundary
- That the package was signed under its signing process
- That signing evidence can be part of artifact provenance
- That package-integrity evidence can identify the installed bytes without establishing how those bytes validate input
Answer: That runtime input handling respects the intended resource boundary
A genuine binary can still contain an input-validation flaw. Package provenance does not establish the safety of every operation the code performs on untrusted runtime data.
99.Optional analytics choices are account-specific. After switching from A, who opted in, to B, who opted out, the collector keeps A's cached choice. Which state must its decision use?
Show answer and explanation
- The applicable choice for B's current account context
- The installation's original choice regardless of account scope
- The most permissive choice ever recorded on that device
- The choice belonging to the last account that uploaded events
Answer: The applicable choice for B's current account context
The supplied policy scopes the choice to the account. Cached eligibility from another account must not authorize collection after the principal changes.
100.A release test constructs its expected recipient allowlist by calling the same buggy parser used by production. Both accept an unintended host, and the test passes. What evidence would strengthen the test?
Show answer and explanation
- More repetitions using the same parser to generate both accepted inputs and expected acceptance results
- An independently specified expected boundary with adversarial host cases
- A second assertion comparing the parser's output to itself
- A screenshot showing that the test runner is green
Answer: An independently specified expected boundary with adversarial host cases
An oracle sharing the same mistake can confirm consistent behavior without confirming correctness. Independent expected outcomes and relevant negative cases test the intended boundary.
101.A privacy fix passes on a fresh install with no saved settings. The defect involved an opt-out followed by offline capture, upgrade, and delayed retry. What is required to verify that fix's claim?
Show answer and explanation
- Exercise the affected lifecycle and inspect capture and disclosure across it.
- Repeat the clean-install test with a longer timeout while leaving old preferences and delayed jobs out of its setup.
- Confirm only that the opt-out switch is visually off after launch.
- Check only that the newest binary opens its home screen.
Answer: Exercise the affected lifecycle and inspect capture and disclosure across it.
The relevant state transitions and delayed work can reintroduce capture or disclosure. Verification must cover that lifecycle and the protected side effects, not only a clean initial state.