




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Also administered by Esri, this exam tests knowledge in building custom web mapping applications using the ArcGIS API for JavaScript. Key areas include application structure, layer integration, geospatial analysis, widget usage, map services, REST API, and event handling. It targets developers and GIS programmers creating interactive web GIS interfaces.
Typology: Exams
1 / 104
This page cannot be seen from the preview
Don't miss anything!





























































































Question 1. What is the primary purpose of the ArcGIS API for JavaScript? A) To develop desktop GIS applications B) To create interactive web mapping applications C) To perform advanced spatial analysis only D) To replace ArcGIS Pro Answer: B Explanation: The ArcGIS API for JavaScript is designed primarily for building interactive, browser-based web mapping applications, enabling users to visualize, analyze, and interact with spatial data seamlessly on the web. Question 2. Which architectural component is responsible for rendering 2D maps in the API? A) SceneView B) Map C) MapView D) SceneLayer Answer: C Explanation: MapView is the component used for rendering 2D maps, providing the visualization and interaction capabilities for 2D GIS applications. Question 3. How does SceneView differ from MapView? A) SceneView is for 3D scenes; MapView is for 2D maps
B) SceneView supports only vector data; MapView supports raster data C) SceneView is deprecated; MapView is current D) SceneView is used for mobile apps; MapView is for desktop apps Answer: A Explanation: SceneView is designed for 3D visualization (scenes), enabling 3D interactions and rendering, whereas MapView is used for 2D map visualization. Question 4. Which module system pattern does the ArcGIS API for JavaScript predominantly use? A) CommonJS B) AMD (Asynchronous Module Definition) C) RequireJS only D) UMD (Universal Module Definition) Answer: B Explanation: The ArcGIS API for JavaScript primarily uses AMD pattern for modular development, allowing asynchronous loading of modules, which improves performance and manageability. Question 5. Why is async/await important in ArcGIS API applications? A) To simplify handling of asynchronous operations like data fetching B) To replace event listeners C) To improve rendering speed
Answer: A Explanation: A
Question 10. How can you handle the event when a MapView becomes stationary after a pan or zoom? A) Use the 'viewpoint-change' event B) Use the 'stationary' event C) Use the 'update-end' event D) Use the 'view-ready' event Answer: B Explanation: The 'stationary' event fires when the view stops moving, making it useful for actions that depend on the user's final view position. Question 11. What is a FeatureLayer primarily used for? A) Displaying static images B) Visualizing and managing vector features from feature services C) Displaying raster imagery only D) Managing tile caches Answer: B Explanation: FeatureLayer connects to feature services to visualize and edit vector features such as points, lines, and polygons. Question 12. Which renderer type is appropriate for visualizing features with different categories?
D) By changing the map's extent Answer: A Explanation: The 'popupTemplate' property defines how attribute information and media are displayed when features are clicked. Question 15. Which Layer type is best suited for displaying cached map tiles? A) FeatureLayer B) TileLayer C) GraphicsLayer D) SceneLayer Answer: B Explanation: TileLayer displays pre-rendered tiles, providing fast map rendering for basemaps and tiled data. Question 16. How does a WebTileLayer differ from a TileLayer? A) WebTileLayer allows custom tile services from URLs B) WebTileLayer is only for imagery C) WebTileLayer supports vector tiles D) WebTileLayer is deprecated Answer: A Explanation: WebTileLayer allows you to specify a custom URL template for tile services, often from third-party or custom sources.
Question 17. Which layer type is used for dynamic map services that generate images on the server side? A) FeatureLayer B) MapImageLayer C) GraphicsLayer D) VectorTileLayer Answer: B Explanation: MapImageLayer connects to dynamic map services, rendering images on the server based on requests. Question 18. What is a GraphicsLayer primarily used for? A) Displaying server-side data B) Adding and managing client-side graphics C) Caching tiles D) Loading external datasets Answer: B Explanation: GraphicsLayer manages graphics created and manipulated directly within the client, useful for dynamic, interactive features. Question 19. Which symbol type is used to represent point graphics with custom images?
D) FeatureLayer Answer: D Explanation: FeatureLayer is a core layer type for displaying vector features from feature services. Question 22. How is attribute data queried from a feature layer? A) Using the Query class and query() method B) By editing the layer C) Using the MapView's getFeatures method D) By inspecting the layer's source code Answer: A Explanation: The Query class specifies query parameters, and the feature layer's query() method executes the query against the service. Question 23. Which spatial query method can be used to find features that intersect a given geometry? A) contains() B) intersects() C) within() D) equals() Answer: B
Explanation: The intersects() method retrieves features that overlap or cross with the specified geometry. Question 24. How can you filter features on the client side without modifying the service? A) Using definitionExpression property B) Using the filter() method of the layer C) Applying a where clause D) Setting the visible property Answer: B Explanation: The filter() method allows for client-side filtering of features displayed without affecting the underlying data source. Question 25. What is the purpose of the ArcGIS API's Symbology? A) To define how features are visually represented B) To manage user permissions C) To perform spatial analysis D) To load map tiles Answer: A Explanation: Symbology determines the visual appearance of features, including symbols, colors, and styles, for effective data visualization.
C) By changing the basemap D) By modifying the renderer Answer: A Explanation: 'labelExpression' defines the text content of labels, often using Arcade expressions for dynamic labeling. Question 29. Which widget is used for providing a list of layers with toggle visibility options? A) LayerList B) Legend C) BasemapGallery D) Search Answer: A Explanation: LayerList widget displays all operational layers with checkboxes to toggle their visibility. Question 30. How can you customize the appearance of built-in widgets? A) By editing the API source code B) By applying CSS styles to widget containers C) By creating new widgets from scratch D) By changing the map's basemap Answer: B
Explanation: CSS allows customization of widget appearance, enabling styling adjustments to match application design. Question 31. Which widget provides a quick way to find a location by address or place name? A) Search B) Locator C) Find D) Geocoder Answer: A Explanation: The Search widget enables users to perform geocoding searches for locations or addresses directly within the application. Question 32. What is the primary purpose of the Home widget? A) To reset the view to a pre-defined extent B) To zoom to the initial view C) To navigate to the user's current location D) To open a help menu Answer: B Explanation: The Home widget resets the view to its initial extent, providing a quick way to return to the default map view.
B) esri/core/Accessor C) esri/layers/Layer D) esri/views/MapView Answer: A Explanation: The Widget class provides a base for creating custom UI components with built-in support for property binding and lifecycle management. Question 36. What is a typical event to listen for when enabling feature selection? A) 'click' B) 'pointer-move' C) 'viewpoint-change' D) 'extent-change' Answer: A Explanation: Listening for 'click' events allows users to select features interactively on the map. Question 37. Which class manages user authentication for secured services? A) IdentityManager B) UserAuth C) Authenticator D) CredentialManager
Answer: A Explanation: IdentityManager handles user credentials, OAuth, and token management for accessing secured resources. Question 38. How can you execute a route analysis between two points? A) Using the RouteTask and RouteParameters classes B) By querying the feature layer C) By drawing a line manually D) Using the Buffer operation Answer: A Explanation: RouteTask and RouteParameters facilitate network analysis to find optimal paths between locations. Question 39. Which ArcGIS REST service type is used for spatial analysis workflows? A) Map Service B) Geoprocessing Service C) Feature Service D) Image Service Answer: B Explanation: Geoprocessing services perform complex spatial analysis tasks such as buffering, overlay, and data processing.
A) It simplifies handling multiple concurrent operations B) It speeds up rendering C) It replaces event listeners D) It improves CSS styling Answer: A Explanation: Promises handle asynchronous operations efficiently, allowing code to manage multiple concurrent data requests without callback hell. Question 43. Which technique is recommended for optimizing map performance with large datasets? A) Lazy loading data B) Clustering features C) Simplifying geometries D) All of the above Answer: D Explanation: Combining lazy loading, clustering, and simplification reduces data load and rendering times, improving performance. Question 44. How can the API be integrated with popular JavaScript frameworks? A) By directly embedding API code within framework components B) Using React, Angular, or Vue lifecycle hooks C) Through custom wrappers or components
D) All of the above Answer: D Explanation: The API can be integrated into frameworks via embedding, lifecycle management, or custom wrappers for seamless development. Question 45. What is essential for deploying an ArcGIS JavaScript application securely? A) Using HTTPS B) Managing dependencies and updates C) Proper attribution for Esri data D) All of the above Answer: D Explanation: Secure deployment requires HTTPS, dependency management, and complying with attribution and licensing requirements. Question 46. Which property of Map class specifies the initial basemap? A) basemap B) mapStyle C) baseLayer D) initialBasemap Answer: A